contentstorage/caclient/inc/caentry_p.h
changeset 98 d2f833ab7940
parent 93 82b66994846c
child 112 dbfb5e38438b
--- a/contentstorage/caclient/inc/caentry_p.h	Tue Jun 01 11:30:17 2010 +0300
+++ b/contentstorage/caclient/inc/caentry_p.h	Fri Jun 11 16:13:51 2010 +0300
@@ -43,10 +43,10 @@
     void setId(int id);
 
     QString text() const;
-    void setText(const QString &text);
+    void setText(const QString &text, bool localized = false);
 
     QString description() const;
-    void setDescription(const QString &text);
+    void setDescription(const QString &text, bool localized = false);
 
     CaIconDescription iconDescription() const;
     void setIconDescription(const CaIconDescription &iconDescription);
@@ -65,6 +65,8 @@
 
     EntryRole role() const;
     void setRole(const EntryRole &role);
+    
+    bool isLocalized(LocalizationType localized) const;
 
 private:
 
@@ -85,6 +87,10 @@
     QMap<QString, QString> mAttributes;
 
     EntryRole mEntryRole;
+    
+    bool mTextLocalized;
+    
+    bool mDescriptionLocalized;
 };
 
 #endif // CAENTRY_PRIVATE_H