equal
deleted
inserted
replaced
34 { |
34 { |
35 Q_OBJECT |
35 Q_OBJECT |
36 public: |
36 public: |
37 |
37 |
38 static CaIconCache *cache(); |
38 static CaIconCache *cache(); |
39 bool exist(const CaEntry &entry, const QSize &size); |
39 HbIcon icon(const CaEntry &entry, const QSizeF &size); |
40 HbIcon icon(const CaEntry &entry, const QSize &size); |
40 void insert(const CaEntry &entry, const QSizeF &size, const HbIcon &icon); |
41 void insert(const CaEntry &entry, const QSize &size, const HbIcon &icon); |
|
42 |
41 |
43 private: |
42 private: |
44 |
43 |
45 explicit CaIconCache(QObject *parent = 0); |
44 explicit CaIconCache(QObject *parent = 0); |
46 ~CaIconCache(); |
45 ~CaIconCache(); |
47 QString key(const CaEntry &entry, const QSize &size = QSize()); |
46 QString key(const CaEntry &entry, const QSizeF &size = QSizeF()); |
48 |
47 |
49 private slots: |
48 private slots: |
50 |
49 |
51 void remove(const CaEntry &entry, ChangeType changeType); |
50 void remove(const CaEntry &entry, ChangeType changeType); |
52 |
51 |