From 665891eba17de4c40846d4569d306d79bd0c2fa2 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Wed, 11 Jul 2012 11:45:41 -0430 Subject: [PATCH] Add subtitle attribute to TemplateViewItem. Change-Id: I181a84b468cf10d7c80f84030890965fa0dc4ffa --- sfx2/inc/sfx2/templateviewitem.hxx | 5 +++++ 1 file changed, 5 insertions(+) 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