diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-21 16:43:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-22 13:27:41 +0200 |
commit | 78b7e1dfba4fb776db801c478a830057ff67d965 (patch) | |
tree | efdd4185035a725f0058bab4043e5bda3bfad953 /include/svtools | |
parent | aff8471dbffdd6d26e63533d7ffa8ddea6b2396b (diff) |
move InterimItemWindow to vcl
Change-Id: If0a4a14708810c44d087b51961f2ecb3fda4df23
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94649
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/InterimItemWindow.hxx | 38 | ||||
-rw-r--r-- | include/svtools/editbrowsebox.hxx | 2 |
2 files changed, 1 insertions, 39 deletions
diff --git a/include/svtools/InterimItemWindow.hxx b/include/svtools/InterimItemWindow.hxx deleted file mode 100644 index fa970095dfdf..000000000000 --- a/include/svtools/InterimItemWindow.hxx +++ /dev/null @@ -1,38 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ -/* - * 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/. - */ - -#pragma once - -#include <svtools/svtdllapi.h> -#include <vcl/layout.hxx> -#include <vcl/weld.hxx> - -class SVT_DLLPUBLIC InterimItemWindow : public Control -{ -public: - virtual ~InterimItemWindow() override; - virtual void dispose() override; - - virtual void Resize() override; - virtual Size GetOptimalSize() const override; - virtual void GetFocus() override; - -protected: - InterimItemWindow(vcl::Window* pParent, const OUString& rUIXMLDescription, const OString& rID); - - // pass keystrokes from our child window through this to handle focus changes correctly - // returns true if keystroke is consumed - bool ChildKeyInput(const KeyEvent& rKEvt); - - std::unique_ptr<weld::Builder> m_xBuilder; - VclPtr<vcl::Window> m_xVclContentArea; - std::unique_ptr<weld::Container> m_xContainer; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index 6492896eba4e..2e9c7cb891cb 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -29,7 +29,7 @@ #include <svtools/brwbox.hxx> #include <svtools/brwhead.hxx> -#include <svtools/InterimItemWindow.hxx> +#include <vcl/InterimItemWindow.hxx> #include <vcl/vclmedit.hxx> #include <o3tl/typed_flags_set.hxx> |