diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-12 08:24:29 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-12 08:24:29 +0000 |
| commit | f312239c8cae0a2aa58edcdc0589479229c98b55 (patch) | |
| tree | f777e7bdfcfdaba9aab80c5dd559d444553d921d /src/QXmppNonSASLAuth.h | |
| parent | 4e6d4908fdf5168fbd0ad4025f00a8d133622b4d (diff) | |
| download | qxmpp-f312239c8cae0a2aa58edcdc0589479229c98b55.tar.gz | |
make QXmppNonSASLAuthIq parsing/serialisation symetric
Diffstat (limited to 'src/QXmppNonSASLAuth.h')
| -rw-r--r-- | src/QXmppNonSASLAuth.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/QXmppNonSASLAuth.h b/src/QXmppNonSASLAuth.h index 10dab42c..87017478 100644 --- a/src/QXmppNonSASLAuth.h +++ b/src/QXmppNonSASLAuth.h @@ -34,7 +34,8 @@ public: QString username() const; void setUsername(const QString &username); - QString digest() const; + QByteArray digest() const; + void setDigest(const QString &streamId, const QString &password); QString password() const; void setPassword(const QString &password); @@ -42,8 +43,7 @@ public: QString resource() const; void setResource(const QString &resource); - void setStreamId(const QString &sid); - void setUsePlainText( bool useplaintext ); + static bool isNonSASLAuthIq(const QDomElement &element); protected: /// \cond @@ -53,11 +53,9 @@ protected: private: QString m_username; - QString m_digest; + QByteArray m_digest; QString m_password; QString m_resource; - QString m_sid; - bool m_useplaintext; }; #endif // QXmppNonSASLAuth_H |
