diff options
Diffstat (limited to 'example')
| -rw-r--r-- | example/example_3_transferHandling/xmppClient.cpp | 11 | ||||
| -rw-r--r-- | example/example_3_transferHandling/xmppClient.h | 5 |
2 files changed, 0 insertions, 16 deletions
diff --git a/example/example_3_transferHandling/xmppClient.cpp b/example/example_3_transferHandling/xmppClient.cpp index 12c5fed6..6bd18b78 100644 --- a/example/example_3_transferHandling/xmppClient.cpp +++ b/example/example_3_transferHandling/xmppClient.cpp @@ -45,17 +45,6 @@ xmppClient::xmppClient(QObject *parent) Q_ASSERT(check); } -/// Request that the given file be sent to the recipient once he/she is online. -/// -/// \param recipient -/// \param file - -void xmppClient::sendOnceAvailable(const QString &recipient, const QString &file) -{ - m_sendRecipient = recipient; - m_sendFile = file; -} - /// A file transfer failed. void xmppClient::slotError(QXmppTransferJob::Error error) diff --git a/example/example_3_transferHandling/xmppClient.h b/example/example_3_transferHandling/xmppClient.h index ce401e22..d794c24f 100644 --- a/example/example_3_transferHandling/xmppClient.h +++ b/example/example_3_transferHandling/xmppClient.h @@ -36,7 +36,6 @@ class xmppClient : public QXmppClient public: xmppClient(QObject *parent = 0); - void sendOnceAvailable(const QString &recipient, const QString &file); private slots: void slotError(QXmppTransferJob::Error error); @@ -44,10 +43,6 @@ private slots: void slotFinished(); void slotPresenceReceived(const QXmppPresence &presence); void slotProgress(qint64 done, qint64 total); - -private: - QString m_sendFile; - QString m_sendRecipient; }; #endif // IBBCLIENT_H |
