summaryrefslogtreecommitdiff
path: root/client/netcom.h
diff options
context:
space:
mode:
authordeva <deva>2008-09-19 12:07:48 +0000
committerdeva <deva>2008-09-19 12:07:48 +0000
commit3541224f0fb3d5b7b531eef45318d7e41cb51915 (patch)
tree450e6fc9d3ae57f7db7a79cfa87386e0b7b09c92 /client/netcom.h
parenteff75e9193b0e1d9175f49e003977d524c6a2d36 (diff)
First working version of the collapser-pracro view.
Diffstat (limited to 'client/netcom.h')
-rw-r--r--client/netcom.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/client/netcom.h b/client/netcom.h
index 33a57f4..8f8b007 100644
--- a/client/netcom.h
+++ b/client/netcom.h
@@ -32,7 +32,8 @@
#include <QTcpSocket>
#include <QDomDocument>
-#include "widgets/widget.h"
+//#include "widgets/widget.h"
+class Widget;
class NetCom : public QObject {
Q_OBJECT
@@ -40,8 +41,8 @@ public:
NetCom(QString host, quint16 port, QString user, QString cpr);
~NetCom();
- QDomDocument send(QString course, QString macro);
- void send(QVector< Widget* > widgets, QString macro, QString version);
+ QDomDocument send(QString course, QString macro = "");
+ void send(QVector< Widget* > widgets, QString course, QString macro, QString version);
public slots:
void readyRead();
@@ -56,8 +57,4 @@ private:
QString cpr;
};
-namespace Global {
- extern NetCom *netcom;
-};
-
#endif/*__PRACRO_NETCOM_H__*/