diff options
author | Mike Buland <mbuland@penny-arcade.com> | 2020-07-27 11:23:11 -0700 |
---|---|---|
committer | Mike Buland <mbuland@penny-arcade.com> | 2020-07-27 11:23:11 -0700 |
commit | 701b05de4d2e79afd88ef8ddf93ba0fcc0eb5b14 (patch) | |
tree | 0b8123426ec47c24f85d2f358b204f8f889e199c /c++-qt/gats-qt/boolean.h | |
parent | 78a6b37b5cef55dc6d0f7120ff2a1f914375fe70 (diff) | |
download | libgats-701b05de4d2e79afd88ef8ddf93ba0fcc0eb5b14.tar.gz libgats-701b05de4d2e79afd88ef8ddf93ba0fcc0eb5b14.tar.bz2 libgats-701b05de4d2e79afd88ef8ddf93ba0fcc0eb5b14.tar.xz libgats-701b05de4d2e79afd88ef8ddf93ba0fcc0eb5b14.zip |
Added Qt style compliant value getters.
Diffstat (limited to '')
-rw-r--r-- | c++-qt/gats-qt/boolean.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c++-qt/gats-qt/boolean.h b/c++-qt/gats-qt/boolean.h index 04a9cef..e6d10af 100644 --- a/c++-qt/gats-qt/boolean.h +++ b/c++-qt/gats-qt/boolean.h | |||
@@ -26,6 +26,7 @@ namespace Gats | |||
26 | 26 | ||
27 | virtual Type getType() const { return typeBoolean; } | 27 | virtual Type getType() const { return typeBoolean; } |
28 | bool getValue() const { return bVal; } | 28 | bool getValue() const { return bVal; } |
29 | bool value() const { return bVal; } | ||
29 | void setValue( bool b ) { bVal = b; } | 30 | void setValue( bool b ) { bVal = b; } |
30 | 31 | ||
31 | virtual void write( QIODevice &rOut ) const; | 32 | virtual void write( QIODevice &rOut ) const; |