Fix GNU C++ version check
[LibreOffice.git] / vcl / inc / qt5 / QtInstanceContainer.hxx
blob8fea34cd8d7448bb3a8f2a1fcfcfb1bf6c71b5db
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2 /*
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/.
8 */
10 #pragma once
12 #include "QtInstanceWidget.hxx"
14 #include <QtWidgets/QLayout>
16 class QtInstanceContainer : public QtInstanceWidget, public virtual weld::Container
18 Q_OBJECT
20 public:
21 QtInstanceContainer(QWidget* pWidget);
23 virtual void move(weld::Widget* pWidget, weld::Container* pNewParent) override;
25 virtual css::uno::Reference<css::awt::XWindow> CreateChildFrame() override;
27 virtual void child_grab_focus() override;
29 virtual void connect_container_focus_changed(const Link<Container&, void>& rLink) override;
31 private:
32 QLayout& getLayout();
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */