equal
deleted
inserted
replaced
48 // version without notice, or even be removed. |
48 // version without notice, or even be removed. |
49 // |
49 // |
50 // We mean it. |
50 // We mean it. |
51 // |
51 // |
52 |
52 |
|
53 #ifdef QT_MAC_USE_COCOA |
53 #include "qmacdefines_mac.h" |
54 #include "qmacdefines_mac.h" |
54 #ifdef QT_MAC_USE_COCOA |
|
55 #import <Cocoa/Cocoa.h> |
55 #import <Cocoa/Cocoa.h> |
56 |
56 |
57 enum { QtMacCustomizeWindow = 1 << 21 }; // This will one day be run over by |
57 enum { QtMacCustomizeWindow = 1 << 21 }; // This will one day be run over by |
58 |
58 |
59 QT_FORWARD_DECLARE_CLASS(QWidget); |
59 QT_FORWARD_DECLARE_CLASS(QWidget); |
|
60 QT_FORWARD_DECLARE_CLASS(QStringList); |
|
61 |
|
62 @interface NSWindow (QtCoverForHackWithCategory) |
|
63 + (Class)frameViewClassForStyleMask:(NSUInteger)styleMask; |
|
64 @end |
60 |
65 |
61 @interface NSWindow (QT_MANGLE_NAMESPACE(QWidgetIntegration)) |
66 @interface NSWindow (QT_MANGLE_NAMESPACE(QWidgetIntegration)) |
62 - (id)QT_MANGLE_NAMESPACE(qt_initWithQWidget):(QWidget *)widget contentRect:(NSRect)rect styleMask:(NSUInteger)mask; |
67 - (id)QT_MANGLE_NAMESPACE(qt_initWithQWidget):(QWidget *)widget contentRect:(NSRect)rect styleMask:(NSUInteger)mask; |
63 - (QWidget *)QT_MANGLE_NAMESPACE(qt_qwidget); |
68 - (QWidget *)QT_MANGLE_NAMESPACE(qt_qwidget); |
64 @end |
69 @end |
68 } |
73 } |
69 |
74 |
70 + (Class)frameViewClassForStyleMask:(NSUInteger)styleMask; |
75 + (Class)frameViewClassForStyleMask:(NSUInteger)styleMask; |
71 @end |
76 @end |
72 #endif |
77 #endif |
|
78 |