diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2011-06-05 12:31:23 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2011-06-05 12:31:23 +0000 |
| commit | e84651a323919f50d6e4a04b2a6b9e13bce1b8d0 (patch) | |
| tree | 0b8f981f4c8bcd5163f0be132298f89673db79bd /src/QXmppClient.h | |
| parent | c79ca4de22443c6d786b96e5fd33bd03e19c4900 (diff) | |
| download | qxmpp-e84651a323919f50d6e4a04b2a6b9e13bce1b8d0.tar.gz | |
remove deprecated methods from QXmppClient
Diffstat (limited to 'src/QXmppClient.h')
| -rw-r--r-- | src/QXmppClient.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/QXmppClient.h b/src/QXmppClient.h index ced85957..d5d634df 100644 --- a/src/QXmppClient.h +++ b/src/QXmppClient.h @@ -149,43 +149,6 @@ public: QXmppReconnectionManager* reconnectionManager(); bool setReconnectionManager(QXmppReconnectionManager*); - /// \cond - // FIXME: these methods are deprecated, their API is just too hard to read. - // If you need this level of customisation, work directly with QXmppConfiguration. - void Q_DECL_DEPRECATED connectToServer(const QString& host, - const QString& user, - const QString& password, - const QString& domain, - int port = 5222, - const QXmppPresence& initialPresence = - QXmppPresence()); - void Q_DECL_DEPRECATED connectToServer(const QString& host, - const QString& bareJid, - const QString& password, - int port = 5222, - const QXmppPresence& initialPresence = - QXmppPresence()); - - // deprecated in release 0.2.0 - // deprecated accessors, use the form without "get" instead - const QXmppPresence Q_DECL_DEPRECATED & getClientPresence() const; - QXmppConfiguration Q_DECL_DEPRECATED & getConfiguration(); - const QXmppConfiguration Q_DECL_DEPRECATED & getConfiguration() const; - QXmppReconnectionManager Q_DECL_DEPRECATED * getReconnectionManager(); - QXmppRosterManager Q_DECL_DEPRECATED & getRoster(); - QXmppVCardManager Q_DECL_DEPRECATED & getVCardManager(); - QAbstractSocket::SocketError Q_DECL_DEPRECATED getSocketError(); - QXmppStanza::Error::Condition Q_DECL_DEPRECATED getXmppStreamError(); - - /// was clashing with QObject::disconnect use disconnectFromServer() instead - void Q_DECL_DEPRECATED disconnect(); - - // deprecated methods, use setClientPresence(QXmppPresence) instead. - void Q_DECL_DEPRECATED setClientPresence(const QString& statusText); - void Q_DECL_DEPRECATED setClientPresence(QXmppPresence::Type presenceType); - void Q_DECL_DEPRECATED setClientPresence(QXmppPresence::Status::Type statusType); - /// \endcond - signals: /// This signal is emitted when the client connects successfully to the XMPP |
