Add override

This commit is contained in:
Laurent Montel 2019-01-03 21:42:30 +01:00
parent f1ec1433c8
commit 03fbd3318b
5 changed files with 8 additions and 8 deletions

View File

@ -91,7 +91,7 @@ class SortFilterModel : public QSortFilterProxyModel
public: public:
explicit SortFilterModel(QObject *parent = nullptr); explicit SortFilterModel(QObject *parent = nullptr);
~SortFilterModel(); ~SortFilterModel() override;
void setModel(QAbstractItemModel *source); void setModel(QAbstractItemModel *source);

View File

@ -69,7 +69,7 @@ public:
/// @cond INTERNAL_DOCS /// @cond INTERNAL_DOCS
explicit SvgItem(QQuickItem *parent = nullptr); explicit SvgItem(QQuickItem *parent = nullptr);
~SvgItem(); ~SvgItem() override;
void setElementId(const QString &elementID); void setElementId(const QString &elementID);
QString elementId() const; QString elementId() const;

View File

@ -82,8 +82,8 @@ class WindowThumbnail : public QQuickItem, public QAbstractNativeEventFilter
Q_PROPERTY(bool thumbnailAvailable READ thumbnailAvailable NOTIFY thumbnailAvailableChanged) Q_PROPERTY(bool thumbnailAvailable READ thumbnailAvailable NOTIFY thumbnailAvailableChanged)
public: public:
WindowThumbnail(QQuickItem *parent = nullptr); explicit WindowThumbnail(QQuickItem *parent = nullptr);
virtual ~WindowThumbnail(); ~WindowThumbnail() override;
bool nativeEventFilter(const QByteArray &eventType, void *message, long int *result) override; bool nativeEventFilter(const QByteArray &eventType, void *message, long int *result) override;
QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData) override; QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData) override;

View File

@ -33,8 +33,8 @@ class FullScreenSheet : public FullScreenWindow
Q_PROPERTY(QString rejectButtonText READ rejectButtonText WRITE setRejectButtonText NOTIFY rejectButtonTextChanged) Q_PROPERTY(QString rejectButtonText READ rejectButtonText WRITE setRejectButtonText NOTIFY rejectButtonTextChanged)
public: public:
FullScreenSheet(QDeclarativeItem *parent = nullptr); explicit FullScreenSheet(QDeclarativeItem *parent = nullptr);
~FullScreenSheet(); ~FullScreenSheet() override;
QString title() const; QString title() const;
void setTitle(const QString &text); void setTitle(const QString &text);

View File

@ -44,8 +44,8 @@ class FullScreenWindow : public QDeclarativeItem
Q_PROPERTY(DialogStatus::Status status READ status NOTIFY statusChanged) Q_PROPERTY(DialogStatus::Status status READ status NOTIFY statusChanged)
public: public:
FullScreenWindow(QDeclarativeItem *parent = nullptr); explcit FullScreenWindow(QDeclarativeItem *parent = nullptr);
~FullScreenWindow(); ~FullScreenWindow() override;
QGraphicsObject *mainItem() const; QGraphicsObject *mainItem() const;
void setMainItem(QGraphicsObject *mainItem); void setMainItem(QGraphicsObject *mainItem);