Commit b806d14c authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use override

parent bb6a16c3
......@@ -54,7 +54,7 @@ class KDEPlatformFileDialogHelper : public QPlatformFileDialogHelper
Q_OBJECT
public:
KDEPlatformFileDialogHelper();
virtual ~KDEPlatformFileDialogHelper();
~KDEPlatformFileDialogHelper() override;
void initializeDialog();
......
......@@ -40,7 +40,7 @@ class KdePlatformTheme : public QPlatformTheme
{
public:
KdePlatformTheme();
~KdePlatformTheme();
~KdePlatformTheme() override;
QVariant themeHint(ThemeHint hint) const override;
QIcon fileIcon(const QFileInfo &fileInfo,
......
......@@ -50,7 +50,7 @@ public:
/**
* Destroys the directory selection dialog.
*/
~KDirSelectDialog();
~KDirSelectDialog() override;
/**
* Returns the currently selected URL, or an empty one if no item is selected.
......
......@@ -42,7 +42,7 @@ public:
/**
* Destroys the file tree view.
*/
~KFileTreeView();
~KFileTreeView() override;
/**
* Returns the current url.
......
......@@ -53,7 +53,7 @@ public:
public:
KFontSettingsData();
~KFontSettingsData();
~KFontSettingsData() override;
public Q_SLOTS:
void dropFontSettingsCache();
......
......@@ -52,7 +52,7 @@ public:
SETTINGS_LOCALE, SETTINGS_STYLE
};
explicit KHintsSettings(KSharedConfig::Ptr kdeglobals = KSharedConfig::Ptr());
virtual ~KHintsSettings();
~KHintsSettings() override;
inline QVariant hint(QPlatformTheme::ThemeHint hint) const
{
......
......@@ -41,7 +41,7 @@ class KWaylandIntegration : public QObject
Q_OBJECT
public:
explicit KWaylandIntegration();
virtual ~KWaylandIntegration();
~KWaylandIntegration() override;
void init();
void setAppMenu(QWindow *window, const QString &serviceName, const QString &objectPath);
......
......@@ -68,7 +68,7 @@ class QDBusMenuBar : public QPlatformMenuBar
public:
QDBusMenuBar();
virtual ~QDBusMenuBar();
~QDBusMenuBar() override;
void insertMenu(QPlatformMenu *menu, QPlatformMenu *before) override;
void removeMenu(QPlatformMenu *menu) override;
......
......@@ -32,7 +32,7 @@ class X11Integration : public QObject
Q_OBJECT
public:
explicit X11Integration();
virtual ~X11Integration();
~X11Integration() override;
void init();
void setWindowProperty(QWindow *window, const QByteArray &name, const QByteArray &value);
......
Supports Markdown
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