equal
deleted
inserted
replaced
21 #include <QList> |
21 #include <QList> |
22 #include <QPair> |
22 #include <QPair> |
23 |
23 |
24 class QStringList; |
24 class QStringList; |
25 class CpThemeInfo; |
25 class CpThemeInfo; |
|
26 class HbIcon; |
26 |
27 |
27 class CpThemeUtil { |
28 class CpThemeUtil { |
28 |
29 |
29 public: |
30 public: |
30 static QList<CpThemeInfo> buildThemeList(); |
31 static QList<CpThemeInfo> buildThemeList(); |
31 static CpThemeInfo* buildThemeInfo(const QString& themePath, const QString& themeName = QString()); |
32 static CpThemeInfo* buildThemeInfo(const QString& themePath, const QString& themeName = QString()); |
32 static CpThemeInfo* defaultTheme(); |
33 static QString defaultTheme(); |
33 static const QList< QPair< QString, QString > > availableThemes(); |
34 static const QList< QPair< QString, QString > > availableThemes(); |
34 static const QStringList themeDirectories(const QList<CpThemeInfo> &themeInfoList); |
35 static const QStringList themeDirectories(const QList<CpThemeInfo> &themeInfoList); |
|
36 |
|
37 private: |
|
38 static HbIcon getPreviewIcon(const QString& themePath); |
35 |
39 |
36 |
40 |
37 }; |
41 }; |
38 |
42 |
39 #endif /* CPTHEMEUTIL_H_ */ |
43 #endif /* CPTHEMEUTIL_H_ */ |