Qt 4.8
Classes | Typedefs | Functions | Variables
qsound_mac.mm File Reference
#include <qapplication.h>
#include "qsound.h"
#include "qsound_p.h"
#include <private/qt_mac_p.h>
#include <qhash.h>
#include <qdebug.h>
#import <AppKit/AppKit.h>
#include <AppKit/NSSound.h>
#include "qsound_mac.moc"

Go to the source code of this file.

Classes

protocol  <NSSoundDelegate >
 
class  QAuServerMac
 
class  QMacSoundDelegate
 

Typedefs

typedef QHash< QSound *, NSSound const * > Sounds
 

Functions

void qt_mac_beep ()
 
QAuServerqt_new_audio_server ()
 

Variables

static Sounds sounds
 

Typedef Documentation

◆ Sounds

typedef QHash<QSound *, NSSound const *> Sounds

Definition at line 64 of file qsound_mac.mm.

Function Documentation

◆ qt_mac_beep()

void qt_mac_beep ( )

Definition at line 53 of file qsound_mac.mm.

Referenced by QApplication::beep().

54 {
55  NSBeep();
56 }

◆ qt_new_audio_server()

QAuServer* qt_new_audio_server ( )

Definition at line 181 of file qsound_mac.mm.

182 {
183  return new QAuServerMac(qApp);
184 }
#define qApp

Variable Documentation

◆ sounds

Sounds sounds
static

Definition at line 65 of file qsound_mac.mm.