Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/dialogs/qnspanelproxy_mac.mm

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    5353QT_USE_NAMESPACE
    5454
    55 @class QNSPanelProxy;
    56 
    57 @interface QNSPanelProxy : NSWindow {
     55@class QT_MANGLE_NAMESPACE(QNSPanelProxy);
     56
     57@interface QT_MANGLE_NAMESPACE(QNSPanelProxy) : NSWindow {
    5858}
    5959- (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)windowStyle
     
    6767@end
    6868
    69 @implementation QNSPanelProxy
     69@implementation QT_MANGLE_NAMESPACE(QNSPanelProxy)
    7070- (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)windowStyle
    7171      backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation
     
    109109@end
    110110
    111 @class QNSWindowProxy;
    112 
    113 @interface QNSWindowProxy : NSWindow {
     111@class QT_MANGLE_NAMESPACE(QNSWindowProxy);
     112
     113@interface QT_MANGLE_NAMESPACE(QNSWindowProxy) : NSWindow {
    114114}
    115115- (void)setTitle:(NSString *)title;
     
    117117@end
    118118
    119 @implementation QNSWindowProxy
     119@implementation QT_MANGLE_NAMESPACE(QNSWindowProxy)
    120120- (void)setTitle:(NSString *)title
    121121{
     
    191191    macStartIntercept(@selector(initWithContentRect:styleMask:backing:defer:),
    192192                      @selector(qt_fakeInitWithContentRect:styleMask:backing:defer:),
    193                       [NSPanel class], [QNSPanelProxy class]);
     193                      [NSPanel class], [QT_MANGLE_NAMESPACE(QNSPanelProxy) class]);
    194194    macStartIntercept(@selector(initWithContentRect:styleMask:backing:defer:screen:),
    195195                      @selector(qt_fakeInitWithContentRect:styleMask:backing:defer:screen:),
    196                       [NSPanel class], [QNSPanelProxy class]);
     196                      [NSPanel class], [QT_MANGLE_NAMESPACE(QNSPanelProxy) class]);
    197197}
    198198
     
    204204    macStopIntercept(@selector(initWithContentRect:styleMask:backing:defer:screen:),
    205205                     @selector(qt_fakeInitWithContentRect:styleMask:backing:defer:screen:),
    206                      [NSPanel class], [QNSPanelProxy class]);
     206                     [NSPanel class], [QT_MANGLE_NAMESPACE(QNSPanelProxy) class]);
    207207    macStopIntercept(@selector(initWithContentRect:styleMask:backing:defer:),
    208208                     @selector(qt_fakeInitWithContentRect:styleMask:backing:defer:),
    209                      [NSPanel class], [QNSPanelProxy class]);
     209                     [NSPanel class], [QT_MANGLE_NAMESPACE(QNSPanelProxy) class]);
    210210}
    211211
     
    218218    currentWindow = window;
    219219    macStartIntercept(@selector(setTitle:), @selector(qt_fakeSetTitle:),
    220                       [NSWindow class], [QNSWindowProxy class]);
     220                      [NSWindow class], [QT_MANGLE_NAMESPACE(QNSWindowProxy) class]);
    221221}
    222222
     
    228228    currentWindow = 0;
    229229    macStopIntercept(@selector(setTitle:), @selector(qt_fakeSetTitle:),
    230                      [NSWindow class], [QNSWindowProxy class]);
     230                     [NSWindow class], [QT_MANGLE_NAMESPACE(QNSWindowProxy) class]);
    231231}
    232232
Note: See TracChangeset for help on using the changeset viewer.