From 65d9593413455e401e44006b07c555f27c293add Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Tue, 19 Jul 2022 15:06:22 +0200 Subject: Examples: Use signals, slots instead of Q_SIGNALS, Q_SLOTS Pick-to: 6.4 Change-Id: I79a352d1bac11edf2d2b0443d2f1bb202fb4e254 Reviewed-by: Fabian Kosmale --- examples/dbus/remotecontrolledcar/car/car.h | 4 ++-- examples/widgets/itemviews/spreadsheet/printview.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') 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); }; -- cgit v1.2.3