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/view.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/view.h')
-rw-r--r-- | examples/sql/drilldown/view.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/sql/drilldown/view.h b/examples/sql/drilldown/view.h index acbfeb1558..f44dedce99 100644 --- a/examples/sql/drilldown/view.h +++ b/examples/sql/drilldown/view.h @@ -14,7 +14,6 @@ class InformationWindow; class View : public QGraphicsView { Q_OBJECT - public: View(const QString &items, const QString &images, QWidget *parent = nullptr); @@ -23,7 +22,7 @@ protected: //! [0] //! [1] -private slots: +private Q_SLOTS: void updateImage(int id, const QString &fileName); //! [1] |