aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/src/integer.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-04-06 15:24:11 +0000
committerMike Buland <eichlan@xagasoft.com>2012-04-06 15:24:11 +0000
commitf55b26080c85ea0432a468aa793886d019e1e8c2 (patch)
treeeb49ba8244536f5394fe18bae68e07303c6e3d18 /c++-qt/src/integer.cpp
parent52bac339b6267aa9aaa3e2e0d02c2a62e47f83e4 (diff)
downloadlibgats-f55b26080c85ea0432a468aa793886d019e1e8c2.tar.gz
libgats-f55b26080c85ea0432a468aa793886d019e1e8c2.tar.bz2
libgats-f55b26080c85ea0432a468aa793886d019e1e8c2.tar.xz
libgats-f55b26080c85ea0432a468aa793886d019e1e8c2.zip
The Qt API now supports cloning.
Diffstat (limited to '')
-rw-r--r--c++-qt/src/integer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/c++-qt/src/integer.cpp b/c++-qt/src/integer.cpp
index bb6da80..82727f3 100644
--- a/c++-qt/src/integer.cpp
+++ b/c++-qt/src/integer.cpp
@@ -14,6 +14,11 @@ Gats::Integer::~Integer()
14{ 14{
15} 15}
16 16
17Gats::Object *Gats::Integer::clone() const
18{
19 return new Gats::Integer( iVal );
20}
21
17void Gats::Integer::write( QIODevice &rOut ) const 22void Gats::Integer::write( QIODevice &rOut ) const
18{ 23{
19 rOut.write("i", 1 ); 24 rOut.write("i", 1 );