1.1 --- a/mapeditor.h Wed Jun 20 11:58:47 2007 +0000
1.2 +++ b/mapeditor.h Thu Jun 21 14:27:46 2007 +0000
1.3 @@ -2,6 +2,7 @@
1.4 #define MAPEDITOR_H
1.5
1.6 #include <QGraphicsView>
1.7 +#include <QtNetwork>
1.8
1.9 #include "mapcenterobj.h"
1.10 #include "file.h"
1.11 @@ -308,7 +309,8 @@
1.12 void importDir();
1.13 void followXLink (int);
1.14 void editXLink (int);
1.15 - void testFunction(); // just testing new stuff
1.16 + void testFunction1(); // just testing new stuff
1.17 + void testFunction2(); // just testing new stuff
1.18 // set /mainwindo/showTestMenu=true...
1.19
1.20 protected:
1.21 @@ -330,6 +332,7 @@
1.22
1.23 private slots:
1.24 void autosave ();
1.25 + void newClient();
1.26
1.27 private:
1.28 State state; // State of MapEditor
1.29 @@ -399,6 +402,9 @@
1.30 QPoint exportOffset; // set before export, used in save
1.31 BranchObj::HideTmpMode hidemode; // true while exporting to hide some stuff
1.32
1.33 + QTcpServer *tcpServer; // Act as server in conference mode (experimental)
1.34 + QList <QTcpSocket*> clientList;
1.35 +
1.36 int timerId; // animation timer
1.37 QList <MapObj*> animObjList;// list with animated objects
1.38 };