diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-06-22 20:58:33 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-06-22 20:58:33 +0000 |
commit | 615d2ec911dd3eb2b5ed0290038bdb5e6fa0eab2 (patch) | |
tree | c89eb360c32f78cc3e3d64a00397253cf3195aad /c++-qt/src/gatsstream.h | |
parent | 584fc54f0e603d518970d7655c5072997ee24da1 (diff) | |
download | libgats-615d2ec911dd3eb2b5ed0290038bdb5e6fa0eab2.tar.gz libgats-615d2ec911dd3eb2b5ed0290038bdb5e6fa0eab2.tar.bz2 libgats-615d2ec911dd3eb2b5ed0290038bdb5e6fa0eab2.tar.xz libgats-615d2ec911dd3eb2b5ed0290038bdb5e6fa0eab2.zip |
Added super handy readAllObjects slot.
Diffstat (limited to '')
-rw-r--r-- | c++-qt/src/gatsstream.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/c++-qt/src/gatsstream.h b/c++-qt/src/gatsstream.h index f1c0625..90e0514 100644 --- a/c++-qt/src/gatsstream.h +++ b/c++-qt/src/gatsstream.h | |||
@@ -32,6 +32,14 @@ namespace Gats | |||
32 | * non-null then hasReadBuffer should return false on it's next call. | 32 | * non-null then hasReadBuffer should return false on it's next call. |
33 | */ | 33 | */ |
34 | Gats::Object *readObject(); | 34 | Gats::Object *readObject(); |
35 | |||
36 | /** | ||
37 | * Works exactly like readObject, except it reads all pending objects | ||
38 | * and emits a objectRead signal for each one read. It doesn't return | ||
39 | * anything. This is perfect for connecting to a QIODevice's readRead | ||
40 | * signal. | ||
41 | */ | ||
42 | void readAllObjects(); | ||
35 | 43 | ||
36 | public: | 44 | public: |
37 | /** | 45 | /** |