aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/src/boolean.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/boolean.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 'c++-qt/src/boolean.cpp')
-rw-r--r--c++-qt/src/boolean.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/c++-qt/src/boolean.cpp b/c++-qt/src/boolean.cpp
index 9610f50..3973607 100644
--- a/c++-qt/src/boolean.cpp
+++ b/c++-qt/src/boolean.cpp
@@ -16,6 +16,11 @@ Gats::Boolean::~Boolean()
16{ 16{
17} 17}
18 18
19Gats::Object *Gats::Boolean::clone() const
20{
21 return new Gats::Boolean( bVal );
22}
23
19void Gats::Boolean::write( QIODevice &rOut ) const 24void Gats::Boolean::write( QIODevice &rOut ) const
20{ 25{
21 if( bVal ) 26 if( bVal )