092bcd7133
Move the `m_pWidget` member from `QtInstanceWindow` to the base class `QtInstanceWidget` and add a getter for it. This allows to get the `QWidget` directly from the base class, which will be used in an upcoming commit. Change-Id: I9c41b48936e5a6051afb9721dae2fac5add22e4b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163360 Tested-by: Jenkins Reviewed-by: Omkar Acharekar <omkaracharekar12@gmail.com> Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
28 lines
873 B
C++
28 lines
873 B
C++
/* -*- 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/.
|
|
*/
|
|
|
|
#include <QtInstanceContainer.hxx>
|
|
|
|
QtInstanceContainer::QtInstanceContainer(QWidget* pWidget)
|
|
: QtInstanceWidget(pWidget)
|
|
{
|
|
}
|
|
|
|
void QtInstanceContainer::move(weld::Widget*, weld::Container*) {}
|
|
|
|
css::uno::Reference<css::awt::XWindow> QtInstanceContainer::CreateChildFrame()
|
|
{
|
|
return css::uno::Reference<css::awt::XWindow>();
|
|
}
|
|
|
|
void QtInstanceContainer::child_grab_focus() {}
|
|
|
|
void QtInstanceContainer::connect_container_focus_changed(const Link<Container&, void>&) {}
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|