diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-11-10 21:13:05 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-11-23 11:33:28 +0100 |
commit | fa045a3ce76d51dfa679945e74d9e2a685e14597 (patch) | |
tree | 7407220cf2dbc3e04b9cba9f7caef86f76687625 /examples/sql/drilldown/imageitem.h | |
parent | 1ffd12a8dc783b8e0806b839a3015b4fb9298bad (diff) |
SQL/drilldown example: add new icons and misc cleanup
Cleanup the drilldown example:
- use icons with the current style
- remove unneeded QOverload<>
- remove some empty lines which don't look good in the documentation
- use Q_SLOTS/Q_SIGNALS instead slots/signals
Fixes: QTBUG-113696
Change-Id: I62476a8989c0abd1f424d1425cb05489491e2153
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/sql/drilldown/imageitem.h')
-rw-r--r-- | examples/sql/drilldown/imageitem.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/sql/drilldown/imageitem.h b/examples/sql/drilldown/imageitem.h index f6be4d50ab..23a41aa2f2 100644 --- a/examples/sql/drilldown/imageitem.h +++ b/examples/sql/drilldown/imageitem.h @@ -11,7 +11,6 @@ class ImageItem : public QObject, public QGraphicsPixmapItem { Q_OBJECT - public: enum { Type = UserType + 1 }; @@ -25,7 +24,7 @@ protected: void hoverEnterEvent(QGraphicsSceneHoverEvent *event) override; void hoverLeaveEvent(QGraphicsSceneHoverEvent *event) override; -private slots: +private Q_SLOTS: void setFrame(int frame); void updateItemPosition(); |