diff --git a/src/lib/downloads/downloadmanagermodel.h b/src/lib/downloads/downloadmanagermodel.h index c6b1c65ea..fdc9a72ab 100644 --- a/src/lib/downloads/downloadmanagermodel.h +++ b/src/lib/downloads/downloadmanagermodel.h @@ -27,8 +27,8 @@ class DownloadManagerModel : public QAbstractListModel public: DownloadManagerModel(QObject *parent = nullptr); - int rowCount(const QModelIndex &parent) const; - QVariant data(const QModelIndex &index, int role) const; + int rowCount(const QModelIndex &parent) const override; + QVariant data(const QModelIndex &index, int role) const override; void addDownload(DownloadItem *item); void removeDownload(DownloadItem *item); int count() const; diff --git a/src/plugins/GnomeKeyringPasswords/gnomekeyringpasswordbackend.h b/src/plugins/GnomeKeyringPasswords/gnomekeyringpasswordbackend.h index 68a1c81f1..494a3e8ec 100644 --- a/src/plugins/GnomeKeyringPasswords/gnomekeyringpasswordbackend.h +++ b/src/plugins/GnomeKeyringPasswords/gnomekeyringpasswordbackend.h @@ -28,17 +28,17 @@ class FALKON_EXPORT GnomeKeyringPasswordBackend : public PasswordBackend public: explicit GnomeKeyringPasswordBackend(); - QString name() const; + QString name() const override; - QVector getEntries(const QUrl &url); - QVector getAllEntries(); + QVector getEntries(const QUrl &url) override; + QVector getAllEntries() override; - void addEntry(const PasswordEntry &entry); - bool updateEntry(const PasswordEntry &entry); - void updateLastUsed(PasswordEntry &entry); + void addEntry(const PasswordEntry &entry) override; + bool updateEntry(const PasswordEntry &entry) override; + void updateLastUsed(PasswordEntry &entry) override; - void removeEntry(const PasswordEntry &entry); - void removeAll(); + void removeEntry(const PasswordEntry &entry) override; + void removeAll() override; private: void initialize(); diff --git a/src/plugins/GnomeKeyringPasswords/gnomekeyringplugin.h b/src/plugins/GnomeKeyringPasswords/gnomekeyringplugin.h index 9e6dab686..184982b19 100644 --- a/src/plugins/GnomeKeyringPasswords/gnomekeyringplugin.h +++ b/src/plugins/GnomeKeyringPasswords/gnomekeyringplugin.h @@ -31,9 +31,9 @@ class GnomeKeyringPlugin : public QObject, public PluginInterface public: explicit GnomeKeyringPlugin(); - void init(InitState state, const QString &settingsPath); - void unload(); - bool testPlugin(); + void init(InitState state, const QString &settingsPath) override; + void unload() override; + bool testPlugin() override; private: GnomeKeyringPasswordBackend* m_backend; diff --git a/src/plugins/KDEFrameworksIntegration/downloadkjob.h b/src/plugins/KDEFrameworksIntegration/downloadkjob.h index cce06ec89..2c2c04055 100644 --- a/src/plugins/KDEFrameworksIntegration/downloadkjob.h +++ b/src/plugins/KDEFrameworksIntegration/downloadkjob.h @@ -28,7 +28,7 @@ class FALKON_EXPORT DownloadKJob : public KJob public: DownloadKJob(const QUrl &url, const QString &path, const QString &fileName, QObject *parent = nullptr); - void start(); + void start() override; void updateDescription(); public Q_SLOTS: