X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fsqlauthenticator.h;h=463e44147c3229eba162d4961b54dd555ad9ccf1;hb=48017b680ede0dbfb121d1184dfbd13536cfc53f;hp=3f24705e490284761ded2d82f85ef0ead65ae5c5;hpb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;p=quassel.git diff --git a/src/core/sqlauthenticator.h b/src/core/sqlauthenticator.h index 3f24705e..463e4414 100644 --- a/src/core/sqlauthenticator.h +++ b/src/core/sqlauthenticator.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -27,8 +27,7 @@ class SqlAuthenticator : public Authenticator Q_OBJECT public: - SqlAuthenticator(QObject *parent = nullptr); - ~SqlAuthenticator() override; + SqlAuthenticator(QObject* parent = nullptr); public slots: /* General */ @@ -40,12 +39,10 @@ public slots: inline bool canChangePassword() const override { return true; } - bool setup(const QVariantMap &settings, const QProcessEnvironment &environment, - bool loadFromEnvironment) override; - State init(const QVariantMap &settings, const QProcessEnvironment &environment, - bool loadFromEnvironment) override; - UserId validateUser(const QString &user, const QString &password) override; + bool setup(const QVariantMap& settings, const QProcessEnvironment& environment, bool loadFromEnvironment) override; + State init(const QVariantMap& settings, const QProcessEnvironment& environment, bool loadFromEnvironment) override; + UserId validateUser(const QString& user, const QString& password) override; /* User handling */ - //virtual UserId getUserId(const QString &username); + // virtual UserId getUserId(const QString &username); };