1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
3 * This file is part of the LibreOffice project.
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/.
12 #include "QtInstanceContainer.hxx"
14 class QtInstanceWindow
: public QtInstanceContainer
, public virtual weld::Window
19 QtInstanceWindow(QWidget
* pWidget
);
21 virtual void set_title(const OUString
& rTitle
) override
;
22 virtual OUString
get_title() const override
;
23 virtual void window_move(int, int) override
;
24 virtual bool get_resizable() const override
;
25 virtual Size
get_size() const override
;
26 virtual Point
get_position() const override
;
27 virtual AbsoluteScreenPixelRectangle
get_monitor_workarea() const override
;
29 virtual bool has_toplevel_focus() const override
;
30 virtual void present() override
;
32 virtual void change_default_widget(weld::Widget
*, weld::Widget
*) override
;
33 virtual bool is_default_widget(const weld::Widget
*) const override
;
35 virtual void set_window_state(const OUString
& rStr
) override
;
36 virtual OUString
get_window_state(vcl::WindowDataMask eMask
) const override
;
38 virtual css::uno::Reference
<css::awt::XWindow
> GetXWindow() override
;
40 virtual SystemEnvData
get_system_data() const override
;
42 virtual void resize_to_request() override
;
44 virtual weld::ScreenShotCollection
collect_screenshot_data() override
;
46 virtual VclPtr
<VirtualDevice
> screenshot() override
;
48 virtual const vcl::ILibreOfficeKitNotifier
* GetLOKNotifier() override
;
50 bool eventFilter(QObject
* pObject
, QEvent
* pEvent
) override
;
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */