summaryrefslogtreecommitdiffstats
path: root/examples/network/fortuneclient/client.h
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2020-02-14 16:35:01 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2020-02-19 13:28:00 +0100
commit3742c67041b47adefa0d293e45d543f31ab15da7 (patch)
tree6886354e708c0e7969776eda52908afde982103d /examples/network/fortuneclient/client.h
parent22c585f0f9d694bd5c1d8f8afb23b4a66681acd9 (diff)
Remove bearer management from remaining network examples
Because bearer management is going away Change-Id: I60439c1714e0350b0f2bbef6afc8d2015886135f Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
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]