controlpanelplugins/themeplugin/src/cpthemechanger.h
changeset 17 4a9568303383
parent 14 23411a3be0db
child 22 a5692c68d772
--- a/controlpanelplugins/themeplugin/src/cpthemechanger.h	Thu May 27 12:52:25 2010 +0300
+++ b/controlpanelplugins/themeplugin/src/cpthemechanger.h	Fri Jun 11 13:39:17 2010 +0300
@@ -19,6 +19,7 @@
 #define CPTHEMECHANGER_H
 
 #include <QStringList>
+
 #include <hbicon.h>
 #include <hbglobal.h>
 
@@ -36,8 +37,12 @@
      explicit CpThemeChanger(QObject* parent=0);
     ~CpThemeChanger();
 
-    struct ThemeInfo 
-    {
+    enum ThemeListUserRole {
+           PortraitPreviewRole = Qt::UserRole,
+           LandscapePreviewRole
+    };
+      
+    struct ThemeInfo{
         QString name;
         HbIcon  icon;
         HbIcon portraitPreviewIcon;
@@ -50,11 +55,6 @@
         }
     };
     
-    enum ThemeListUserRole {
-        PortraitPreviewRole = Qt::UserRole,
-        LandscapePreviewRole
-    };
-    
     QAbstractItemModel& model();
 
     const ThemeInfo& currentTheme() const;