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/qquickaccessibleattached_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/qquickaccessibleattached_p.h')
-rw-r--r-- | src/quick/items/qquickaccessibleattached_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quick/items/qquickaccessibleattached_p.h b/src/quick/items/qquickaccessibleattached_p.h index 131b379a07..5301c089a9 100644 --- a/src/quick/items/qquickaccessibleattached_p.h +++ b/src/quick/items/qquickaccessibleattached_p.h @@ -73,7 +73,7 @@ public: { if (role != m_role) { m_role = role; - emit roleChanged(); + Q_EMIT roleChanged(); // There is no way to signify role changes at the moment. // QAccessible::updateAccessibility(parent(), 0, QAccessible::); } @@ -82,7 +82,7 @@ public: void setName(const QString &name) { if (name != m_name) { m_name = name; - emit nameChanged(); + Q_EMIT nameChanged(); QAccessibleEvent ev(parent(), QAccessible::NameChanged); QAccessible::updateAccessibility(&ev); } @@ -93,7 +93,7 @@ public: { if (m_description != description) { m_description = description; - emit descriptionChanged(); + Q_EMIT descriptionChanged(); QAccessibleEvent ev(parent(), QAccessible::DescriptionChanged); QAccessible::updateAccessibility(&ev); } |