Commit fbac76e4 authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_DECL_OVERRIDE

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