diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-02-25 00:21:52 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-02-25 00:21:52 (GMT) |
commit | 950f3849e3bd2edd6bcc2784dbeadcb604c38e2d (patch) | |
tree | a8a55a3f9f4ddef85bab6d789a3ffb9e7e560a64 /src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h | |
parent | f39bb2af2d81640d30222cd5abc31b076105dd8b (diff) | |
download | Qt-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.h | 2 |
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); |