equal
deleted
inserted
replaced
16 */ |
16 */ |
17 |
17 |
18 #ifndef CXUISETTINGSINFO_H |
18 #ifndef CXUISETTINGSINFO_H |
19 #define CXUISETTINGSINFO_H |
19 #define CXUISETTINGSINFO_H |
20 |
20 |
|
21 /*! |
|
22 * @file |
|
23 * @brief CxUi settings related classes and constants. |
|
24 */ |
|
25 |
21 #include <QObject> |
26 #include <QObject> |
22 #include <QMap> |
27 #include <QMap> |
23 #include <QPair> |
28 #include <QPair> |
24 #include <QList> |
29 #include <QList> |
25 #include <QString> |
30 #include <QString> |
29 |
34 |
30 |
35 |
31 class CxeEngine; |
36 class CxeEngine; |
32 class CxuiSettingXmlReader; |
37 class CxuiSettingXmlReader; |
33 |
38 |
|
39 /*! |
|
40 * @namespace CxUiSettings |
|
41 * @brief Namespace for UI settings related constants and classes. |
|
42 */ |
34 namespace CxUiSettings |
43 namespace CxUiSettings |
35 { |
44 { |
36 // Setting mappings |
45 /*! Image setting definitions. */ |
37 static const char *IMAGE_SETTING_MAPPING_FILE = ":/xml/image_setting.xml"; |
46 static const char *IMAGE_SETTING_MAPPING_FILE = ":/xml/image_setting.xml"; |
|
47 /*! Video setting definitions. */ |
38 static const char *VIDEO_SETTING_MAPPING_FILE = ":/xml/video_setting.xml"; |
48 static const char *VIDEO_SETTING_MAPPING_FILE = ":/xml/video_setting.xml"; |
|
49 |
|
50 /*! |
|
51 * Character used to separate lines within a single string. |
|
52 * E.g. SettingItem::mItem can be split with this character to get multi-line item. |
|
53 */ |
|
54 static const char NEW_LINE_CHAR = '\n'; |
39 |
55 |
40 struct SettingItem |
56 struct SettingItem |
41 { |
57 { |
42 QString mItem; |
58 QString mItem; |
43 QVariant mValue; |
59 QVariant mValue; |