delete childrenRect from the public API. It does not make sense for a

system, where the parent is responsible for laying out the children
This commit is contained in:
Uwe Rathmann 2019-06-22 16:15:37 +02:00
parent 447eeb9cb2
commit ed071ecb65

View File

@ -264,6 +264,13 @@ class QSK_EXPORT QskControl : public QQuickItem, public QskSkinnable
// don't use boundingRect - it seems to be deprecated
QRectF boundingRect() const override final { return rect(); }
/*
childrenRect()/childrenRectChanged does not make much sense
in a system, where the parent is responsible for laying out
its children.
*/
void childrenRect() = delete;
void setActiveFocusOnTab( bool ) = delete; // use setFocusPolicy
void updateInputMethod( Qt::InputMethodQueries ) = delete; // use qskUpdateInputMethod