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

@@ -154,12 +154,12 @@ void DockWidget::addDockWidgetToContainingWindow(DockWidget *other,
}
}
std::shared_ptr<ViewWrapper> DockWidget::guestView() const
std::shared_ptr<View> DockWidget::guestView() const
{
return d->guest;
}
void DockWidget::setGuestView(std::shared_ptr<ViewWrapper> guest)
void DockWidget::setGuestView(std::shared_ptr<View> guest)
{
if ((guest && guest->equals(d->guest)) || (!guest && !d->guest))
return;