Commit 0a637d4d authored by Laurent Montel's avatar Laurent Montel 😁

Use override

parent fbac76e4
......@@ -27,10 +27,10 @@
class AppearanceGTK2 : public AbstractAppearance
{
bool loadSettings(const QString& path) Q_DECL_OVERRIDE;
bool saveSettings(const QString& path) const Q_DECL_OVERRIDE;
QString defaultConfigFile() const Q_DECL_OVERRIDE;
QStringList installedThemes() const Q_DECL_OVERRIDE;
bool loadSettings(const QString& path) override;
bool saveSettings(const QString& path) const override;
QString defaultConfigFile() const override;
QStringList installedThemes() const override;
QString themesGtkrcFile(const QString& themeName) const;
};
......
......@@ -29,10 +29,10 @@ class AppearanceGTK3 : public AbstractAppearance
{
public:
QStringList installedThemes() const Q_DECL_OVERRIDE;
bool saveSettings(const QString& file) const Q_DECL_OVERRIDE;
bool loadSettings(const QString& path) Q_DECL_OVERRIDE;
QString defaultConfigFile() const Q_DECL_OVERRIDE;
QStringList installedThemes() const override;
bool saveSettings(const QString& file) const override;
bool loadSettings(const QString& path) override;
QString defaultConfigFile() const override;
};
#endif // APPEARANCEGTK3_H
......@@ -45,9 +45,9 @@ public:
void refreshThemesUi(bool useConfig=false);
void save() Q_DECL_OVERRIDE;
void defaults() Q_DECL_OVERRIDE;
void load() Q_DECL_OVERRIDE;
void save() override;
void defaults() override;
void load() override;
public slots:
void refreshLists();
......
......@@ -34,7 +34,7 @@ class Thread: public KJob
Q_OBJECT
public:
Thread(const QString& );
void start() Q_DECL_OVERRIDE;
void start() override;
///sets the icon path
void setUrlPackage(const QString& );
......@@ -53,7 +53,7 @@ private:
class ThreadAnalisysTheme: public KJob
{
public:
void start() Q_DECL_OVERRIDE;
void start() override;
///@returns whether the theme is correct
bool isSuccess() const;
......@@ -67,7 +67,7 @@ private:
class ThreadAnalisysThemeIcon: public KJob
{
public:
void start() Q_DECL_OVERRIDE;
void start() override;
///@returns whether the theme is correct
bool isSuccess();
......@@ -85,7 +85,7 @@ class ThreadErase: public KJob
{
Q_OBJECT
public:
void start() Q_DECL_OVERRIDE;
void start() override;
bool isSuccess();
void setThemeForErase(const QString& theme );
......
Markdown is supported
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