summaryrefslogtreecommitdiff
path: root/client/netcom.h
diff options
context:
space:
mode:
authordeva <deva>2008-09-23 09:37:51 +0000
committerdeva <deva>2008-09-23 09:37:51 +0000
commit78f095bd8649f8c67aeed3ceee8f693cb1c4d656 (patch)
tree855eddb464183d0daf7986bf3eec95abb9f436c1 /client/netcom.h
parentefb0b27f5bc659a49e330fb7970a9b1b6ae0f398 (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.h3
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;