homescreenapp/serviceproviders/hsmenuserviceprovider/tsrc/t_hsmenuserviceprovider/inc/caentry.h
equal
deleted
inserted
replaced
64 |
64 |
65 void setIconDescription(const CaIconDescription &iconDescription) |
65 void setIconDescription(const CaIconDescription &iconDescription) |
66 { |
66 { |
67 mSetCaIconDescription = iconDescription; |
67 mSetCaIconDescription = iconDescription; |
68 } |
68 } |
|
69 |
69 EntryFlags flags() const |
70 EntryFlags flags() const |
70 { |
71 { |
71 return mFlagsResult; |
72 return mFlagsResult; |
72 } |
73 } |
|
74 |
73 void setFlags(EntryFlags flags) |
75 void setFlags(EntryFlags flags) |
74 { |
76 { |
75 mFlagsResult = flags; |
77 mFlagsResult = flags; |
76 } |
78 } |
77 |
79 |
87 |
89 |
88 void setAttribute(const QString &name, const QString &value) |
90 void setAttribute(const QString &name, const QString &value) |
89 { |
91 { |
90 mAttributes.insert(name, value); |
92 mAttributes.insert(name, value); |
91 } |
93 } |
|
94 |
|
95 |
|
96 void removeAttribute(const QString &name) |
|
97 { |
|
98 mAttributes.remove(name); |
|
99 } |
|
100 |
92 QString attribute(const QString &name) const |
101 QString attribute(const QString &name) const |
93 { |
102 { |
94 return mAttributes[name]; |
103 return mAttributes[name]; |
95 } |
104 } |
96 |
105 |
100 return mMakeIconResult; |
109 return mMakeIconResult; |
101 } |
110 } |
102 |
111 |
103 EntryRole role() const |
112 EntryRole role() const |
104 { |
113 { |
105 return mCaEntryRole; |
114 return mCaEntryRole; |
106 } |
115 } |
107 |
116 |
108 // test helper, not belonging to ContentStorage CaEntry |
117 // test helper, not belonging to ContentStorage CaEntry |
109 void clear() |
118 void clear() |
110 { |
119 { |