aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme
diff options
context:
space:
mode:
authorGravatar IceN9ne2018-11-28 22:00:54 -0500
committerGravatar IceN9ne2018-11-28 22:02:03 -0500
commit2c52bee29d4636bcdce407ac91b353d34d89258c (patch)
tree2da7f0051d989cbf027863fef7955590d2869405 /src/modules/theme
parentRemove unnecessary usages of the inline keyword per language evolution. (diff)
downloadKVIrc-2c52bee29d4636bcdce407ac91b353d34d89258c.tar.gz
KVIrc-2c52bee29d4636bcdce407ac91b353d34d89258c.tar.bz2
KVIrc-2c52bee29d4636bcdce407ac91b353d34d89258c.zip
Use override where possible and remove unnecessary usages of the virtual keyword.
Diffstat (limited to 'src/modules/theme')
-rw-r--r--src/modules/theme/PackThemeDialog.h6
-rw-r--r--src/modules/theme/ThemeManagementDialog.h6
-rw-r--r--src/modules/theme/WebThemeInterfaceDialog.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/theme/PackThemeDialog.h b/src/modules/theme/PackThemeDialog.h
index 0fc4fe98e..aabdb9f90 100644
--- a/src/modules/theme/PackThemeDialog.h
+++ b/src/modules/theme/PackThemeDialog.h
@@ -66,7 +66,7 @@ protected:
//QWidget * m_pImageSelectionPage;
protected:
- virtual void accept();
+ void accept() override;
bool packTheme();
};
@@ -95,7 +95,7 @@ public:
QLineEdit * m_pPackageAuthorEdit;
protected:
- virtual void initializePage();
+ void initializePage() override;
};
class PackThemeImageWidget : public QWizardPage
@@ -125,7 +125,7 @@ protected:
QString m_szPackagePath;
protected:
- virtual void initializePage();
+ void initializePage() override;
};
#endif //!_PACKTHEMEDIALOG_H_
diff --git a/src/modules/theme/ThemeManagementDialog.h b/src/modules/theme/ThemeManagementDialog.h
index b09b4b2c8..5ce7dfa41 100644
--- a/src/modules/theme/ThemeManagementDialog.h
+++ b/src/modules/theme/ThemeManagementDialog.h
@@ -52,7 +52,7 @@ class ThemeListWidgetItem : public KviTalListWidgetItem
{
public:
ThemeListWidgetItem(KviTalListWidget * pBox, KviThemeInfo * pInfo);
- virtual ~ThemeListWidgetItem();
+ ~ThemeListWidgetItem();
public:
KviThemeInfo * m_pThemeInfo;
@@ -66,7 +66,7 @@ class ThemeManagementDialog : public QWidget
Q_OBJECT
public:
ThemeManagementDialog(QWidget * parent);
- virtual ~ThemeManagementDialog();
+ ~ThemeManagementDialog();
protected:
static ThemeManagementDialog * m_pInstance;
@@ -86,7 +86,7 @@ public:
protected:
void fillThemeBox(bool bBuiltin);
- virtual void closeEvent(QCloseEvent * e);
+ void closeEvent(QCloseEvent * e) override;
protected slots:
void saveCurrentTheme();
void getMoreThemes();
diff --git a/src/modules/theme/WebThemeInterfaceDialog.h b/src/modules/theme/WebThemeInterfaceDialog.h
index cc517027c..42c906540 100644
--- a/src/modules/theme/WebThemeInterfaceDialog.h
+++ b/src/modules/theme/WebThemeInterfaceDialog.h
@@ -42,8 +42,8 @@ private:
QString m_szGlobalThemesPath;
protected:
- virtual bool packageIsInstalled(const QString & szId, const QString & szVersion);
- virtual bool installPackage(const QString & szPath, QString & szError);
+ bool packageIsInstalled(const QString & szId, const QString & szVersion) override;
+ bool installPackage(const QString & szPath, QString & szError) override;
};
#endif //COMPILE_WEBKIT_SUPPORT