summaryrefslogtreecommitdiffstats
path: root/examples/network/torrent/peerwireclient.h
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-04-10 15:41:47 +0200
committerSergio Ahumada <sergio.ahumada@digia.com>2013-04-10 15:42:22 +0200
commit90297a64f203959f90041887ea31f4bd04bc059a (patch)
tree86f8ad6a5af26fd618cdb2e20601e6df89ac94d6 /examples/network/torrent/peerwireclient.h
parent537a4bc4011d32de193dc31caf09a44c1810ab33 (diff)
parentf273d6fbc02055ff3999adc0df76360ca0670435 (diff)
Merge branch 'stable' into dev
Diffstat (limited to 'examples/network/torrent/peerwireclient.h')
-rw-r--r--examples/network/torrent/peerwireclient.h9
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);