Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SoundData Class Reference

Collaboration diagram for SoundData:

Collaboration graph
[legend]
List of all members.

Signals

void stopped ()

Public Member Functions

 SoundData (const QString &name)
void playLoop (int loopcnt=-1)
void timerEvent (QTimerEvent *e)
bool isFinished () const
void killTimers ()

Private Attributes

QString filename
int loopsleft
int ms

Constructor & Destructor Documentation

SoundData::SoundData const QString name  )  [inline]
 

Definition at line 109 of file sound.cpp.

References filename, loopsleft, ms, and WAVsoundDuration().


Member Function Documentation

bool SoundData::isFinished  )  const [inline]
 

Definition at line 139 of file sound.cpp.

References loopsleft.

Referenced by Sound::isFinished().

void SoundData::killTimers  )  [inline]
 

Definition at line 148 of file sound.cpp.

References stopped().

Referenced by Sound::play(), Sound::playLoop(), and Sound::stop().

void SoundData::playLoop int  loopcnt = -1  )  [inline]
 

Definition at line 117 of file sound.cpp.

References loopsleft, and ms.

Referenced by Sound::play(), and Sound::playLoop().

void SoundData::stopped  )  [signal]
 

Referenced by killTimers().

void SoundData::timerEvent QTimerEvent *  e  )  [inline]
 

Definition at line 127 of file sound.cpp.

References loopsleft.


Member Data Documentation

QString SoundData::filename [private]
 

Definition at line 154 of file sound.cpp.

Referenced by SoundData().

int SoundData::loopsleft [private]
 

Definition at line 155 of file sound.cpp.

Referenced by isFinished(), playLoop(), SoundData(), and timerEvent().

int SoundData::ms [private]
 

Definition at line 156 of file sound.cpp.

Referenced by playLoop(), and SoundData().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:52:16 2005 for OPIE by  doxygen 1.4.2