24 #ifndef STARTUPSOUND_H 25 #define STARTUPSOUND_H 28 #include <QMediaPlayer> 54 void enable (
bool enabled);
55 void play (
double volume);
62 #endif // STARTUPSOUND_H QMediaPlayer mPlayer
Pointer to the player.
QString mResourceFile
Resource file object.
void play(double volume)
Play startup sound.
void enable(bool enabled)
Public slot: Enable / disable startup sound.
StartupSound(const QString &resourcefile)
Constructor.
bool isEnabled()
StartupSound::isEnabled.
Class for playing a startup soundThis module manages to play a short audio file at startup (welcome j...
Base class for managing log messages.