diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-09-01 06:43:59 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-09-01 06:43:59 +0000 |
| commit | eab5e966ef4d3ec21863b67765851105ddb15763 (patch) | |
| tree | 50d1cc153e51c9aa6670b3d2955833ed0c550173 /src/QXmppConfiguration.h | |
| parent | cbcd948461fdbdd95ed40befdc55560ccd86fd9c (diff) | |
| download | qxmpp-eab5e966ef4d3ec21863b67765851105ddb15763.tar.gz | |
deprecated passwd/setPasswd in favour of password/setPassword
Diffstat (limited to 'src/QXmppConfiguration.h')
| -rw-r--r-- | src/QXmppConfiguration.h | 55 |
1 files changed, 35 insertions, 20 deletions
diff --git a/src/QXmppConfiguration.h b/src/QXmppConfiguration.h index 58065b82..319dd4ce 100644 --- a/src/QXmppConfiguration.h +++ b/src/QXmppConfiguration.h @@ -83,46 +83,61 @@ public: ~QXmppConfiguration(); QString host() const; + void setHost(const QString&); + QString domain() const; + void setDomain(const QString&); + int port() const; + void setPort(int); + QString user() const; - QString passwd() const; + void setUser(const QString&); + + QString password() const; + void setPassword(const QString&); + QString resource() const; + void setResource(const QString&); + QString jid() const; + void setJid(const QString &jid); + QString jidBare() const; bool autoAcceptSubscriptions() const; + void setAutoAcceptSubscriptions(bool); + bool autoReconnectionEnabled() const; + void setAutoReconnectionEnabled(bool); + bool useSASLAuthentication() const; + void setUseSASLAuthentication(bool); + bool ignoreSslErrors() const; + void setIgnoreSslErrors(bool); + QXmppConfiguration::StreamSecurityMode streamSecurityMode() const; + void setStreamSecurityMode(QXmppConfiguration::StreamSecurityMode mode); + QXmppConfiguration::NonSASLAuthMechanism nonSASLAuthMechanism() const; + void setNonSASLAuthMechanism(QXmppConfiguration::NonSASLAuthMechanism); + QXmppConfiguration::SASLAuthMechanism sASLAuthMechanism() const; + void setSASLAuthMechanism(QXmppConfiguration::SASLAuthMechanism); + QNetworkProxy networkProxy() const; + void setNetworkProxy(const QNetworkProxy& proxy); int keepAliveInterval() const; void setKeepAliveInterval(int secs); + int keepAliveTimeout() const; void setKeepAliveTimeout(int secs); - void setHost(const QString&); - void setDomain(const QString&); - void setPort(int); - void setUser(const QString&); - void setPasswd(const QString&); - void setResource(const QString&); - void setJid(const QString &jid); - - void setAutoAcceptSubscriptions(bool); - void setAutoReconnectionEnabled(bool); - void setUseSASLAuthentication(bool); - void setIgnoreSslErrors(bool); - - void setStreamSecurityMode(QXmppConfiguration::StreamSecurityMode mode); - void setNonSASLAuthMechanism(QXmppConfiguration::NonSASLAuthMechanism); - void setSASLAuthMechanism(QXmppConfiguration::SASLAuthMechanism); - - void setNetworkProxy(const QNetworkProxy& proxy); + // deprecated in release 0.3.0 + QString Q_DECL_DEPRECATED passwd() const; + void Q_DECL_DEPRECATED setPasswd(const QString&); // deprecated in release 0.2.0 // deprecated accessors, use the form without "get" instead @@ -150,7 +165,7 @@ private: QString m_host; int m_port; QString m_user; - QString m_passwd; + QString m_password; QString m_domain; QString m_resource; |
