diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-02-04 00:33:14 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-02-04 09:11:29 +0100 |
commit | e2eda70f2746f08376d8cdf5e5360df217335aef (patch) | |
tree | 31051c577e388dc8f9730381e69e46a5735ae5cf /include | |
parent | 56b404001ef83cc151727cc5a489dc493c6b65ec (diff) |
startcenter: fdo#72469: Thumbnails also for other file types than ODF.
Change-Id: If905b2f3e51adf7e64df9385ede74368acd11771
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/recentdocsview.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/recentdocsviewitem.hxx | 2 | ||||
-rw-r--r-- | include/unotools/historyoptions.hxx | 9 |
3 files changed, 6 insertions, 7 deletions
diff --git a/include/sfx2/recentdocsview.hxx b/include/sfx2/recentdocsview.hxx index 1706935a5ac8..93080251be6d 100644 --- a/include/sfx2/recentdocsview.hxx +++ b/include/sfx2/recentdocsview.hxx @@ -45,7 +45,7 @@ public: RecentDocsView( Window* pParent ); virtual ~RecentDocsView(); - void insertItem(const OUString &rURL, const OUString &rTitle, sal_uInt16 nId); + void insertItem(const OUString &rURL, const OUString &rTitle, const BitmapEx &rThumbnail, sal_uInt16 nId); void loadRecentDocs(); void SetThumbnailSize(long thumbnailSize); diff --git a/include/sfx2/recentdocsviewitem.hxx b/include/sfx2/recentdocsviewitem.hxx index 410e74bea254..eb9a621769a5 100644 --- a/include/sfx2/recentdocsviewitem.hxx +++ b/include/sfx2/recentdocsviewitem.hxx @@ -16,7 +16,7 @@ class RecentDocsViewItem : public ThumbnailViewItem { public: RecentDocsViewItem(ThumbnailView &rView, const OUString &rURL, - const OUString &rTitle, sal_uInt16 nId); + const OUString &rTitle, const BitmapEx& rThumbnail, sal_uInt16 nId); virtual void setEditTitle (bool edit, bool bChangeFocus = true); /// Text to be used for the tooltip. diff --git a/include/unotools/historyoptions.hxx b/include/unotools/historyoptions.hxx index d57eec193c3c..1fdddf6dd54c 100644 --- a/include/unotools/historyoptions.hxx +++ b/include/unotools/historyoptions.hxx @@ -36,6 +36,7 @@ #define HISTORY_PROPERTYNAME_FILTER OUString("Filter") #define HISTORY_PROPERTYNAME_TITLE OUString("Title") #define HISTORY_PROPERTYNAME_PASSWORD OUString("Password") +#define HISTORY_PROPERTYNAME_THUMBNAIL OUString("Thumbnail") /*-************************************************************************************************************//** @descr You can use these enum values to specify right history if you call ouer interface methods. @@ -162,11 +163,9 @@ class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtHistoryOptions : public utl::detail: @onerror - *//*-*****************************************************************************************************/ - void AppendItem( EHistoryType eHistory , - const OUString& sURL , - const OUString& sFilter , - const OUString& sTitle , - const OUString& sPassword ); + void AppendItem(EHistoryType eHistory, + const OUString& sURL, const OUString& sFilter, const OUString& sTitle, + const OUString& sPassword, const OUString& sThumbnail); private: |