controlpanelplugins/themeplugin/src/cpthemecontrol.h
changeset 12 624337f114fe
parent 11 10d0dd0e43f1
child 14 23411a3be0db
equal deleted inserted replaced
11:10d0dd0e43f1 12:624337f114fe
    25 #include <hbicon.h>
    25 #include <hbicon.h>
    26 
    26 
    27 QT_BEGIN_NAMESPACE
    27 QT_BEGIN_NAMESPACE
    28 class QModelIndex;
    28 class QModelIndex;
    29 class QString;
    29 class QString;
    30 class QStandardItemModel;
    30 class QSortFilterProxyModel;
    31 QT_END_NAMESPACE
    31 QT_END_NAMESPACE
    32 
    32 
    33 class CpThemeListView;
    33 class CpThemeListView;
    34 class CpThemePreview;
    34 class CpThemePreview;
    35 class CpBaseSettingView;
    35 class CpBaseSettingView;
    57     void themeListClosed();
    57     void themeListClosed();
    58 
    58 
    59 private:
    59 private:
    60     void createThemeList();
    60     void createThemeList();
    61     void triggerThemeListClose();
    61     void triggerThemeListClose();
       
    62     void setActiveThemeIndex();
    62 
    63 
    63 private:
    64 private:
    64     CpThemeListView* mThemeListView;
    65     CpThemeListView* mThemeListView;
    65     CpThemePreview* mThemePreview;
    66     CpThemePreview* mThemePreview;
    66     CpThemeChanger* mThemeChanger;
    67     CpThemeChanger* mThemeChanger;
    67     QAbstractItemModel* mListModel;
    68     QAbstractItemModel* mListModel;
       
    69     QSortFilterProxyModel* mSortModel;
    68 };
    70 };
    69 
    71 
    70 #endif //CPTHEMECONTROL_H
    72 #endif //CPTHEMECONTROL_H