src/gui/kernel/qcocoawindow_mac_p.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
child 7 f7bc934e204c
--- a/src/gui/kernel/qcocoawindow_mac_p.h	Tue Jan 26 12:42:25 2010 +0200
+++ b/src/gui/kernel/qcocoawindow_mac_p.h	Tue Feb 02 00:43:10 2010 +0200
@@ -50,13 +50,18 @@
 // We mean it.
 //
 
+#ifdef QT_MAC_USE_COCOA
 #include "qmacdefines_mac.h"
-#ifdef QT_MAC_USE_COCOA
 #import <Cocoa/Cocoa.h>
 
 enum { QtMacCustomizeWindow = 1 << 21 }; // This will one day be run over by
 
 QT_FORWARD_DECLARE_CLASS(QWidget);
+QT_FORWARD_DECLARE_CLASS(QStringList);
+
+@interface NSWindow (QtCoverForHackWithCategory)
++ (Class)frameViewClassForStyleMask:(NSUInteger)styleMask;
+@end
 
 @interface NSWindow (QT_MANGLE_NAMESPACE(QWidgetIntegration))
 - (id)QT_MANGLE_NAMESPACE(qt_initWithQWidget):(QWidget *)widget contentRect:(NSRect)rect styleMask:(NSUInteger)mask;
@@ -70,3 +75,4 @@
 + (Class)frameViewClassForStyleMask:(NSUInteger)styleMask;
 @end
 #endif
+