From 4c8c448a6de8b33e4a64271d6b2d0d25e00043ab Mon Sep 17 00:00:00 2001 From: manuel Date: Sat, 9 Apr 2011 16:01:36 +0200 Subject: store sound muted in local settings --- pacman-c++/client.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pacman-c++/client.h') diff --git a/pacman-c++/client.h b/pacman-c++/client.h index 476b972..2d507e2 100644 --- a/pacman-c++/client.h +++ b/pacman-c++/client.h @@ -10,9 +10,18 @@ class Client Q_OBJECT public: Client(); + QSettings *settings(); + +public slots: + void toggleSound() const; + void mutedChanged(bool) const; + +private: + void createMenu(); private: MainWidget *m_mainWidget; + QSettings *m_settings; }; #endif // CLIENT_H -- cgit v1.2.3