summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativepositioners_p_p.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-08-16 03:38:54 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-08-16 03:38:54 (GMT)
commit8ae7f9508a94e37ceddd4c2b1b94dc43ff039cf3 (patch)
tree81c4c8317a4d9de7b9e74fd3d81f1cf3cc915883 /src/declarative/graphicsitems/qdeclarativepositioners_p_p.h
parentb464dba6efe6593ed6a21511f999868dc78a3e9d (diff)
downloadQt-8ae7f9508a94e37ceddd4c2b1b94dc43ff039cf3.zip
Qt-8ae7f9508a94e37ceddd4c2b1b94dc43ff039cf3.tar.gz
Qt-8ae7f9508a94e37ceddd4c2b1b94dc43ff039cf3.tar.bz2
Make positioners work with QGraphicsWidgets also
Task-number: QTBUG-12416 Reviewed-by: Alexis Menard
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativepositioners_p_p.h')
-rw-r--r--src/declarative/graphicsitems/qdeclarativepositioners_p_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativepositioners_p_p.h b/src/declarative/graphicsitems/qdeclarativepositioners_p_p.h
index 822079b..35946e9 100644
--- a/src/declarative/graphicsitems/qdeclarativepositioners_p_p.h
+++ b/src/declarative/graphicsitems/qdeclarativepositioners_p_p.h
@@ -94,8 +94,8 @@ public:
QDeclarativeTransitionManager addTransitionManager;
QDeclarativeTransitionManager moveTransitionManager;
- void watchChanges(QDeclarativeItem *other);
- void unwatchChanges(QDeclarativeItem* other);
+ void watchChanges(QGraphicsObject *other);
+ void unwatchChanges(QGraphicsObject* other);
bool queuedPositioning : 1;
bool doingPositioning : 1;
bool anchorConflict : 1;
@@ -123,6 +123,7 @@ public:
if (newGeometry.size() != oldGeometry.size())
q->prePositioning();
}
+
virtual void itemVisibilityChanged(QDeclarativeItem *)
{
schedulePositioning();