Fix QtQuick build
This commit is contained in:
@@ -299,6 +299,12 @@ QRect QWidgetAdapter::geometry() const
|
||||
return KDDockWidgets::Private::geometry(this);
|
||||
}
|
||||
|
||||
QRect QWidgetAdapter::normalGeometry() const
|
||||
{
|
||||
// TODO: There's no such concept in QWindow, do we need to workaround for QtQuick ?
|
||||
return QWidgetAdapter::geometry();
|
||||
}
|
||||
|
||||
QRect QWidgetAdapter::rect() const
|
||||
{
|
||||
return QRectF(0, 0, width(), height()).toRect();
|
||||
|
||||
@@ -122,6 +122,7 @@ public:
|
||||
virtual void setGeometry(QRect);
|
||||
QRect frameGeometry() const;
|
||||
QRect geometry() const;
|
||||
QRect normalGeometry() const;
|
||||
QRect rect() const;
|
||||
QPoint pos() const;
|
||||
void show();
|
||||
|
||||
Reference in New Issue
Block a user