mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36: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:
|
public:
|
||||||
DownloadManagerModel(QObject *parent = nullptr);
|
DownloadManagerModel(QObject *parent = nullptr);
|
||||||
int rowCount(const QModelIndex &parent) const;
|
int rowCount(const QModelIndex &parent) const override;
|
||||||
QVariant data(const QModelIndex &index, int role) const;
|
QVariant data(const QModelIndex &index, int role) const override;
|
||||||
void addDownload(DownloadItem *item);
|
void addDownload(DownloadItem *item);
|
||||||
void removeDownload(DownloadItem *item);
|
void removeDownload(DownloadItem *item);
|
||||||
int count() const;
|
int count() const;
|
||||||
|
@ -28,17 +28,17 @@ class FALKON_EXPORT GnomeKeyringPasswordBackend : public PasswordBackend
|
|||||||
public:
|
public:
|
||||||
explicit GnomeKeyringPasswordBackend();
|
explicit GnomeKeyringPasswordBackend();
|
||||||
|
|
||||||
QString name() const;
|
QString name() const override;
|
||||||
|
|
||||||
QVector<PasswordEntry> getEntries(const QUrl &url);
|
QVector<PasswordEntry> getEntries(const QUrl &url) override;
|
||||||
QVector<PasswordEntry> getAllEntries();
|
QVector<PasswordEntry> getAllEntries() override;
|
||||||
|
|
||||||
void addEntry(const PasswordEntry &entry);
|
void addEntry(const PasswordEntry &entry) override;
|
||||||
bool updateEntry(const PasswordEntry &entry);
|
bool updateEntry(const PasswordEntry &entry) override;
|
||||||
void updateLastUsed(PasswordEntry &entry);
|
void updateLastUsed(PasswordEntry &entry) override;
|
||||||
|
|
||||||
void removeEntry(const PasswordEntry &entry);
|
void removeEntry(const PasswordEntry &entry) override;
|
||||||
void removeAll();
|
void removeAll() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void initialize();
|
void initialize();
|
||||||
|
@ -31,9 +31,9 @@ class GnomeKeyringPlugin : public QObject, public PluginInterface
|
|||||||
public:
|
public:
|
||||||
explicit GnomeKeyringPlugin();
|
explicit GnomeKeyringPlugin();
|
||||||
|
|
||||||
void init(InitState state, const QString &settingsPath);
|
void init(InitState state, const QString &settingsPath) override;
|
||||||
void unload();
|
void unload() override;
|
||||||
bool testPlugin();
|
bool testPlugin() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
GnomeKeyringPasswordBackend* m_backend;
|
GnomeKeyringPasswordBackend* m_backend;
|
||||||
|
@ -28,7 +28,7 @@ class FALKON_EXPORT DownloadKJob : public KJob
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
DownloadKJob(const QUrl &url, const QString &path, const QString &fileName, QObject *parent = nullptr);
|
DownloadKJob(const QUrl &url, const QString &path, const QString &fileName, QObject *parent = nullptr);
|
||||||
void start();
|
void start() override;
|
||||||
void updateDescription();
|
void updateDescription();
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
|
Loading…
Reference in New Issue
Block a user