aboutsummaryrefslogtreecommitdiff
path: root/example/example_4_ibbTransferTarget/ibbTransferTarget.h
diff options
context:
space:
mode:
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;
};