summaryrefslogtreecommitdiffstats
path: root/examples/network/fortuneserver/server.h
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-07-19 04:07:06 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-07-19 04:07:06 (GMT)
commit406f7cb7f7dd4d6d80ffb99335600aa776cc71e2 (patch)
tree1e37a53a42c30b87825cbab257a49dce3c0122d2 /examples/network/fortuneserver/server.h
parentdc37f4ff3439e44df65d24aea4354c80d2a02293 (diff)
parent75db37022a9fd479e2a446b57e774eaf8e3e73ea (diff)
downloadQt-406f7cb7f7dd4d6d80ffb99335600aa776cc71e2.zip
Qt-406f7cb7f7dd4d6d80ffb99335600aa776cc71e2.tar.gz
Qt-406f7cb7f7dd4d6d80ffb99335600aa776cc71e2.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Convert examples and demos to use Bearer Management. Fixes deployment rules for embedded qml demos application. Fix build on Symbian.
Diffstat (limited to 'examples/network/fortuneserver/server.h')
-rw-r--r--examples/network/fortuneserver/server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/network/fortuneserver/server.h b/examples/network/fortuneserver/server.h
index 2d8d116..9d9ef62 100644
--- a/examples/network/fortuneserver/server.h
+++ b/examples/network/fortuneserver/server.h
@@ -47,6 +47,7 @@ QT_BEGIN_NAMESPACE
class QLabel;
class QPushButton;
class QTcpServer;
+class QNetworkSession;
QT_END_NAMESPACE
//! [0]
@@ -58,6 +59,7 @@ public:
Server(QWidget *parent = 0);
private slots:
+ void sessionOpened();
void sendFortune();
private:
@@ -65,6 +67,7 @@ private:
QPushButton *quitButton;
QTcpServer *tcpServer;
QStringList fortunes;
+ QNetworkSession *networkSession;
};
//! [0]