Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : */
9 :
10 : #ifndef INCLUDED_SFX2_RECENTDOCSVIEWITEM_HXX
11 : #define INCLUDED_SFX2_RECENTDOCSVIEWITEM_HXX
12 :
13 : #include <sfx2/thumbnailview.hxx>
14 :
15 0 : class RecentDocsViewItem : public ThumbnailViewItem
16 : {
17 : public:
18 : RecentDocsViewItem(ThumbnailView &rView, const OUString &rURL,
19 : const OUString &rTitle, const BitmapEx& rThumbnail, sal_uInt16 nId);
20 : virtual void setEditTitle (bool edit, bool bChangeFocus = true) SAL_OVERRIDE;
21 :
22 : /// Text to be used for the tooltip.
23 : virtual OUString getHelpText() const SAL_OVERRIDE;
24 :
25 : OUString maURL;
26 :
27 : private:
28 : OUString m_sHelpText;
29 : };
30 :
31 : #endif // INCLUDED_SFX2_RECENTDOCSVIEWITEM_HXX
32 :
33 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|