mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 18:26:34 +01:00
Add missing overrides
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
5029d65aba
commit
b3e7867429
@ -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;
|
||||
|
@ -28,17 +28,17 @@ class FALKON_EXPORT GnomeKeyringPasswordBackend : public PasswordBackend
|
||||
public:
|
||||
explicit GnomeKeyringPasswordBackend();
|
||||
|
||||
QString name() const;
|
||||
QString name() const override;
|
||||
|
||||
QVector<PasswordEntry> getEntries(const QUrl &url);
|
||||
QVector<PasswordEntry> getAllEntries();
|
||||
QVector<PasswordEntry> getEntries(const QUrl &url) override;
|
||||
QVector<PasswordEntry> 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();
|
||||
|
@ -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;
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user