From 64cb07e38b24c7efc1279997b0b5aa13a6d3184c Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Mon, 19 Jul 2010 13:22:25 +0000 Subject: prune some unused code --- example/example_3_transferHandling/xmppClient.cpp | 11 ----------- example/example_3_transferHandling/xmppClient.h | 5 ----- 2 files changed, 16 deletions(-) (limited to 'example/example_3_transferHandling') 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 -- cgit v1.2.3