aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/src/boolean.h
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.h
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/boolean.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/c++-qt/src/boolean.h b/c++-qt/src/boolean.h
index 4eec690..d707e4d 100644
--- a/c++-qt/src/boolean.h
+++ b/c++-qt/src/boolean.h
@@ -15,6 +15,8 @@ namespace Gats
15 Boolean( bool bVal ); 15 Boolean( bool bVal );
16 virtual ~Boolean(); 16 virtual ~Boolean();
17 17
18 virtual Object *clone() const;
19
18 virtual Type getType() const { return typeBoolean; } 20 virtual Type getType() const { return typeBoolean; }
19 bool getValue() const { return bVal; } 21 bool getValue() const { return bVal; }
20 void setValue( bool b ) { bVal = b; } 22 void setValue( bool b ) { bVal = b; }