From 159af6c7e6e07dce8644c2d058f3f02230760783 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Thu, 26 Aug 2010 07:42:44 +0000 Subject: move code to .cpp --- src/QXmppIncomingClient.h | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'src/QXmppIncomingClient.h') 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 -- cgit v1.2.3