aboutsummaryrefslogtreecommitdiff
path: root/example/example_4_ibbTransferTarget/ibbTransferTarget.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-02-24 10:37:10 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-02-24 10:37:10 +0000
commitc6015694703439c8913735a2300b4cad039bbebb (patch)
tree9efa890cb760c8b18ed6b2fab4bd12fda1122e52 /example/example_4_ibbTransferTarget/ibbTransferTarget.h
parent95d3dfef904b3a90b64c8b28f93b3f4c04701048 (diff)
downloadqxmpp-c6015694703439c8913735a2300b4cad039bbebb.tar.gz
update ibbTransferTarget example to use QXmppTransferManager
Diffstat (limited to 'example/example_4_ibbTransferTarget/ibbTransferTarget.h')
-rw-r--r--example/example_4_ibbTransferTarget/ibbTransferTarget.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/example/example_4_ibbTransferTarget/ibbTransferTarget.h b/example/example_4_ibbTransferTarget/ibbTransferTarget.h
index fb2cb308..6e6450b2 100644
--- a/example/example_4_ibbTransferTarget/ibbTransferTarget.h
+++ b/example/example_4_ibbTransferTarget/ibbTransferTarget.h
@@ -26,6 +26,7 @@
#define IBBTRANSFERTARGET_H
#include "QXmppClient.h"
+#include "QXmppTransferManager.h"
class QBuffer;
class IbbTransferTarget : public QXmppClient
@@ -37,8 +38,10 @@ public:
~IbbTransferTarget();
public slots:
- void openReceived( const QString&, const QString& );
- void closeReceived( const QString&, const QString& );
+ void slotError(QXmppTransferJob::Error error);
+ void slotFileReceived(QXmppTransferJob *job);
+ void slotFinished();
+ void slotProgress(qint64 done, qint64 total);
private:
QBuffer *m_buffer;
};