diff -r b72c6db6890b -r 5dc02b23752f src/gui/kernel/qsound_mac.mm --- a/src/gui/kernel/qsound_mac.mm Wed Jun 23 19:07:03 2010 +0300 +++ b/src/gui/kernel/qsound_mac.mm Tue Jul 06 15:10:48 2010 +0300 @@ -88,14 +88,14 @@ QT_USE_NAMESPACE -@interface QMacSoundDelegate : NSObject { +@interface QT_MANGLE_NAMESPACE(QMacSoundDelegate) : NSObject { QSound *qSound; // may be null. QAuServerMac* server; } -(id)initWithQSound:(QSound*)sound:(QAuServerMac*)server; @end -@implementation QMacSoundDelegate +@implementation QT_MANGLE_NAMESPACE(QMacSoundDelegate) -(id)initWithQSound:(QSound*)s:(QAuServerMac*)serv { self = [super init]; if(self) { @@ -172,7 +172,7 @@ { NSString *nsFileName = const_cast(reinterpret_cast(QCFString::toCFStringRef(fileName))); NSSound * const nsSound = [[NSSound alloc] initWithContentsOfFile: nsFileName byReference:YES]; - QMacSoundDelegate * const delegate = [[QMacSoundDelegate alloc] initWithQSound:qSound:this]; + QT_MANGLE_NAMESPACE(QMacSoundDelegate) * const delegate = [[QT_MANGLE_NAMESPACE(QMacSoundDelegate) alloc] initWithQSound:qSound:this]; [nsSound setDelegate:delegate]; [nsFileName release]; return nsSound;