summaryrefslogtreecommitdiff
path: root/server/testthing.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-12-25 09:00:59 +0100
committerTreeki <treeki@gmail.com>2013-12-25 09:00:59 +0100
commitb7a8b597b00eedde277836eb8530ba742edcad5d (patch)
tree1b959fa0eec02ff4e22e168aa4379b2b64575ce3 /server/testthing.cpp
downloadbounce_qt-b7a8b597b00eedde277836eb8530ba742edcad5d.tar.gz
bounce_qt-b7a8b597b00eedde277836eb8530ba742edcad5d.zip
commit initial bitsHEADmaster
Diffstat (limited to 'server/testthing.cpp')
-rw-r--r--server/testthing.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/server/testthing.cpp b/server/testthing.cpp
new file mode 100644
index 0000000..0c0d5e9
--- /dev/null
+++ b/server/testthing.cpp
@@ -0,0 +1,13 @@
+#include "testthing.h"
+#include <QTcpServer>
+#include "client.h"
+
+TestThing::TestThing(QObject *parent) : QObject(parent) {
+ c = new Client(this);
+}
+
+void TestThing::testMe() {
+ c->connectToHost("localhost", 6744);
+}
+
+