Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qshortcut.cpp File Reference

(cd4000a97d325029acab7c253c1774c01ad6f782)

#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"
+ Include dependency graph for qshortcut.cpp:

Go to the source code of this file.

Macros

#define QAPP_CHECK(functionName)
 

Macro Definition Documentation

◆ QAPP_CHECK

#define QAPP_CHECK ( functionName)
Value:
if (Q_UNLIKELY(!qApp)) { \
qWarning("QShortcut: Initialize QGuiApplication before calling '" functionName "'."); \
return; \
}
#define Q_UNLIKELY(x)
#define qApp

Definition at line 15 of file qshortcut.cpp.