summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qaction.h
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2009-11-24 09:56:54 (GMT)
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2009-11-24 09:56:54 (GMT)
commita51ccecc887c38fe9d067e52ca99d3ec78e64c2a (patch)
tree84eb57bbc5d8e740a55fac1307a09b0e7f9c8cdc /src/gui/kernel/qaction.h
parent8226392be3ea450f8b3f418fb4defd6dc36210f8 (diff)
downloadQt-a51ccecc887c38fe9d067e52ca99d3ec78e64c2a.zip
Qt-a51ccecc887c38fe9d067e52ca99d3ec78e64c2a.tar.gz
Qt-a51ccecc887c38fe9d067e52ca99d3ec78e64c2a.tar.bz2
Implement menu hovering for native Mac menus.
Set the status text, emit QMenu::hovered and QAction::hovered.
Diffstat (limited to 'src/gui/kernel/qaction.h')
-rw-r--r--src/gui/kernel/qaction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qaction.h b/src/gui/kernel/qaction.h
index bfc7491..620ff7e 100644
--- a/src/gui/kernel/qaction.h
+++ b/src/gui/kernel/qaction.h
@@ -246,6 +246,9 @@ private:
friend class QMenuBar;
friend class QShortcutMap;
friend class QToolButton;
+#ifdef Q_WS_MAC
+ friend void qt_mac_clear_status_text(QAction *action);
+#endif
};
QT_BEGIN_INCLUDE_NAMESPACE