KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
KviSoundPlayer Class Reference

#include <libkvisnd.h>

+ Inheritance diagram for KviSoundPlayer:

Public Member Functions

void detectSoundSystem ()
 
void getAvailableSoundSystems (QStringList *l)
 
bool havePlayingSounds ()
 
bool isMuted ()
 
 KviSoundPlayer ()
 
bool play (const QString &szFileName)
 
void setMuted (bool muted)
 
virtual ~KviSoundPlayer ()
 

Protected Member Functions

void cleanupAfterLastPlayerEntry ()
 
void cleanupNull ()
 
void cleanupQt ()
 
virtual bool event (QEvent *e)
 
bool playNull (const QString &szFileName)
 
bool playQt (const QString &szFileName)
 COMPILE_PHONON_SUPPORT. More...
 
void registerSoundThread (KviSoundThread *t)
 
void stopAllSoundThreads ()
 
void unregisterSoundThread (KviSoundThread *t)
 

Protected Attributes

KviSoundPlayerEntrym_pLastUsedSoundPlayerEntry
 COMPILE_PHONON_SUPPORT. More...
 
KviPointerHashTable< QString,
KviSoundPlayerEntry > * 
m_pSoundSystemDict
 
KviPointerList< KviSoundThread > * m_pThreadList
 

Friends

class KviSoundThread
 

Constructor & Destructor Documentation

KviSoundPlayer::KviSoundPlayer ( )
KviSoundPlayer::~KviSoundPlayer ( )
virtual

Member Function Documentation

void KviSoundPlayer::cleanupAfterLastPlayerEntry ( )
protected
void KviSoundPlayer::cleanupNull ( )
protected

Referenced by KviSoundPlayer().

void KviSoundPlayer::cleanupQt ( )
protected

Referenced by KviSoundPlayer().

void KviSoundPlayer::detectSoundSystem ( )
bool KviSoundPlayer::event ( QEvent *  e)
protectedvirtual

References KVI_THREAD_EVENT, and t().

void KviSoundPlayer::getAvailableSoundSystems ( QStringList *  l)
bool KviSoundPlayer::havePlayingSounds ( )
bool KviSoundPlayer::isMuted ( )
inline
bool KviSoundPlayer::play ( const QString &  szFileName)
bool KviSoundPlayer::playNull ( const QString &  szFileName)
protected

Referenced by KviSoundPlayer().

bool KviSoundPlayer::playQt ( const QString &  szFileName)
protected

COMPILE_PHONON_SUPPORT.

COMPILE_ON_WINDOWS COMPILE_ON_WINDOWS

References isMuted().

Referenced by KviSoundPlayer().

void KviSoundPlayer::registerSoundThread ( KviSoundThread t)
protected
void KviSoundPlayer::setMuted ( bool  muted)
inline
void KviSoundPlayer::stopAllSoundThreads ( )
protected
void KviSoundPlayer::unregisterSoundThread ( KviSoundThread t)
protected

Friends And Related Function Documentation

friend class KviSoundThread
friend

Member Data Documentation

KviSoundPlayerEntry* KviSoundPlayer::m_pLastUsedSoundPlayerEntry
protected

COMPILE_PHONON_SUPPORT.

Referenced by cleanupAfterLastPlayerEntry(), KviSoundPlayer(), play(), and ~KviSoundPlayer().

KviPointerHashTable<QString, KviSoundPlayerEntry>* KviSoundPlayer::m_pSoundSystemDict
protected
KviPointerList<KviSoundThread>* KviSoundPlayer::m_pThreadList
protected

The documentation for this class was generated from the following files: