diff options
author | Bea Lam <bea.lam@nokia.com> | 2012-03-27 14:34:58 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-27 09:46:00 +0200 |
commit | 19977e9686a482a8189d928d8a45b282cb4287ba (patch) | |
tree | e8c0b43cba87e92762e23ad894baf4134f8130e8 /tests/auto/quick/shared | |
parent | ce9c98c15bc4f84583bb7e07739dbca9e633d1c8 (diff) |
Buffer changes received during layout()
Otherwise, changes received by a view during layout() may
override the changes that are currently being processed.
Change-Id: Iabc4db682f85ceb7d04c3f7442fb6c98ebdb94f1
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Diffstat (limited to 'tests/auto/quick/shared')
-rw-r--r-- | tests/auto/quick/shared/viewtestutil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/quick/shared/viewtestutil.h b/tests/auto/quick/shared/viewtestutil.h index 6ab754cff6..06efd9c28e 100644 --- a/tests/auto/quick/shared/viewtestutil.h +++ b/tests/auto/quick/shared/viewtestutil.h @@ -97,8 +97,8 @@ namespace QQuickViewTestUtil void insertItem(int index, const QString &name, const QString &number); void insertItems(int index, const QList<QPair<QString, QString> > &items); - void removeItem(int index); - void removeItems(int index, int count); + Q_INVOKABLE void removeItem(int index); + Q_INVOKABLE void removeItems(int index, int count); void moveItem(int from, int to); void moveItems(int from, int to, int count); |