From 9fd4160307ab54b89d0145ebde0a91d293fa95a5 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 23 Mar 2020 16:07:09 +0100 Subject: 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 Reviewed-by: Shawn Rutledge --- examples/quick/scenegraph/graph/graph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/quick/scenegraph/graph/graph.h') 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); -- cgit v1.2.3