cmake: avoid de-duplication of user's CXXFLAGS
[quassel.git] / src / core / sqlauthenticator.h
index 3f24705..5c45374 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2018 by the Quassel Project                        *
+ *   Copyright (C) 2005-2022 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);
 };