diff options
Diffstat (limited to 'src/widgets/platforms/mac/qeventdispatcher_mac_p.h')
-rw-r--r-- | src/widgets/platforms/mac/qeventdispatcher_mac_p.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/widgets/platforms/mac/qeventdispatcher_mac_p.h b/src/widgets/platforms/mac/qeventdispatcher_mac_p.h index f4cf16e8a0..241adf2fce 100644 --- a/src/widgets/platforms/mac/qeventdispatcher_mac_p.h +++ b/src/widgets/platforms/mac/qeventdispatcher_mac_p.h @@ -95,14 +95,12 @@ QT_BEGIN_NAMESPACE -#ifdef QT_MAC_USE_COCOA typedef struct _NSModalSession *NSModalSession; typedef struct _QCocoaModalSessionInfo { QPointer<QWidget> widget; NSModalSession session; void *nswindow; } QCocoaModalSessionInfo; -#endif class QEventDispatcherMacPrivate; @@ -170,7 +168,6 @@ public: // low-level cocoa functions (like beginModalForWindow). And // use a QBoolBlocker to be safe: static bool blockSendPostedEvents; -#ifdef QT_MAC_USE_COCOA // The following variables help organizing modal sessions: static QStack<QCocoaModalSessionInfo> cocoaModalSessionStack; static bool currentExecIsNSAppRun; @@ -185,7 +182,6 @@ public: static void cancelWaitForMoreEvents(); static void cleanupModalSessions(); static void ensureNSAppInitialized(); -#endif MacSocketHash macSockets; QList<void *> queuedUserInputEvents; // List of EventRef in Carbon, and NSEvent * in Cocoa @@ -204,7 +200,6 @@ private: static void firstLoopEntry(CFRunLoopObserverRef ref, CFRunLoopActivity activity, void *info); }; -#ifdef QT_MAC_USE_COCOA class QtMacInterruptDispatcherHelp : public QObject { static QtMacInterruptDispatcherHelp *instance; @@ -217,7 +212,6 @@ class QtMacInterruptDispatcherHelp : public QObject static void interruptLater(); static void cancelInterruptLater(); }; -#endif QT_END_NAMESPACE |