![]() |
Qt 6.x
The Qt SDK
|
#include "qshortcut.h"
#include "qshortcut_p.h"
#include <qevent.h>
#include <qguiapplication.h>
#include <qwindow.h>
#include <private/qguiapplication_p.h>
#include <qpa/qplatformmenu.h>
#include "moc_qshortcut.cpp"
Go to the source code of this file.
Macros | |
#define | QAPP_CHECK(functionName) |
Functions | |
static bool | simpleContextMatcher (QObject *object, Qt::ShortcutContext context) |
#define QAPP_CHECK | ( | functionName | ) |
Definition at line 15 of file qshortcut.cpp.
|
static |
Definition at line 99 of file qshortcut.cpp.
References Qt::ApplicationActive, Qt::ApplicationShortcut, QGuiApplication::applicationState(), context, QGuiApplication::focusWindow(), qobject_cast< const QWindow * >(), Qt::WidgetWithChildrenShortcut, window(), and Qt::WindowShortcut.
Referenced by QShortcutPrivate::contextMatcher().