KVIrc 5.2.0
Developer APIs
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 ()
 
bool event (QEvent *e) override
 
bool playNull (const QString &szFileName)
 
bool playQt (const QString &szFileName)
 COMPILE_PHONON_SUPPORT.
 
void registerSoundThread (KviSoundThread *t)
 
void stopAllSoundThreads ()
 
void unregisterSoundThread (KviSoundThread *t)
 

Protected Attributes

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

Friends

class KviSoundThread
 

Constructor & Destructor Documentation

◆ KviSoundPlayer()

KviSoundPlayer::KviSoundPlayer ( )

◆ ~KviSoundPlayer()

KviSoundPlayer::~KviSoundPlayer ( )
virtual

Member Function Documentation

◆ cleanupAfterLastPlayerEntry()

void KviSoundPlayer::cleanupAfterLastPlayerEntry ( )
protected

◆ cleanupNull()

void KviSoundPlayer::cleanupNull ( )
protected

Referenced by KviSoundPlayer().

◆ cleanupQt()

void KviSoundPlayer::cleanupQt ( )
protected

Referenced by KviSoundPlayer().

◆ detectSoundSystem()

void KviSoundPlayer::detectSoundSystem ( )

◆ event()

bool KviSoundPlayer::event ( QEvent *  e)
overrideprotected

References e, KVI_THREAD_EVENT, and t.

◆ getAvailableSoundSystems()

void KviSoundPlayer::getAvailableSoundSystems ( QStringList *  l)

◆ havePlayingSounds()

bool KviSoundPlayer::havePlayingSounds ( )

◆ isMuted()

bool KviSoundPlayer::isMuted ( )
inline

◆ play()

bool KviSoundPlayer::play ( const QString &  szFileName)

◆ playNull()

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

Referenced by KviSoundPlayer().

◆ playQt()

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

COMPILE_PHONON_SUPPORT.

COMPILE_ON_WINDOWS COMPILE_ON_WINDOWS

References isMuted().

Referenced by KviSoundPlayer().

◆ registerSoundThread()

void KviSoundPlayer::registerSoundThread ( KviSoundThread t)
protected

◆ setMuted()

void KviSoundPlayer::setMuted ( bool  muted)
inline

◆ stopAllSoundThreads()

void KviSoundPlayer::stopAllSoundThreads ( )
protected

◆ unregisterSoundThread()

void KviSoundPlayer::unregisterSoundThread ( KviSoundThread t)
protected

Friends And Related Symbol Documentation

◆ KviSoundThread

friend class KviSoundThread
friend

Member Data Documentation

◆ m_pLastUsedSoundPlayerEntry

KviSoundPlayerEntry* KviSoundPlayer::m_pLastUsedSoundPlayerEntry
protected

COMPILE_PHONON_SUPPORT.

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

◆ m_pSoundSystemDict

KviPointerHashTable<QString, KviSoundPlayerEntry>* KviSoundPlayer::m_pSoundSystemDict
protected

◆ m_pThreadList

KviPointerList<KviSoundThread>* KviSoundPlayer::m_pThreadList
protected

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