aboutsummaryrefslogtreecommitdiff
path: root/example/example_3_transferHandling
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-07-19 13:22:25 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-07-19 13:22:25 +0000
commit64cb07e38b24c7efc1279997b0b5aa13a6d3184c (patch)
treef8313777b52d55dddb9a4bb2acf3a49878b2342e /example/example_3_transferHandling
parentb9dd4f292c5f4fea69fd8c7bd8c8aad90d5e55b7 (diff)
downloadqxmpp-64cb07e38b24c7efc1279997b0b5aa13a6d3184c.tar.gz
prune some unused code
Diffstat (limited to 'example/example_3_transferHandling')
-rw-r--r--example/example_3_transferHandling/xmppClient.cpp11
-rw-r--r--example/example_3_transferHandling/xmppClient.h5
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