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/float.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/float.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c++-qt/gats-qt/float.h b/c++-qt/gats-qt/float.h index 9791b38..5a1ff4b 100644 --- a/c++-qt/gats-qt/float.h +++ b/c++-qt/gats-qt/float.h | |||
@@ -24,6 +24,7 @@ namespace Gats | |||
24 | 24 | ||
25 | virtual Type getType() const { return typeFloat; } | 25 | virtual Type getType() const { return typeFloat; } |
26 | double getValue() const { return fVal; } | 26 | double getValue() const { return fVal; } |
27 | double value() const { return fVal; } | ||
27 | 28 | ||
28 | virtual void write( QIODevice &rOut ) const; | 29 | virtual void write( QIODevice &rOut ) const; |
29 | virtual void read( QIODevice &rIn, char cType ); | 30 | virtual void read( QIODevice &rIn, char cType ); |