diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2020-03-23 16:07:09 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2020-04-23 12:13:20 +0200 |
commit | 9fd4160307ab54b89d0145ebde0a91d293fa95a5 (patch) | |
tree | 4931fac50b7237d23a8d2064c665c9da841ef96a /examples/quick/scenegraph/graph/graph.h | |
parent | 05293cde367678cca78a46f7a050a1fd41686e87 (diff) |
QQuickItem: rename geometryChanged to geometryChange
This brings it in line with the existing convention in this and other
modules, where virtual handlers are named "nounChange"; e.g.
itemChange. Signals are named "nounChanged".
This also allows adding a geometryChanged signal, which would enable
users to listen to one signal for all changes to x/y/width/height.
[ChangeLog][QQuickItem] Renamed geometryChanged to geometryChange
in order to follow existing naming conventions and have consistency
with existing API, such as itemChange.
Task-number: QTBUG-82994
Change-Id: I0547358c796a0047982ccfbf2c38bab952e7a634
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/graph/graph.h')
-rw-r--r-- | examples/quick/scenegraph/graph/graph.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/graph/graph.h b/examples/quick/scenegraph/graph/graph.h index e32e657e0e..428f877049 100644 --- a/examples/quick/scenegraph/graph/graph.h +++ b/examples/quick/scenegraph/graph/graph.h @@ -62,7 +62,7 @@ public: protected: QSGNode *updatePaintNode(QSGNode *, UpdatePaintNodeData *); - void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry); + void geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry); public slots: void appendSample(qreal value); |