From 9f896b86b671b3a05314d2013a315d996b456f95 Mon Sep 17 00:00:00 2001 From: manuel Date: Sat, 9 Apr 2011 15:03:50 +0200 Subject: add toggle audio icon --- pacman-c++/audioplayer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pacman-c++/audioplayer.h') diff --git a/pacman-c++/audioplayer.h b/pacman-c++/audioplayer.h index dd0c25a..567ccb1 100644 --- a/pacman-c++/audioplayer.h +++ b/pacman-c++/audioplayer.h @@ -28,13 +28,14 @@ public: public: AudioPlayer(); static AudioPlayer *self(); - bool isWorking(); + bool isWorking() const; void stop(); void setMuted(bool mute = true); + bool isMuted() const; void play(Sound sound); void clear(); void enqueue(Sound sound); - void clearQueue(); + void clearQueue() const; Phonon::State state(); signals: -- cgit v1.2.3