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/integer.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 'c++-qt/gats-qt/integer.h')
-rw-r--r-- | c++-qt/gats-qt/integer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c++-qt/gats-qt/integer.h b/c++-qt/gats-qt/integer.h index 9638d77..3427682 100644 --- a/c++-qt/gats-qt/integer.h +++ b/c++-qt/gats-qt/integer.h | |||
@@ -28,6 +28,7 @@ namespace Gats | |||
28 | 28 | ||
29 | virtual Type getType() const { return typeInteger; } | 29 | virtual Type getType() const { return typeInteger; } |
30 | int64_t getValue() const { return iVal; } | 30 | int64_t getValue() const { return iVal; } |
31 | int64_t value() const { return iVal; } | ||
31 | void setValue( int64_t iNewVal ) { iVal = iNewVal; } | 32 | void setValue( int64_t iNewVal ) { iVal = iNewVal; } |
32 | 33 | ||
33 | virtual void write( QIODevice &rOut ) const; | 34 | virtual void write( QIODevice &rOut ) const; |