summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qtcpsocket.h
diff options
context:
space:
mode:
authorAlex Trotsenko <alex1973tr@gmail.com>2015-04-20 09:07:36 +0300
committerAlex Trotsenko <alex1973tr@gmail.com>2015-04-23 13:37:44 +0000
commit492e710bdb39a9c642e5d38000774bb06bfe38ca (patch)
treea9498750d3ee2189d1ec57f7fb9942b2a32fa976 /src/network/socket/qtcpsocket.h
parenta40379de1a631363bd871dab1d4897b041062df5 (diff)
QTcpSocket: add an internal c'tor
This allows further QTcpSocket inheritance in library. Using of this c'tor is applicable to different socket types that makes them consistent with existing TCP socket API. Change-Id: Iafa25c365b88f52d8a3e816a296ee888ceaeb16b Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/network/socket/qtcpsocket.h')
-rw-r--r--src/network/socket/qtcpsocket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/socket/qtcpsocket.h b/src/network/socket/qtcpsocket.h
index 3449beeceb..bf5370c976 100644
--- a/src/network/socket/qtcpsocket.h
+++ b/src/network/socket/qtcpsocket.h
@@ -51,6 +51,8 @@ public:
protected:
QTcpSocket(QTcpSocketPrivate &dd, QObject *parent = 0);
+ QTcpSocket(QAbstractSocket::SocketType socketType, QTcpSocketPrivate &dd,
+ QObject *parent = 0);
private:
Q_DISABLE_COPY(QTcpSocket)