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/kernel/qsound_mac.mm

    r769 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)
     
    8989QT_USE_NAMESPACE
    9090
    91 @interface QMacSoundDelegate : NSObject<NSSoundDelegate> {
     91@interface QT_MANGLE_NAMESPACE(QMacSoundDelegate) : NSObject<NSSoundDelegate> {
    9292    QSound *qSound; // may be null.
    9393    QAuServerMac* server;
     
    9696@end
    9797
    98 @implementation QMacSoundDelegate
     98@implementation QT_MANGLE_NAMESPACE(QMacSoundDelegate)
    9999-(id)initWithQSound:(QSound*)s:(QAuServerMac*)serv {
    100100    self = [super init];
     
    173173    NSString *nsFileName = const_cast<NSString *>(reinterpret_cast<const NSString *>(QCFString::toCFStringRef(fileName)));
    174174    NSSound * const nsSound = [[NSSound alloc] initWithContentsOfFile: nsFileName byReference:YES];
    175     QMacSoundDelegate * const delegate = [[QMacSoundDelegate alloc] initWithQSound:qSound:this];
     175    QT_MANGLE_NAMESPACE(QMacSoundDelegate) * const delegate = [[QT_MANGLE_NAMESPACE(QMacSoundDelegate) alloc] initWithQSound:qSound:this];
    176176    [nsSound setDelegate:delegate];
    177177    [nsFileName release];
Note: See TracChangeset for help on using the changeset viewer.