aboutsummaryrefslogtreecommitdiffstats
path: root/src/macextras/qmacfunctions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macextras/qmacfunctions.h')
-rw-r--r--src/macextras/qmacfunctions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macextras/qmacfunctions.h b/src/macextras/qmacfunctions.h
index 7b3bd51..e2dc048 100644
--- a/src/macextras/qmacfunctions.h
+++ b/src/macextras/qmacfunctions.h
@@ -64,6 +64,7 @@ typedef struct objc_object NSMenu;
QT_BEGIN_NAMESPACE
class QMenu;
+class QMenuBar;
class QPixmap;
class QString;
@@ -80,6 +81,7 @@ Q_MACEXTRAS_EXPORT QPixmap fromMacCGImageRef(CGImageRef image);
#ifndef Q_OS_IOS
Q_MACEXTRAS_EXPORT NSMenu* toNSMenu(QMenu *menu);
+Q_MACEXTRAS_EXPORT NSMenu *toNSMenu(QMenuBar *menubar);
Q_MACEXTRAS_EXPORT NSImage* toMacNSImage(const QPixmap &pixmap);
Q_MACEXTRAS_EXPORT NSImage* toMacNSImage(const QPixmap &pixmap);
#endif