equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: QT C++ based Class. |
|
15 */ |
|
16 |
|
17 #ifndef UISETTING_H_ |
|
18 #define UISETTING_H_ |
|
19 #include <QHash> |
|
20 |
|
21 class UiSetting |
|
22 { |
|
23 public: |
|
24 UiSetting(); |
|
25 ~UiSetting(); |
|
26 |
|
27 public: |
|
28 QString ReadSetting(const QString& item); |
|
29 void SetSetting(const QString& item,const QString& value); |
|
30 |
|
31 private: |
|
32 bool load(); |
|
33 bool save(); |
|
34 void loadDefault(); |
|
35 |
|
36 private: |
|
37 QHash<QString, QString> settingList; |
|
38 }; |
|
39 |
|
40 #endif /* UISETTING_H_ */ |