diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-20 20:43:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-21 11:32:55 +0200 |
commit | 976d595a0f1c5d6a4e60b408f8c0e2340339e770 (patch) | |
tree | 4fe9c1bc9bacf0bbb6d0bcf0d1e81322a90a436f /include/svtools | |
parent | 13d3b6e5b8323d7af686b7ade2785827b7854920 (diff) |
move AutocompleteEdit to fpicker
Change-Id: I00b1b4f21ffcb183d098b8af296e1dea64a2a482
Reviewed-on: https://gerrit.libreoffice.org/81177
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/autocmpledit.hxx | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/include/svtools/autocmpledit.hxx b/include/svtools/autocmpledit.hxx deleted file mode 100644 index 78777a176320..000000000000 --- a/include/svtools/autocmpledit.hxx +++ /dev/null @@ -1,39 +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_AUTOCMPLEDIT_HXX -#define INCLUDED_SVTOOLS_AUTOCMPLEDIT_HXX - -#include <svtools/svtdllapi.h> - -#include <vcl/edit.hxx> - -#include <vector> - -class SVT_DLLPUBLIC AutocompleteEdit : public Edit -{ -private: - std::vector< OUString > m_aEntries; - std::vector< OUString > m_aMatching; - std::vector< OUString >::size_type m_nCurrent; - - DECL_DLLPRIVATE_LINK(AutoCompleteHdl_Impl, Edit&, void); - bool Match( const OUString& rText ); - bool PreNotify( NotifyEvent& rNEvt ) override; - -public: - AutocompleteEdit( vcl::Window* pParent ); - - void AddEntry( const OUString& rEntry ); - void ClearEntries(); -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |