diff --git a/src/declarativeimports/core/datamodel.h b/src/declarativeimports/core/datamodel.h index f48c4087e..ff61b4300 100644 --- a/src/declarativeimports/core/datamodel.h +++ b/src/declarativeimports/core/datamodel.h @@ -91,7 +91,7 @@ class SortFilterModel : public QSortFilterProxyModel public: explicit SortFilterModel(QObject *parent = nullptr); - ~SortFilterModel(); + ~SortFilterModel() override; void setModel(QAbstractItemModel *source); diff --git a/src/declarativeimports/core/svgitem.h b/src/declarativeimports/core/svgitem.h index 2ca3decfd..53e753dad 100644 --- a/src/declarativeimports/core/svgitem.h +++ b/src/declarativeimports/core/svgitem.h @@ -69,7 +69,7 @@ public: /// @cond INTERNAL_DOCS explicit SvgItem(QQuickItem *parent = nullptr); - ~SvgItem(); + ~SvgItem() override; void setElementId(const QString &elementID); QString elementId() const; diff --git a/src/declarativeimports/core/windowthumbnail.h b/src/declarativeimports/core/windowthumbnail.h index d63e0ffd9..f9f39cb54 100644 --- a/src/declarativeimports/core/windowthumbnail.h +++ b/src/declarativeimports/core/windowthumbnail.h @@ -82,8 +82,8 @@ class WindowThumbnail : public QQuickItem, public QAbstractNativeEventFilter Q_PROPERTY(bool thumbnailAvailable READ thumbnailAvailable NOTIFY thumbnailAvailableChanged) public: - WindowThumbnail(QQuickItem *parent = nullptr); - virtual ~WindowThumbnail(); + explicit WindowThumbnail(QQuickItem *parent = nullptr); + ~WindowThumbnail() override; bool nativeEventFilter(const QByteArray &eventType, void *message, long int *result) override; QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData) override; diff --git a/src/declarativeimports/plasmacomponents/fullscreensheet.h b/src/declarativeimports/plasmacomponents/fullscreensheet.h index 914cf37c9..3a2b283a8 100644 --- a/src/declarativeimports/plasmacomponents/fullscreensheet.h +++ b/src/declarativeimports/plasmacomponents/fullscreensheet.h @@ -33,8 +33,8 @@ class FullScreenSheet : public FullScreenWindow Q_PROPERTY(QString rejectButtonText READ rejectButtonText WRITE setRejectButtonText NOTIFY rejectButtonTextChanged) public: - FullScreenSheet(QDeclarativeItem *parent = nullptr); - ~FullScreenSheet(); + explicit FullScreenSheet(QDeclarativeItem *parent = nullptr); + ~FullScreenSheet() override; QString title() const; void setTitle(const QString &text); diff --git a/src/declarativeimports/plasmacomponents/fullscreenwindow.h b/src/declarativeimports/plasmacomponents/fullscreenwindow.h index 99b139661..a9a7dbd4b 100644 --- a/src/declarativeimports/plasmacomponents/fullscreenwindow.h +++ b/src/declarativeimports/plasmacomponents/fullscreenwindow.h @@ -44,8 +44,8 @@ class FullScreenWindow : public QDeclarativeItem Q_PROPERTY(DialogStatus::Status status READ status NOTIFY statusChanged) public: - FullScreenWindow(QDeclarativeItem *parent = nullptr); - ~FullScreenWindow(); + explcit FullScreenWindow(QDeclarativeItem *parent = nullptr); + ~FullScreenWindow() override; QGraphicsObject *mainItem() const; void setMainItem(QGraphicsObject *mainItem);