![]() |
Qt 6.x
The Qt SDK
|
#include <AppKit/AppKit.h>#include <qpa/qplatformtheme.h>#include "qcocoamenuitem.h"#include "qcocoansmenu.h"#include "qcocoamenu.h"#include "qcocoamenubar.h"#include "qcocoahelpers.h"#include "qcocoaapplication.h"#include "qcocoamenuloader.h"#include <QtGui/private/qcoregraphics_p.h>#include <QtCore/qregularexpression.h>#include <QtCore/private/qcore_mac_p.h>#include <QtGui/private/qapplekeymapper_p.h>#include <QtCore/QDebug>
Include dependency graph for qcocoamenuitem.mm:Go to the source code of this file.
Functions | |
| QString | qt_mac_applicationmenu_string (int type) |
| static QPlatformMenuItem::MenuRole | detectMenuRole (const QString &captionWithPossibleMnemonic) |
Variables | |
| static const char * | application_menu_strings [] |
|
static |
Definition at line 183 of file qcocoamenuitem.mm.
References QPlatformMenuItem::AboutQtRole, QPlatformMenuItem::AboutRole, Qt::CaseInsensitive, QRegularExpression::CaseInsensitiveOption, QString::compare(), QString::contains(), QPlatformMenuItem::CopyRole, QPlatformMenuItem::CutRole, QString::endsWith(), match(), Qt::MatchEndsWith, Qt::MatchExactly, Qt::MatchStartsWith, QPlatformMenuItem::NoRole, QPlatformMenuItem::PasteRole, QPlatformMenuItem::PreferencesRole, QT_TRANSLATE_NOOP, QPlatformMenuItem::QuitRole, QString::remove(), QPlatformMenuItem::SelectAllRole, QString::startsWith(), and QCoreApplication::translate().
Referenced by QCocoaMenuItem::sync().
Here is the call graph for this function:
Here is the caller graph for this function:| QString qt_mac_applicationmenu_string | ( | int | type | ) |
Definition at line 39 of file qcocoamenuitem.mm.
References application_menu_strings, QString::fromLatin1(), and QCoreApplication::translate().
Here is the call graph for this function:
|
static |
Definition at line 28 of file qcocoamenuitem.mm.
Referenced by qt_mac_applicationmenu_string().