camerauis/cameraxui/cxui/inc/cxuisettingsinfo.h
changeset 43 0e652f8f1fbd
parent 28 3075d9b614e6
--- a/camerauis/cameraxui/cxui/inc/cxuisettingsinfo.h	Thu May 13 21:30:19 2010 +0300
+++ b/camerauis/cameraxui/cxui/inc/cxuisettingsinfo.h	Thu Jul 15 01:55:05 2010 +0300
@@ -18,6 +18,11 @@
 #ifndef CXUISETTINGSINFO_H
 #define CXUISETTINGSINFO_H
 
+/*!
+* @file
+* @brief CxUi settings related classes and constants.
+*/
+
 #include <QObject>
 #include <QMap>
 #include <QPair>
@@ -31,12 +36,23 @@
 class CxeEngine;
 class CxuiSettingXmlReader;
 
+/*!
+* @namespace CxUiSettings
+* @brief Namespace for UI settings related constants and classes.
+*/
 namespace CxUiSettings
 {
-    // Setting mappings
+    /*! Image setting definitions. */
     static const char *IMAGE_SETTING_MAPPING_FILE = ":/xml/image_setting.xml";
+    /*! Video setting definitions. */
     static const char *VIDEO_SETTING_MAPPING_FILE = ":/xml/video_setting.xml";
 
+    /*!
+    * Character used to separate lines within a single string.
+    * E.g. SettingItem::mItem can be split with this character to get multi-line item.
+    */
+    static const char NEW_LINE_CHAR = '\n';
+
     struct SettingItem
     {
         QString mItem;
@@ -98,10 +114,11 @@
     void getVideoQualitySettings(CxUiSettings::RadioButtonListParams &settings);
     void handleQualitySettings(const QString &key, CxUiSettings::RadioButtonListParams &settings);
 
-private slots:
-    void initForCurrentMode(CxeError::Id status);
+private:
+    void checkMode();
 
 private: // data members
+    int mMode;
     CxeEngine *mEngine;
     CxuiSettingXmlReader *mXmlReader;
 };