summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-25 00:21:52 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-25 00:21:52 (GMT)
commit950f3849e3bd2edd6bcc2784dbeadcb604c38e2d (patch)
treea8a55a3f9f4ddef85bab6d789a3ffb9e7e560a64 /src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h
parentf39bb2af2d81640d30222cd5abc31b076105dd8b (diff)
downloadQt-950f3849e3bd2edd6bcc2784dbeadcb604c38e2d.zip
Qt-950f3849e3bd2edd6bcc2784dbeadcb604c38e2d.tar.gz
Qt-950f3849e3bd2edd6bcc2784dbeadcb604c38e2d.tar.bz2
React to QAbstractItemModel::modelReset() signal.
Task-number: QTBUG-8494
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h')
-rw-r--r--src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h b/src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h
index 76c8994..d34bcaf 100644
--- a/src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h
+++ b/src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h
@@ -93,6 +93,7 @@ Q_SIGNALS:
void itemsInserted(int index, int count);
void itemsRemoved(int index, int count);
void itemsMoved(int from, int to, int count);
+ void modelReset();
void createdItem(int index, QDeclarativeItem *item);
void destroyingItem(QDeclarativeItem *item);
@@ -195,6 +196,7 @@ private Q_SLOTS:
void _q_rowsRemoved(const QModelIndex &,int,int);
void _q_rowsMoved(const QModelIndex &, int, int, const QModelIndex &, int);
void _q_dataChanged(const QModelIndex&,const QModelIndex&);
+ void _q_modelReset();
void _q_createdPackage(int index, QDeclarativePackage *package);
void _q_destroyingPackage(QDeclarativePackage *package);