Use View instead of ViewWrapper in the api

The latter will be an implementation detail soon
This commit is contained in:
Sergio Martins
2022-06-24 00:10:50 +01:00
parent 2ac996218f
commit 10c918b93c
38 changed files with 95 additions and 95 deletions

View File

@@ -71,7 +71,7 @@ void DockWidget_qtwidgets::init()
void DockWidget_qtwidgets::setWidget(QWidget *widget)
{
auto wrapper = widget ? new ViewWrapper_qtwidgets(widget) : nullptr;
m_dockWidget->setGuestView(std::shared_ptr<ViewWrapper>(wrapper));
m_dockWidget->setGuestView(std::shared_ptr<View>(wrapper));
}
bool DockWidget_qtwidgets::event(QEvent *e)