From d2983aecee07161aba43ccd58ebbe50c9755641d Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Sat, 5 Sep 2009 09:56:38 +0000 Subject: Fix Issue 2: problem when sending messages with < or > characters in body fields Fix Issue 3: QXmppClient::connected signal --- source/QXmppConfiguration.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/QXmppConfiguration.h') diff --git a/source/QXmppConfiguration.h b/source/QXmppConfiguration.h index c57dadd6..82fcccea 100644 --- a/source/QXmppConfiguration.h +++ b/source/QXmppConfiguration.h @@ -38,7 +38,6 @@ public: void setPort(int); void setUser(const QString&); void setPasswd(const QString&); - void setStatus(const QString&); void setResource(const QString&); QString getHost() const; @@ -54,19 +53,22 @@ public: bool getAutoAcceptSubscriptions() const; void setAutoAcceptSubscriptions(bool); + bool getAutoReconnectionEnabled() const; + void setAutoReconnectionEnabled(bool); + private: QString m_host; int m_port; QString m_user; QString m_passwd; QString m_domain; - QString m_status; QString m_resource; bool m_autoAcceptSubscriptions; // default is true bool m_sendIntialPresence; // default is true bool m_sendRosterRequest; // default is true int m_keepAlivePingsInterval; // interval in seconds, if negative it won't ping + bool m_autoReconnectionEnabled; // will keep reconnecting if disconnected, default is true }; #endif // QXMPPCONFIGURATION_H -- cgit v1.2.3