aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppIncomingClient.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-26 07:42:44 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-26 07:42:44 +0000
commit159af6c7e6e07dce8644c2d058f3f02230760783 (patch)
treebbf88dd7bce88ab57f37ccbaefe396bd99e399fc /src/QXmppIncomingClient.h
parent4ecc0dcf7934dd0d43be634d03da799af82f91e1 (diff)
downloadqxmpp-159af6c7e6e07dce8644c2d058f3f02230760783.tar.gz
move code to .cpp
Diffstat (limited to 'src/QXmppIncomingClient.h')
-rw-r--r--src/QXmppIncomingClient.h22
1 files changed, 5 insertions, 17 deletions
diff --git a/src/QXmppIncomingClient.h b/src/QXmppIncomingClient.h
index a6be0a54..25022d0c 100644
--- a/src/QXmppIncomingClient.h
+++ b/src/QXmppIncomingClient.h
@@ -35,24 +35,12 @@ class QXmppPasswordChecker
{
public:
/// Checks that the given credentials are valid.
- virtual bool checkCredentials(const QString &username, const QString &password) = 0;
-
- /// Retrieves the password for the given username.
///
- /// Reimplement this method to support DIGEST-MD5 authentication.
- virtual bool getPassword(const QString &username, QString &password)
- {
- return false;
- };
-
- /// Returns true if it is possible to retrieve passwords.
- ///
- /// Reimplement this method and return true if you provided a
- /// getPassword() method.
- virtual bool hasPasswords() const
- {
- return false;
- };
+ /// \param username
+ /// \param password
+ virtual bool checkCredentials(const QString &username, const QString &password) = 0;
+ virtual bool getPassword(const QString &username, QString &password);
+ virtual bool hasPasswords() const;
};
/// \brief The QXmppIncomingClient class represents an incoming XMPP stream