tests: Port more tests away from asQWidget()

This commit is contained in:
Sergio Martins
2022-04-14 18:05:23 +01:00
parent 924b32b3c5
commit a3d1990857
10 changed files with 77 additions and 54 deletions

View File

@@ -290,6 +290,11 @@ QString ViewWrapper_qtwidgets::objectName() const
return m_widget->QWidget::objectName();
}
QVariant ViewWrapper_qtwidgets::property(const char *name) const
{
return m_widget->property(name);
}
bool ViewWrapper_qtwidgets::isNull() const
{
return m_widget.data() == nullptr;