43 #ifdef QT_MAC_USE_COCOA 44 #import <private/qcocoawindow_mac_p.h> 45 #import <private/qcocoawindowdelegate_mac_p.h> 46 #import <private/qcocoaview_mac_p.h> 47 #import <private/qt_cocoa_helpers_mac_p.h> 48 #import <private/qcocoawindowcustomthemeframe_mac_p.h> 49 #import <private/qcocoaapplication_mac_p.h> 50 #import <private/qdnd_p.h> 51 #import <private/qmultitouch_mac_p.h> 53 #include <QtGui/QWidget> 62 self = [
self initWithContentRect:rect styleMask:mask backing:NSBackingStoreBuffered defer:YES];
64 [[QT_MANGLE_NAMESPACE(QCocoaWindowDelegate) sharedDelegate] becomeDelegateForWindow:self widget:widget];
65 [
self setReleasedWhenClosed:NO];
74 widget = [[QT_MANGLE_NAMESPACE(QCocoaWindowDelegate) sharedDelegate] qt_qwidgetForWindow:self];
80 @implementation QT_MANGLE_NAMESPACE(QCocoaWindow)
QPointer< QWidget > widget
#define QT_FORWARD_DECLARE_CLASS(name)
#define QT_MANGLE_NAMESPACE(name)
#define QT_USE_NAMESPACE
This macro expands to using QT_NAMESPACE if QT_NAMESPACE is defined and nothing otherwise.