Skip to content

Commit

Permalink
Examples: Use signals, slots instead of Q_SIGNALS, Q_SLOTS
Browse files Browse the repository at this point in the history
Pick-to: 6.4
Change-Id: I79a352d1bac11edf2d2b0443d2f1bb202fb4e254
Reviewed-by: Fabian Kosmale <[email protected]>
  • Loading branch information
kkoehne committed Jul 21, 2022
1 parent 5961dbc commit 65d9593
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/dbus/remotecontrolledcar/car/car.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ class Car : public QGraphicsObject
Car();
QRectF boundingRect() const;

public Q_SLOTS:
public slots:
void accelerate();
void decelerate();
void turnLeft();
void turnRight();

Q_SIGNALS:
signals:
void crashed();

protected:
Expand Down
2 changes: 1 addition & 1 deletion examples/widgets/itemviews/spreadsheet/printview.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class PrintView : public QTableView
public:
PrintView();

public Q_SLOTS:
public slots:
void print(QPrinter *printer);
};

Expand Down

0 comments on commit 65d9593

Please sign in to comment.