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
qcocoansmenu.mm File Reference

(76d861f39f5d063a0e065c7e3646606ed6a3b9d1)

#include <AppKit/AppKit.h>
#include "qcocoansmenu.h"
#include "qcocoamenu.h"
#include "qcocoamenuitem.h"
#include "qcocoamenubar.h"
#include "qcocoawindow.h"
#include "qnsview.h"
#include "qcocoahelpers.h"
#include <QtCore/qcoreapplication.h>
#include <QtCore/qcoreevent.h>
#include <QtCore/qvarlengtharray.h>
#include <QtGui/private/qapplekeymapper_p.h>
#include <QtCore/qpointer.h>
Include dependency graph for qcocoansmenu.mm:

Go to the source code of this file.

Macros

#define CHECK_MENU_CLASS(menu)

Functions

static NSString * qt_mac_removePrivateUnicode (NSString *string)

Macro Definition Documentation

◆ CHECK_MENU_CLASS

#define CHECK_MENU_CLASS ( menu)
Value:
Q_ASSERT_X([menu isMemberOfClass:[QCocoaNSMenu class]], \
__FUNCTION__, "Menu is not a QCocoaNSMenu")
#define Q_ASSERT_X(cond, x, msg)
Definition qrandom.cpp:49
QMenu menu
[5]

Definition at line 115 of file qcocoansmenu.mm.

Function Documentation

◆ qt_mac_removePrivateUnicode()

NSString * qt_mac_removePrivateUnicode ( NSString * string)
static

Definition at line 22 of file qcocoansmenu.mm.