--- a/controlpanelplugins/themeplugin/src/cpthemepreview.h Thu Jun 10 16:07:41 2010 +0800
+++ b/controlpanelplugins/themeplugin/src/cpthemepreview.h Fri Jun 25 17:12:20 2010 +0800
@@ -21,7 +21,9 @@
#include <hbview.h>
#include <QObject>
#include <hbicon.h>
-#include <cpthemechanger.h>
+#include "cpthemechanger.h"
+#include "cpthemeinfo.h"
+
QT_BEGIN_NAMESPACE
class QString;
@@ -36,9 +38,9 @@
Q_OBJECT
public:
- explicit CpThemePreview(const CpThemeChanger::ThemeInfo &theme, QGraphicsItem *parent = 0);
+ explicit CpThemePreview(const CpThemeInfo &theme, QGraphicsItem *parent = 0);
~CpThemePreview();
- void setThemeInfo(const CpThemeChanger::ThemeInfo& theme);
+ void setThemeInfo(const CpThemeInfo& theme);
const QString& themeName() const;
const HbIcon& themeIcon() const;
@@ -51,7 +53,7 @@
void previewOrientationChanged(Qt::Orientation orientation);
private:
- CpThemeChanger::ThemeInfo mTheme;
+ CpThemeInfo mTheme;
HbAction* mSoftKeyBackAction;
HbIconItem* mPreviewIcon;