summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorMorten Sorvig <morten.sorvig@nokia.com>2011-07-05 11:05:51 +0200
committerMorten Sorvig <morten.sorvig@nokia.com>2011-07-05 11:05:51 +0200
commit14757fedb2e4a92fb37a90a88485107909f4f5e1 (patch)
tree9de0c75523f92282648078850de9bd97d2860568 /src/widgets
parent9252742ba8dda41aa12d29198422cf59f1628fb3 (diff)
Remove Carbon Mac defines
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/platforms/mac/qmacdefines_mac.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/widgets/platforms/mac/qmacdefines_mac.h b/src/widgets/platforms/mac/qmacdefines_mac.h
index 02360873e4..d0accf872f 100644
--- a/src/widgets/platforms/mac/qmacdefines_mac.h
+++ b/src/widgets/platforms/mac/qmacdefines_mac.h
@@ -117,7 +117,6 @@ typedef signed long OSStatus;
# undef old_slots
# endif
#endif
-#ifdef QT_MAC_USE_COCOA
typedef struct OpaqueEventHandlerCallRef * EventHandlerCallRef;
typedef struct OpaqueEventRef * EventRef;
typedef struct OpaqueMenuRef * MenuRef;
@@ -142,27 +141,6 @@ typedef signed long OSStatus;
typedef void *OSMenuRef;
typedef void *OSEventRef;
# endif
-#else // Carbon
- typedef struct OpaqueEventHandlerCallRef * EventHandlerCallRef;
- typedef struct OpaqueEventRef * EventRef;
- typedef struct OpaqueMenuRef * MenuRef;
- typedef struct OpaquePasteboardRef* PasteboardRef;
- typedef struct OpaqueRgnHandle * RgnHandle;
- typedef const struct __HIShape *HIShapeRef;
- typedef struct __HIShape *HIMutableShapeRef;
- typedef struct CGRect CGRect;
- typedef struct CGImage *CGImageRef;
- typedef struct CGContext *CGContextRef;
- typedef struct GDevice * GDPtr;
- typedef GDPtr * GDHandle;
- typedef struct OpaqueIconRef * IconRef;
- typedef struct OpaqueWindowPtr * WindowRef;
- typedef struct OpaqueControlRef * HIViewRef;
- typedef WindowRef OSWindowRef;
- typedef HIViewRef OSViewRef;
- typedef MenuRef OSMenuRef;
- typedef EventRef OSEventRef;
-#endif // QT_MAC_USE_COCOA
typedef PasteboardRef OSPasteboardRef;
typedef struct AEDesc AEDescList;