diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-07-19 15:06:22 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-07-21 13:24:30 +0000 |
commit | a8c0088b01df742618f9dfca520a448f2c4e250a (patch) | |
tree | 957912ed2b8210bccaf966544be46e0934dcf1ef | |
parent | c3a003085bd608b12ae74a8d78a405b1f44f4648 (diff) |
Examples: Use signals, slots instead of Q_SIGNALS, Q_SLOTS
Change-Id: I79a352d1bac11edf2d2b0443d2f1bb202fb4e254
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 65d9593413455e401e44006b07c555f27c293add)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | examples/dbus/remotecontrolledcar/car/car.h | 4 | ||||
-rw-r--r-- | examples/widgets/itemviews/spreadsheet/printview.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/dbus/remotecontrolledcar/car/car.h b/examples/dbus/remotecontrolledcar/car/car.h index 44654f6647..d21125a5cb 100644 --- a/examples/dbus/remotecontrolledcar/car/car.h +++ b/examples/dbus/remotecontrolledcar/car/car.h @@ -14,13 +14,13 @@ public: Car(); QRectF boundingRect() const; -public Q_SLOTS: +public slots: void accelerate(); void decelerate(); void turnLeft(); void turnRight(); -Q_SIGNALS: +signals: void crashed(); protected: diff --git a/examples/widgets/itemviews/spreadsheet/printview.h b/examples/widgets/itemviews/spreadsheet/printview.h index f7b4b0c168..eeb6702c50 100644 --- a/examples/widgets/itemviews/spreadsheet/printview.h +++ b/examples/widgets/itemviews/spreadsheet/printview.h @@ -16,7 +16,7 @@ class PrintView : public QTableView public: PrintView(); -public Q_SLOTS: +public slots: void print(QPrinter *printer); }; |