From f55b26080c85ea0432a468aa793886d019e1e8c2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 6 Apr 2012 15:24:11 +0000 Subject: The Qt API now supports cloning. --- c++-qt/src/float.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'c++-qt/src/float.cpp') diff --git a/c++-qt/src/float.cpp b/c++-qt/src/float.cpp index a82edec..fedecf3 100644 --- a/c++-qt/src/float.cpp +++ b/c++-qt/src/float.cpp @@ -17,6 +17,11 @@ Gats::Float::~Float() { } +Gats::Object *Gats::Float::clone() const +{ + return new Gats::Float( fVal ); +} + void Gats::Float::write( QIODevice &rOut ) const { if( fVal == 0.0 ) -- cgit v1.2.3