controlpanelplugins/themeplugin/src/cpthemepreview.h
changeset 40 593f946f4fec
parent 22 a5692c68d772
equal deleted inserted replaced
22:a5692c68d772 40:593f946f4fec
    39 
    39 
    40 public:
    40 public:
    41     explicit CpThemePreview(const CpThemeInfo &theme, QGraphicsItem *parent = 0);
    41     explicit CpThemePreview(const CpThemeInfo &theme, QGraphicsItem *parent = 0);
    42     ~CpThemePreview();
    42     ~CpThemePreview();
    43     void setThemeInfo(const CpThemeInfo& theme);
    43     void setThemeInfo(const CpThemeInfo& theme);
    44     const QString& themeName() const;
    44     const QString themeName() const;
    45     const HbIcon& themeIcon() const;
    45     const HbIcon themeIcon() const;
    46 	
    46 	
    47 signals:
    47 signals:
    48     void applyTheme(const QString&);
    48     void applyTheme(const CpThemeInfo&);
    49     void aboutToClose();
    49     void aboutToClose();
    50 
    50 
    51 public slots:
    51 private slots:
    52     void themeSelected();
    52     void themeSelected();
    53     void previewOrientationChanged(Qt::Orientation orientation);
    53     void previewOrientationChanged(Qt::Orientation orientation);
    54 
    54   
    55 private:
    55 private:
    56     CpThemeInfo mTheme;
    56     CpThemeInfo mTheme;
    57     HbAction* mSoftKeyBackAction;
    57     HbAction* mSoftKeyBackAction;
    58     HbIconItem* mPreviewIcon;
    58     HbIconItem* mPreviewIcon;
    59 
    59