diff options
author | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-06-21 17:46:17 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-22 12:55:52 +0200 |
commit | 195b5a7fed46f53f00e2ce64e3933d15dbb6572c (patch) | |
tree | bfd3efad51228db425fbe080cd7746f779c39c2a | |
parent | b9b4f6630aff04eb3fc8c6729bd314533c822313 (diff) |
Fixed incorrect usage of `signals' in headers
Qt headers must use Q_SIGNALS.
Change-Id: Ie110a0b236c4ccc0cc317ccb90cf60fe1a78280b
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
-rw-r--r-- | src/macextras/qmacnativetoolbar.h | 2 | ||||
-rw-r--r-- | src/macextras/qmactoolbutton.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/macextras/qmacnativetoolbar.h b/src/macextras/qmacnativetoolbar.h index 2cf2899..6ecfb1c 100644 --- a/src/macextras/qmacnativetoolbar.h +++ b/src/macextras/qmacnativetoolbar.h @@ -118,7 +118,7 @@ public: Q_INVOKABLE QAction *addAllowedAction(QAction *action); Q_INVOKABLE QAction *addAllowedStandardItem(QMacToolButton::StandardItem standardItem); -signals: +Q_SIGNALS: void visibilityChanged(bool visible); void showsBaselineSeparatorChanged(bool show); void allowsUserCustomizationChanged(bool allow); diff --git a/src/macextras/qmactoolbutton.h b/src/macextras/qmactoolbutton.h index d08263e..8f218bf 100644 --- a/src/macextras/qmactoolbutton.h +++ b/src/macextras/qmactoolbutton.h @@ -79,7 +79,7 @@ public: StandardItem standardItem() const; void setStandardItem(StandardItem standardItem); -signals: +Q_SIGNALS: void activated(); private: bool m_selectable; |