equal
deleted
inserted
replaced
41 |
41 |
42 int id() const; |
42 int id() const; |
43 void setId(int id); |
43 void setId(int id); |
44 |
44 |
45 QString text() const; |
45 QString text() const; |
46 void setText(const QString &text); |
46 void setText(const QString &text, bool localized = false); |
47 |
47 |
48 QString description() const; |
48 QString description() const; |
49 void setDescription(const QString &text); |
49 void setDescription(const QString &text, bool localized = false); |
50 |
50 |
51 CaIconDescription iconDescription() const; |
51 CaIconDescription iconDescription() const; |
52 void setIconDescription(const CaIconDescription &iconDescription); |
52 void setIconDescription(const CaIconDescription &iconDescription); |
53 |
53 |
54 EntryFlags flags() const; |
54 EntryFlags flags() const; |
63 |
63 |
64 HbIcon makeIcon(const QSize &size) const; |
64 HbIcon makeIcon(const QSize &size) const; |
65 |
65 |
66 EntryRole role() const; |
66 EntryRole role() const; |
67 void setRole(const EntryRole &role); |
67 void setRole(const EntryRole &role); |
|
68 |
|
69 bool isLocalized(LocalizationType localized) const; |
68 |
70 |
69 private: |
71 private: |
70 |
72 |
71 CaEntry *const m_q; |
73 CaEntry *const m_q; |
72 |
74 |
83 QString mEntryTypeName; |
85 QString mEntryTypeName; |
84 |
86 |
85 QMap<QString, QString> mAttributes; |
87 QMap<QString, QString> mAttributes; |
86 |
88 |
87 EntryRole mEntryRole; |
89 EntryRole mEntryRole; |
|
90 |
|
91 bool mTextLocalized; |
|
92 |
|
93 bool mDescriptionLocalized; |
88 }; |
94 }; |
89 |
95 |
90 #endif // CAENTRY_PRIVATE_H |
96 #endif // CAENTRY_PRIVATE_H |