aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/tests/echo/mainwnd.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++-qt/tests/echo/mainwnd.h')
-rw-r--r--c++-qt/tests/echo/mainwnd.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/c++-qt/tests/echo/mainwnd.h b/c++-qt/tests/echo/mainwnd.h
index 0afbd6a..71c5c8e 100644
--- a/c++-qt/tests/echo/mainwnd.h
+++ b/c++-qt/tests/echo/mainwnd.h
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libgats library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1 8
2#include <QTcpServer> 9#include <QTcpServer>
3#include <QTcpSocket> 10#include <QTcpSocket>
@@ -8,16 +15,16 @@
8 15
9class MainWnd : public QMainWindow 16class MainWnd : public QMainWindow
10{ 17{
11 Q_OBJECT; 18 Q_OBJECT;
12public: 19public:
13 QTcpServer *pSrv; 20 QTcpServer *pSrv;
14 21
15 MainWnd(); 22 MainWnd();
16 virtual ~MainWnd(); 23 virtual ~MainWnd();
17 24
18public slots: 25public slots:
19 void newConnection(); 26 void newConnection();
20 void objectRead( Gats::Object *pObj ); 27 void objectRead( Gats::Object *pObj );
21 28
22signals: 29signals:
23}; 30};