Add missing 'override' for overridden functions

This commit is contained in:
Gianluca Recchia 2018-10-29 21:14:35 +01:00
parent 0f604aa8c7
commit e06eae423e
No known key found for this signature in database
GPG Key ID: 3C2B4128D9A1F218
14 changed files with 15 additions and 15 deletions

View File

@ -41,8 +41,8 @@ signals:
void quit();
private:
void readLength();
bool readStdIn(const quint32 length);
void readLength() override;
bool readStdIn(const quint32 length) override;
void sendReplyToAllClients(const QJsonObject& json);
private slots:

View File

@ -25,7 +25,7 @@ class Add : public Command
public:
Add();
~Add();
int execute(const QStringList& arguments);
int execute(const QStringList& arguments) override;
};
#endif // KEEPASSXC_ADD_H

View File

@ -25,7 +25,7 @@ class Clip : public Command
public:
Clip();
~Clip();
int execute(const QStringList& arguments);
int execute(const QStringList& arguments) override;
int clipEntry(Database* database, const QString& entryPath, const QString& timeout);
};

View File

@ -25,7 +25,7 @@ class Diceware : public Command
public:
Diceware();
~Diceware();
int execute(const QStringList& arguments);
int execute(const QStringList& arguments) override;
};
#endif // KEEPASSXC_DICEWARE_H

View File

@ -25,7 +25,7 @@ class Edit : public Command
public:
Edit();
~Edit();
int execute(const QStringList& arguments);
int execute(const QStringList& arguments) override;
};
#endif // KEEPASSXC_EDIT_H

View File

@ -25,7 +25,7 @@ class Estimate : public Command
public:
Estimate();
~Estimate();
int execute(const QStringList& arguments);
int execute(const QStringList& arguments) override;
};
#endif // KEEPASSXC_ESTIMATE_H

View File

@ -25,7 +25,7 @@ class Extract : public Command
public:
Extract();
~Extract();
int execute(const QStringList& arguments);
int execute(const QStringList& arguments) override;
};
#endif // KEEPASSXC_EXTRACT_H

View File

@ -25,7 +25,7 @@ class Generate : public Command
public:
Generate();
~Generate();
int execute(const QStringList& arguments);
int execute(const QStringList& arguments) override;
};
#endif // KEEPASSXC_GENERATE_H

View File

@ -25,7 +25,7 @@ class List : public Command
public:
List();
~List();
int execute(const QStringList& arguments);
int execute(const QStringList& arguments) override;
int listGroup(Database* database, bool recursive, const QString& groupPath = {});
};

View File

@ -25,7 +25,7 @@ class Locate : public Command
public:
Locate();
~Locate();
int execute(const QStringList& arguments);
int execute(const QStringList& arguments) override;
int locateEntry(Database* database, const QString& searchTerm);
};

View File

@ -25,7 +25,7 @@ class Merge : public Command
public:
Merge();
~Merge();
int execute(const QStringList& arguments);
int execute(const QStringList& arguments) override;
};
#endif // KEEPASSXC_MERGE_H

View File

@ -27,7 +27,7 @@ class Remove : public Command
public:
Remove();
~Remove();
int execute(const QStringList& arguments);
int execute(const QStringList& arguments) override;
int removeEntry(Database* database, const QString& databasePath, const QString& entryPath);
};

View File

@ -25,7 +25,7 @@ class Show : public Command
public:
Show();
~Show();
int execute(const QStringList& arguments);
int execute(const QStringList& arguments) override;
int showEntry(Database* database, QStringList attributes, const QString& entryPath);
};

View File

@ -37,7 +37,7 @@
class KeePass1Key : public CompositeKey
{
public:
virtual QByteArray rawKey() const;
QByteArray rawKey() const override;
virtual void clear();
void setPassword(const QByteArray& password);
void setKeyfileData(const QByteArray& keyfileData);