aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppNonSASLAuth.h
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2009-10-26 17:01:09 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2009-10-26 17:01:09 +0000
commit239b2b15c3cfd9e4d7cc085ed31645d6ae6942ee (patch)
tree928a71086a6d328c97ffc468ba4ceb41fc7b6043 /source/QXmppNonSASLAuth.h
parentf988517a9ba9d9a7753270f1cb0c4c2212c7ac22 (diff)
downloadqxmpp-239b2b15c3cfd9e4d7cc085ed31645d6ae6942ee.tar.gz
Fix for
Issue 23: QXmppBind compilation error on macosx starting from r23 Issue 26: examples fail to link on macosx and linux Issue 24: all text files should have the svn property eol-style set Contributed by: Marco Molteni
Diffstat (limited to 'source/QXmppNonSASLAuth.h')
-rw-r--r--source/QXmppNonSASLAuth.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/source/QXmppNonSASLAuth.h b/source/QXmppNonSASLAuth.h
index 6de1063f..79cb8227 100644
--- a/source/QXmppNonSASLAuth.h
+++ b/source/QXmppNonSASLAuth.h
@@ -1,35 +1,35 @@
-#ifndef QXmppNonSASLAuth_H
-#define QXmppNonSASLAuth_H
-
-#include "QXmppIq.h"
-
-class QXmppNonSASLAuthTypesRequestIq : public QXmppIq
-{
-public:
- QXmppNonSASLAuthTypesRequestIq();
- void setUsername( const QString &username );
- virtual void toXmlElementFromChild(QXmlStreamWriter *writer) const;
-private:
- QString m_username;
-};
-
-class QXmppNonSASLAuthIq : public QXmppIq
-{
-public:
- QXmppNonSASLAuthIq();
- virtual void toXmlElementFromChild(QXmlStreamWriter *writer) const;
- void setUsername( const QString &username );
- void setPassword( const QString &password );
- void setResource( const QString &resource );
- void setStreamId( const QString &sid );
- void setUsePlainText( bool useplaintext );
-
-private:
- QString m_username;
- QString m_password;
- QString m_resource;
- QString m_sid;
- bool m_useplaintext;
-};
-
-#endif // QXmppNonSASLAuth_H
+#ifndef QXmppNonSASLAuth_H
+#define QXmppNonSASLAuth_H
+
+#include "QXmppIq.h"
+
+class QXmppNonSASLAuthTypesRequestIq : public QXmppIq
+{
+public:
+ QXmppNonSASLAuthTypesRequestIq();
+ void setUsername( const QString &username );
+ virtual void toXmlElementFromChild(QXmlStreamWriter *writer) const;
+private:
+ QString m_username;
+};
+
+class QXmppNonSASLAuthIq : public QXmppIq
+{
+public:
+ QXmppNonSASLAuthIq();
+ virtual void toXmlElementFromChild(QXmlStreamWriter *writer) const;
+ void setUsername( const QString &username );
+ void setPassword( const QString &password );
+ void setResource( const QString &resource );
+ void setStreamId( const QString &sid );
+ void setUsePlainText( bool useplaintext );
+
+private:
+ QString m_username;
+ QString m_password;
+ QString m_resource;
+ QString m_sid;
+ bool m_useplaintext;
+};
+
+#endif // QXmppNonSASLAuth_H