diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-02 16:37:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-02 21:50:34 +0200 |
commit | e793e558c64830c5a45392eb2a20fd0304af049d (patch) | |
tree | e021b976c609bf18e41fea5103f84c4bb66b0054 /include/svtools | |
parent | weld PrintDialog (diff) | |
download | core-e793e558c64830c5a45392eb2a20fd0304af049d.tar.gz core-e793e558c64830c5a45392eb2a20fd0304af049d.zip |
move Breadcrumb to sole user in fpicker
Change-Id: I2028f921e78611698e82e50a652b67dba1ece909
Reviewed-on: https://gerrit.libreoffice.org/80054
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/breadcrumb.hxx | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/include/svtools/breadcrumb.hxx b/include/svtools/breadcrumb.hxx deleted file mode 100644 index 7a8672775739..000000000000 --- a/include/svtools/breadcrumb.hxx +++ /dev/null @@ -1,67 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -#ifndef INCLUDED_SVTOOLS_BREADCRUMB_HXX -#define INCLUDED_SVTOOLS_BREADCRUMB_HXX - -#include <svtools/svtdllapi.h> - -#include <vcl/layout.hxx> - -#include <vector> - -class FixedHyperlink; - -#define SPACING 6 - -enum SvtBreadcrumbMode -{ - ONLY_CURRENT_PATH = 0, - ALL_VISITED = 1 -}; - -class CustomLink; - -class SVT_DLLPUBLIC Breadcrumb : public VclHBox -{ - private: - std::vector< VclPtr< CustomLink > > m_aLinks; - std::vector< VclPtr< FixedText > > m_aSeparators; - - OUString m_sRootName; - OUString m_sClickedURL; - OUString m_aCurrentURL; - - SvtBreadcrumbMode m_eMode; - - Link<Breadcrumb*,void> m_aClickHdl; - - void appendField(); - bool showField( unsigned int nIndex, unsigned int nWidthMax ); - - DECL_LINK( ClickLinkHdl, FixedHyperlink&, void ); - - public: - Breadcrumb( vcl::Window* pParent ); - virtual ~Breadcrumb() override; - - void dispose() override; - void EnableFields( bool bEnable ); - - void SetClickHdl( const Link<Breadcrumb*,void>& rLink ); - const OUString& GetHdlURL() const; - - void SetRootName( const OUString& rURL ); - void SetURL( const OUString& rURL ); - void SetMode( SvtBreadcrumbMode eMode ); -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |