diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-09-09 15:55:04 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-12 16:54:03 +0200 |
commit | 526f111b059e18414e3a03c7f9a2b8c2ed65be7a (patch) | |
tree | d4006eb9b88fae752345be33a8b74889908d9562 /src/quick/items/qquickspritesequence_p.h | |
parent | 48f278f723cc1527b1e785c416192083e67dc292 (diff) |
Allow QtQuick private headers to be used with QT_NO_KEYWORDS.
This is necessary for the QtWebEngine module.
This also adds an empty nokeywords test using the same mechanism
as qtbase/tests/auto/tools/moc/no-keywords.h to find conflicts
at compile time.
Change-Id: I9df541720797dd61f078178c2af68ead18ff8bfe
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/quick/items/qquickspritesequence_p.h')
-rw-r--r-- | src/quick/items/qquickspritesequence_p.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/quick/items/qquickspritesequence_p.h b/src/quick/items/qquickspritesequence_p.h index b954a4464f..8f5a992942 100644 --- a/src/quick/items/qquickspritesequence_p.h +++ b/src/quick/items/qquickspritesequence_p.h @@ -88,14 +88,14 @@ public: return m_curState; } -signals: +Q_SIGNALS: void runningChanged(bool arg); void interpolateChanged(bool arg); void goalSpriteChanged(QString arg); void currentSpriteChanged(QString arg); -public slots: +public Q_SLOTS: void jumpTo(const QString &sprite); void setGoalSprite(const QString &sprite); @@ -104,7 +104,7 @@ public slots: { if (m_running != arg) { m_running = arg; - emit runningChanged(arg); + Q_EMIT runningChanged(arg); } } @@ -112,11 +112,11 @@ public slots: { if (m_interpolate != arg) { m_interpolate = arg; - emit interpolateChanged(arg); + Q_EMIT interpolateChanged(arg); } } -private slots: +private Q_SLOTS: void createEngine(); void sizeVertices(); |