equal
deleted
inserted
replaced
21 |
21 |
22 #include <QSettings> |
22 #include <QSettings> |
23 #include <QStringList> |
23 #include <QStringList> |
24 #include <QRect> |
24 #include <QRect> |
25 #include <QEvent> |
25 #include <QEvent> |
|
26 #include <QList> |
|
27 #include "binds.h" |
26 |
28 |
27 class HWForm; |
29 class HWForm; |
28 class QSettings; |
30 class QSettings; |
29 |
31 |
30 class GameUIConfig : public QSettings |
32 class GameUIConfig : public QSettings |
62 bool isFrontendEffects() const; |
64 bool isFrontendEffects() const; |
63 bool isFrontendFullscreen() const; |
65 bool isFrontendFullscreen() const; |
64 void resizeToConfigValues(); |
66 void resizeToConfigValues(); |
65 quint32 stereoMode() const; |
67 quint32 stereoMode() const; |
66 void setValue(const QString & key, const QVariant & value); |
68 void setValue(const QString & key, const QVariant & value); |
|
69 QString bind(int bindID); |
|
70 void setBind(int bindID, QString & strbind); |
67 |
71 |
68 QString AVFormat(); |
72 QString AVFormat(); |
69 QString videoCodec(); |
73 QString videoCodec(); |
70 QString audioCodec(); |
74 QString audioCodec(); |
71 QRect rec_Resolution(); |
75 QRect rec_Resolution(); |
89 void SaveVideosOptions(); |
93 void SaveVideosOptions(); |
90 void updNetNick(); |
94 void updNetNick(); |
91 private: |
95 private: |
92 bool netPasswordIsValid(); |
96 bool netPasswordIsValid(); |
93 bool eventFilter(QObject *object, QEvent *event); |
97 bool eventFilter(QObject *object, QEvent *event); |
94 QString temphash; |
98 QString temphash; |
|
99 QList<BindAction> m_binds; |
95 }; |
100 }; |
96 |
101 |
97 #endif |
102 #endif |