controlpanelplugins/themeplugin/src/cpthemechanger.h
changeset 21 2883a5458389
parent 19 36aa4756ee82
child 22 a5692c68d772
--- a/controlpanelplugins/themeplugin/src/cpthemechanger.h	Tue May 25 04:10:19 2010 +0800
+++ b/controlpanelplugins/themeplugin/src/cpthemechanger.h	Thu Jun 10 16:07:41 2010 +0800
@@ -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;