diff options
author | deva <deva> | 2008-09-23 09:37:51 +0000 |
---|---|---|
committer | deva <deva> | 2008-09-23 09:37:51 +0000 |
commit | 78f095bd8649f8c67aeed3ceee8f693cb1c4d656 (patch) | |
tree | 855eddb464183d0daf7986bf3eec95abb9f436c1 /client/netcom.h | |
parent | efb0b27f5bc659a49e330fb7970a9b1b6ae0f398 (diff) |
Cleaned up the network code a bit. Now the window is locked while communication s going on to prevent network clutching.
Diffstat (limited to 'client/netcom.h')
-rw-r--r-- | client/netcom.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/netcom.h b/client/netcom.h index 8f8b007..81fb147 100644 --- a/client/netcom.h +++ b/client/netcom.h @@ -42,12 +42,13 @@ public: ~NetCom(); QDomDocument send(QString course, QString macro = ""); - void send(QVector< Widget* > widgets, QString course, QString macro, QString version); + void send(QVector< Widget* > widgets, QString macro, QString version); public slots: void readyRead(); private: + volatile bool transmitting; QTcpSocket socket; QByteArray buffer; |