aboutsummaryrefslogtreecommitdiffstats
path: root/src/macextras/qtmacfunctions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macextras/qtmacfunctions.h')
-rw-r--r--src/macextras/qtmacfunctions.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/macextras/qtmacfunctions.h b/src/macextras/qtmacfunctions.h
index f168a12..cf8bcb8 100644
--- a/src/macextras/qtmacfunctions.h
+++ b/src/macextras/qtmacfunctions.h
@@ -67,17 +67,21 @@ class QMenu;
class QPixmap;
class QString;
+#ifndef Q_OS_IOS
Q_MACEXTRAS_EXPORT void qt_mac_set_dock_menu(QMenu *menu);
+#endif
namespace Qt
{
-Q_MACEXTRAS_EXPORT NSMenu* toNSMenu(QMenu *menu);
Q_MACEXTRAS_EXPORT NSString* toNSString(const QString &string);
Q_MACEXTRAS_EXPORT QString fromNSString(const NSString *string);
-
Q_MACEXTRAS_EXPORT CGImageRef toMacCGImageRef(const QPixmap &pixmap);
-Q_MACEXTRAS_EXPORT NSImage* toMacNSImage(const QPixmap &pixmap);
Q_MACEXTRAS_EXPORT QPixmap fromMacCGImageRef(CGImageRef image);
+
+#ifndef Q_OS_IOS
+Q_MACEXTRAS_EXPORT NSMenu* toNSMenu(QMenu *menu);
+Q_MACEXTRAS_EXPORT NSImage* toMacNSImage(const QPixmap &pixmap);
+#endif
}
QT_END_NAMESPACE