summaryrefslogtreecommitdiffstats
path: root/examples/network/fortuneclient/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/fortuneclient/client.h')
-rw-r--r--examples/network/fortuneclient/client.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/network/fortuneclient/client.h b/examples/network/fortuneclient/client.h
index ac335acb83..80177bacbf 100644
--- a/examples/network/fortuneclient/client.h
+++ b/examples/network/fortuneclient/client.h
@@ -61,7 +61,6 @@ class QLabel;
class QLineEdit;
class QPushButton;
class QTcpSocket;
-class QNetworkSession;
QT_END_NAMESPACE
//! [0]
@@ -77,7 +76,6 @@ private slots:
void readFortune();
void displayError(QAbstractSocket::SocketError socketError);
void enableGetFortuneButton();
- void sessionOpened();
private:
QComboBox *hostCombo = nullptr;
@@ -88,8 +86,6 @@ private:
QTcpSocket *tcpSocket = nullptr;
QDataStream in;
QString currentFortune;
-
- QNetworkSession *networkSession = nullptr;
};
//! [0]