summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-05 11:01:48 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-05 11:01:48 (GMT)
commit348a4f13c5f00a27ad5c7e4f392948de7cc454e3 (patch)
tree43392423f5939190075d62aaae1478f52571af5c /Swift/QtUI/QtLoginWindow.h
parent326cd32e2c9e3ec9bac54f5bb952928680c93749 (diff)
downloadswift-348a4f13c5f00a27ad5c7e4f392948de7cc454e3.zip
swift-348a4f13c5f00a27ad5c7e4f392948de7cc454e3.tar.bz2
Persist Sound Toggleness.
Resolves: #192
Diffstat (limited to 'Swift/QtUI/QtLoginWindow.h')
-rw-r--r--Swift/QtUI/QtLoginWindow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/QtUI/QtLoginWindow.h b/Swift/QtUI/QtLoginWindow.h
index 40ea4ec..69327e9 100644
--- a/Swift/QtUI/QtLoginWindow.h
+++ b/Swift/QtUI/QtLoginWindow.h
@@ -10,6 +10,7 @@
#include <QMenuBar>
#include "Swift/Controllers/UIInterfaces/LoginWindow.h"
+#include "Swift/Controllers/UIEvents/UIEventStream.h"
#include "Swift/Controllers/MainWindow.h"
#include "QtAboutWidget.h"
@@ -18,7 +19,6 @@ class QToolButton;
class QComboBox;
namespace Swift {
- class UIEventStream;
class QtLoginWindow : public QMainWindow, public LoginWindow {
Q_OBJECT
public:
@@ -45,6 +45,7 @@ namespace Swift {
void handleUsernameTextChanged();
void resizeEvent(QResizeEvent* event);
void moveEvent(QMoveEvent* event);
+ void handleUIEvent(boost::shared_ptr<UIEvent> event);
private:
void setInitialMenus();
@@ -62,6 +63,7 @@ namespace Swift {
QMenuBar* menuBar_;
QMenu* swiftMenu_;
QMenu* toolsMenu_;
+ QAction* toggleSoundsAction_;
UIEventStream* uiEventStream_;
QPointer<QtAboutWidget> aboutDialog_;
};