QAbstractEventDispatcher *mEventDispatcher;
QScopedPointer<QPlatformInputContext> mInputContext;
+#ifndef QT_NO_ACCESSIBILITY
QScopedPointer<QPlatformAccessibility> mAccessibility;
+#endif
QScopedPointer<QPlatformTheme> mPlatformTheme;
QList<QCocoaScreen *> mScreens;
QCocoaClipboard *mCocoaClipboard;
: mFontDb(new QCoreTextFontDatabase())
, mEventDispatcher(new QCocoaEventDispatcher())
, mInputContext(new QCocoaInputContext)
+#ifndef QT_NO_ACCESSIBILITY
, mAccessibility(new QPlatformAccessibility)
+#endif
, mCocoaClipboard(new QCocoaClipboard)
, mCocoaDrag(new QCocoaDrag)
, mNativeInterface(new QCocoaNativeInterface)
QPlatformAccessibility *QCocoaIntegration::accessibility() const
{
+#ifndef QT_NO_ACCESSIBILITY
return mAccessibility.data();
+#else
+ return 0;
+#endif
}
QPlatformClipboard *QCocoaIntegration::clipboard() const