equal
deleted
inserted
replaced
|
1 /* |
|
2 * uisetting.h |
|
3 * |
|
4 * Created on: 2010-2-8 |
|
5 * Author: y183zhan |
|
6 */ |
|
7 |
|
8 #ifndef UISETTING_H_ |
|
9 #define UISETTING_H_ |
|
10 #include <QHash> |
|
11 |
|
12 class UiSetting |
|
13 { |
|
14 public: |
|
15 UiSetting(); |
|
16 ~UiSetting(); |
|
17 |
|
18 public: |
|
19 QString ReadSetting(const QString& item); |
|
20 void SetSetting(const QString& item,const QString& value); |
|
21 |
|
22 private: |
|
23 bool load(); |
|
24 bool save(); |
|
25 void loadDefault(); |
|
26 |
|
27 private: |
|
28 QHash<QString, QString> settingList; |
|
29 }; |
|
30 |
|
31 #endif /* UISETTING_H_ */ |