Changeset 846 for trunk/src/gui/dialogs/qnspanelproxy_mac.mm
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/dialogs/qnspanelproxy_mac.mm
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 53 53 QT_USE_NAMESPACE 54 54 55 @class Q NSPanelProxy;56 57 @interface Q NSPanelProxy: NSWindow {55 @class QT_MANGLE_NAMESPACE(QNSPanelProxy); 56 57 @interface QT_MANGLE_NAMESPACE(QNSPanelProxy) : NSWindow { 58 58 } 59 59 - (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)windowStyle … … 67 67 @end 68 68 69 @implementation Q NSPanelProxy69 @implementation QT_MANGLE_NAMESPACE(QNSPanelProxy) 70 70 - (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)windowStyle 71 71 backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation … … 109 109 @end 110 110 111 @class Q NSWindowProxy;112 113 @interface Q NSWindowProxy: NSWindow {111 @class QT_MANGLE_NAMESPACE(QNSWindowProxy); 112 113 @interface QT_MANGLE_NAMESPACE(QNSWindowProxy) : NSWindow { 114 114 } 115 115 - (void)setTitle:(NSString *)title; … … 117 117 @end 118 118 119 @implementation Q NSWindowProxy119 @implementation QT_MANGLE_NAMESPACE(QNSWindowProxy) 120 120 - (void)setTitle:(NSString *)title 121 121 { … … 191 191 macStartIntercept(@selector(initWithContentRect:styleMask:backing:defer:), 192 192 @selector(qt_fakeInitWithContentRect:styleMask:backing:defer:), 193 [NSPanel class], [Q NSPanelProxyclass]);193 [NSPanel class], [QT_MANGLE_NAMESPACE(QNSPanelProxy) class]); 194 194 macStartIntercept(@selector(initWithContentRect:styleMask:backing:defer:screen:), 195 195 @selector(qt_fakeInitWithContentRect:styleMask:backing:defer:screen:), 196 [NSPanel class], [Q NSPanelProxyclass]);196 [NSPanel class], [QT_MANGLE_NAMESPACE(QNSPanelProxy) class]); 197 197 } 198 198 … … 204 204 macStopIntercept(@selector(initWithContentRect:styleMask:backing:defer:screen:), 205 205 @selector(qt_fakeInitWithContentRect:styleMask:backing:defer:screen:), 206 [NSPanel class], [Q NSPanelProxyclass]);206 [NSPanel class], [QT_MANGLE_NAMESPACE(QNSPanelProxy) class]); 207 207 macStopIntercept(@selector(initWithContentRect:styleMask:backing:defer:), 208 208 @selector(qt_fakeInitWithContentRect:styleMask:backing:defer:), 209 [NSPanel class], [Q NSPanelProxyclass]);209 [NSPanel class], [QT_MANGLE_NAMESPACE(QNSPanelProxy) class]); 210 210 } 211 211 … … 218 218 currentWindow = window; 219 219 macStartIntercept(@selector(setTitle:), @selector(qt_fakeSetTitle:), 220 [NSWindow class], [Q NSWindowProxyclass]);220 [NSWindow class], [QT_MANGLE_NAMESPACE(QNSWindowProxy) class]); 221 221 } 222 222 … … 228 228 currentWindow = 0; 229 229 macStopIntercept(@selector(setTitle:), @selector(qt_fakeSetTitle:), 230 [NSWindow class], [Q NSWindowProxyclass]);230 [NSWindow class], [QT_MANGLE_NAMESPACE(QNSWindowProxy) class]); 231 231 } 232 232
Note:
See TracChangeset
for help on using the changeset viewer.