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
qcocoamenuitem.h File Reference

(4a7c76d4a5365343178ea29c8a8e9b8d8acb89b5)

#include <qpa/qplatformmenu.h>
#include <QtGui/QImage>
#include <QtCore/qpointer.h>
+ Include dependency graph for qcocoamenuitem.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QCocoaMenuObject
 
class  QCocoaMenuItem
 

Enumerations

enum  {
  AboutAppMenuItem = 0 , PreferencesAppMenuItem , ServicesAppMenuItem , HideAppMenuItem ,
  HideOthersAppMenuItem , ShowAllAppMenuItem , QuitAppMenuItem
}
 

Functions

 Q_FORWARD_DECLARE_OBJC_CLASS (NSMenuItem)
 
 Q_FORWARD_DECLARE_OBJC_CLASS (NSMenu)
 
 Q_FORWARD_DECLARE_OBJC_CLASS (NSObject)
 
 Q_FORWARD_DECLARE_OBJC_CLASS (NSView)
 
QString qt_mac_applicationmenu_string (int type)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
AboutAppMenuItem 
PreferencesAppMenuItem 
ServicesAppMenuItem 
HideAppMenuItem 
HideOthersAppMenuItem 
ShowAllAppMenuItem 
QuitAppMenuItem 

Definition at line 20 of file qcocoamenuitem.h.

Function Documentation

◆ Q_FORWARD_DECLARE_OBJC_CLASS() [1/4]

Q_FORWARD_DECLARE_OBJC_CLASS ( NSMenu )

◆ Q_FORWARD_DECLARE_OBJC_CLASS() [2/4]

Q_FORWARD_DECLARE_OBJC_CLASS ( NSMenuItem )

◆ Q_FORWARD_DECLARE_OBJC_CLASS() [3/4]

Q_FORWARD_DECLARE_OBJC_CLASS ( NSObject )

◆ Q_FORWARD_DECLARE_OBJC_CLASS() [4/4]

Q_FORWARD_DECLARE_OBJC_CLASS ( NSView )

◆ qt_mac_applicationmenu_string()

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: