Examples: Use signals, slots instead of Q_SIGNALS, Q_SLOTS
Pick-to: 6.4 Change-Id: I79a352d1bac11edf2d2b0443d2f1bb202fb4e254 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
5961dbc0e2
commit
65d9593413
@ -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:
|
||||
|
@ -16,7 +16,7 @@ class PrintView : public QTableView
|
||||
public:
|
||||
PrintView();
|
||||
|
||||
public Q_SLOTS:
|
||||
public slots:
|
||||
void print(QPrinter *printer);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user