summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-07-11 11:45:41 -0430
committerRafael Dominguez <venccsralph@gmail.com>2012-07-11 14:36:52 -0430
commit665891eba17de4c40846d4569d306d79bd0c2fa2 (patch)
tree4eda6afcde03784a6b19db6e519225b54ce0bff5 /sfx2
parenta93e06c0c7500778cbe9bc8d6c023a2cf3a4661f (diff)
Add subtitle attribute to TemplateViewItem.
Change-Id: I181a84b468cf10d7c80f84030890965fa0dc4ffa
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/templateviewitem.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/inc/sfx2/templateviewitem.hxx b/sfx2/inc/sfx2/templateviewitem.hxx
index ffb72cd0ffb7..a0c4049135fb 100644
--- a/sfx2/inc/sfx2/templateviewitem.hxx
+++ b/sfx2/inc/sfx2/templateviewitem.hxx
@@ -36,12 +36,17 @@ public:
const rtl::OUString& getFileType () const { return maFileType; }
+ void setSubTitle (const rtl::OUString &rTitle) { maSubTitle = rTitle; }
+
+ const rtl::OUString& getSubTitle () const { return maSubTitle; }
+
private:
rtl::OUString maPath;
rtl::OUString maAuthor;
rtl::OUString maKeywords;
rtl::OUString maFileType;
+ rtl::OUString maSubTitle;
};
#endif // TEMPLATEVIEWITEM_HXX