Commit 17d15c76 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use override

parent 9c3417fe
......@@ -47,7 +47,7 @@ public:
const PolkitQt1::Details &details,
const PolkitQt1::Identity::List &identities,
WId parent);
~AuthDialog();
~AuthDialog() override;
void setRequest(const QString &request, bool requiresAdmin);
void setOptions();
......@@ -63,7 +63,7 @@ signals:
void okClicked();
public slots:
virtual void accept() Q_DECL_OVERRIDE;
void accept() override;
private slots:
void on_userCB_currentIndexChanged(int index);
......
......@@ -30,7 +30,7 @@ class PolicyKitKDE : public QApplication
Q_OBJECT
public:
PolicyKitKDE(int &argc, char **argv);
virtual ~PolicyKitKDE();
~PolicyKitKDE() override;
private:
PolicyKitListener *m_listener;
};
......
......@@ -36,7 +36,7 @@ class PolicyKitListener : public Listener
Q_CLASSINFO("D-Bus Interface", "org.kde.Polkit1AuthAgent")
public:
PolicyKitListener(QObject *parent = 0);
virtual ~PolicyKitListener();
~PolicyKitListener() override;
public slots:
void initiateAuthentication(const QString &actionId,
......@@ -45,9 +45,9 @@ public slots:
const PolkitQt1::Details &details,
const QString &cookie,
const PolkitQt1::Identity::List &identities,
PolkitQt1::Agent::AsyncResult* result) Q_DECL_OVERRIDE;
bool initiateAuthenticationFinish() Q_DECL_OVERRIDE;
void cancelAuthentication() Q_DECL_OVERRIDE;
PolkitQt1::Agent::AsyncResult* result) override;
bool initiateAuthenticationFinish() override;
void cancelAuthentication() override;
void tryAgain();
void finishObtainPrivilege();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment