diff options
Diffstat (limited to 'examples/example_8_server/main.cpp')
| -rw-r--r-- | examples/example_8_server/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/example_8_server/main.cpp b/examples/example_8_server/main.cpp index c6c6027d..b5e8cc44 100644 --- a/examples/example_8_server/main.cpp +++ b/examples/example_8_server/main.cpp @@ -33,7 +33,7 @@ class passwordChecker : public QXmppPasswordChecker { /// Checks that the given credentials are valid. - bool checkCredentials(const QString &username, const QString &password) + bool checkPassword(const QString &username, const QString &password) { return (username == USERNAME && password == PASSWORD); }; @@ -50,8 +50,8 @@ class passwordChecker : public QXmppPasswordChecker } }; - /// Returns true as we support retrieving a password. - bool hasPasswords() const + /// Returns true as we implemented getPassword(). + bool hasGetPassword() const { return true; }; |
