Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qshortcut.cpp File Reference

(9671b49182f37f575eea5f0a38b67a2ba85bdd74)

#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; \
}
QString functionName(CXCursor cursor)
Returns the function name from a given cursor representing a function declaration.
#define Q_UNLIKELY(x)
#define qApp

Definition at line 15 of file qshortcut.cpp.