diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-19 13:22:25 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-19 13:22:25 +0000 |
| commit | 64cb07e38b24c7efc1279997b0b5aa13a6d3184c (patch) | |
| tree | f8313777b52d55dddb9a4bb2acf3a49878b2342e /example/example_3_transferHandling | |
| parent | b9dd4f292c5f4fea69fd8c7bd8c8aad90d5e55b7 (diff) | |
| download | qxmpp-64cb07e38b24c7efc1279997b0b5aa13a6d3184c.tar.gz | |
prune some unused code
Diffstat (limited to 'example/example_3_transferHandling')
| -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 |
