diff options
author | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-04-10 15:41:47 +0200 |
---|---|---|
committer | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-04-10 15:42:22 +0200 |
commit | 90297a64f203959f90041887ea31f4bd04bc059a (patch) | |
tree | 86f8ad6a5af26fd618cdb2e20601e6df89ac94d6 /examples/network/torrent/peerwireclient.h | |
parent | 537a4bc4011d32de193dc31caf09a44c1810ab33 (diff) | |
parent | f273d6fbc02055ff3999adc0df76360ca0670435 (diff) |
Merge branch 'stable' into dev
Change-Id: Icff019d74ae04c628a80f66aa478e4db40fae464
Diffstat (limited to 'examples/network/torrent/peerwireclient.h')
-rw-r--r-- | examples/network/torrent/peerwireclient.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/network/torrent/peerwireclient.h b/examples/network/torrent/peerwireclient.h index 7cd08d90cb..35e4cc6ffb 100644 --- a/examples/network/torrent/peerwireclient.h +++ b/examples/network/torrent/peerwireclient.h @@ -118,6 +118,10 @@ public: void setReadBufferSize(qint64 size); + void connectToHost(const QHostAddress &address, + quint16 port, OpenMode openMode = ReadWrite); + void diconnectFromHost(); + signals: void infoHashReceived(const QByteArray &infoHash); void readyToTransfer(); @@ -133,11 +137,6 @@ signals: void bytesReceived(qint64 size); -protected slots: - void connectToHostImplementation(const QString &hostName, - quint16 port, OpenMode openMode = ReadWrite); - void diconnectFromHostImplementation(); - protected: void timerEvent(QTimerEvent *event); |