summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidget_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-10-12 22:21:44 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-18 14:15:35 +0200
commit5d4756fc1b0e0acc862509887fdb8d9767387dcc (patch)
tree3afe87d1e190867e2b1f41a265848d30bffd8955 /src/widgets/kernel/qwidget_p.h
parent12e471b7fd254fa276f19f7c7c980b4cee9ba005 (diff)
Move the widget dependent code away from the shortcutmap
qshortcut.cpp now has the honour of hosting the code that detects whether the a given shortcutcontext is actually valid. Change-Id: I59d299bbd2fd62fca074a51d96e85b81a50ae73c Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/widgets/kernel/qwidget_p.h')
-rw-r--r--src/widgets/kernel/qwidget_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/kernel/qwidget_p.h b/src/widgets/kernel/qwidget_p.h
index 01891c74c7..51a76d6ce3 100644
--- a/src/widgets/kernel/qwidget_p.h
+++ b/src/widgets/kernel/qwidget_p.h
@@ -115,6 +115,10 @@ class QStyle;
class QUnifiedToolbarSurface;
+// implemented in qshortcut.cpp
+bool qWidgetShortcutContextMatcher(QObject *object, Qt::ShortcutContext context);
+
+
class Q_AUTOTEST_EXPORT QWidgetBackingStoreTracker
{