aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppArchiveManager.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-23 05:40:15 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-23 05:40:15 +0000
commit80e0607c97aef44e88f8e5af281132668114534f (patch)
tree71594029b2bd5bf28dfe489dc1249d6c72b378be /src/QXmppArchiveManager.h
parent85a3546164c0816a4b94d6fdb45ca64b1547f541 (diff)
downloadqxmpp-80e0607c97aef44e88f8e5af281132668114534f.tar.gz
* make QXmppStream an abstract class
* move client-specific code to QXmppOutgoingClient
Diffstat (limited to 'src/QXmppArchiveManager.h')
-rw-r--r--src/QXmppArchiveManager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/QXmppArchiveManager.h b/src/QXmppArchiveManager.h
index 631bad4c..0fba89c8 100644
--- a/src/QXmppArchiveManager.h
+++ b/src/QXmppArchiveManager.h
@@ -31,7 +31,7 @@ class QXmppArchiveChat;
class QXmppArchiveChatIq;
class QXmppArchiveListIq;
class QXmppArchivePrefIq;
-class QXmppStream;
+class QXmppOutgoingClient;
/// \brief The QXmppArchiveManager class makes it possible to access message
/// archives as defined by XEP-0136: Message Archiving.
@@ -46,7 +46,7 @@ class QXmppArchiveManager : public QObject
Q_OBJECT
public:
- QXmppArchiveManager(QXmppStream* stream, QObject *parent = 0);
+ QXmppArchiveManager(QXmppOutgoingClient* stream, QObject *parent = 0);
void listCollections(const QString &jid, const QDateTime &start = QDateTime(), const QDateTime &end = QDateTime(), int max = 0);
void retrieveCollection(const QString &jid, const QDateTime &start, int max = 0);
@@ -66,7 +66,7 @@ private slots:
private:
// reference to xmpp stream (no ownership)
- QXmppStream* m_stream;
+ QXmppOutgoingClient* m_stream;
};
#endif