Skip to content

Commit

Permalink
Fixed incorrect usage of signals', slots' in headers
Browse files Browse the repository at this point in the history
Qt headers must use Q_SIGNALS, Q_SLOTS.

Reviewed-by: Jason McDonald
Change-Id: I54b3322befd8f133d44aa48f3aa7cd96785d2e24
  • Loading branch information
Rohan McGovern committed May 12, 2011
1 parent 6fe601e commit 5186ddc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/declarative/items/qsgcanvas.h
Expand Up @@ -75,7 +75,7 @@ Q_DECLARE_PRIVATE(QSGCanvas)

QSGEngine *sceneGraphEngine() const;

signals:
Q_SIGNALS:
void sceneGraphInitialized();

protected:
Expand All @@ -100,7 +100,7 @@ Q_DECLARE_PRIVATE(QSGCanvas)
virtual void wheelEvent(QWheelEvent *);
#endif

private slots:
private Q_SLOTS:
void sceneGraphChanged();
void maybeUpdate();

Expand Down
2 changes: 1 addition & 1 deletion src/declarative/scenegraph/util/qsgengine.h
Expand Up @@ -79,7 +79,7 @@ class Q_DECLARATIVE_EXPORT QSGEngine : public QObject
void setClearColor(const QColor &color);
QColor clearColor() const;

signals:
Q_SIGNALS:
void beforeRendering();
void afterRendering();

Expand Down

0 comments on commit 5186ddc

Please sign in to comment.