Changeset 846 for trunk/src/gui/kernel/qsound_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/kernel/qsound_mac.mm
r769 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) … … 89 89 QT_USE_NAMESPACE 90 90 91 @interface Q MacSoundDelegate: NSObject<NSSoundDelegate> {91 @interface QT_MANGLE_NAMESPACE(QMacSoundDelegate) : NSObject<NSSoundDelegate> { 92 92 QSound *qSound; // may be null. 93 93 QAuServerMac* server; … … 96 96 @end 97 97 98 @implementation Q MacSoundDelegate98 @implementation QT_MANGLE_NAMESPACE(QMacSoundDelegate) 99 99 -(id)initWithQSound:(QSound*)s:(QAuServerMac*)serv { 100 100 self = [super init]; … … 173 173 NSString *nsFileName = const_cast<NSString *>(reinterpret_cast<const NSString *>(QCFString::toCFStringRef(fileName))); 174 174 NSSound * const nsSound = [[NSSound alloc] initWithContentsOfFile: nsFileName byReference:YES]; 175 Q MacSoundDelegate * const delegate = [[QMacSoundDelegatealloc] initWithQSound:qSound:this];175 QT_MANGLE_NAMESPACE(QMacSoundDelegate) * const delegate = [[QT_MANGLE_NAMESPACE(QMacSoundDelegate) alloc] initWithQSound:qSound:this]; 176 176 [nsSound setDelegate:delegate]; 177 177 [nsFileName release];
Note:
See TracChangeset
for help on using the changeset viewer.