summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels/qtransposeproxymodel_p.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-22 11:06:12 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-25 22:30:59 +0200
commit0475460102411979ab51c365cb2bec2c05b69cb4 (patch)
tree73b7dbe85249da2bd339cd19b0c584894d3901c7 /src/corelib/itemmodels/qtransposeproxymodel_p.h
parente114e580e751b5deb19ab489a8b11f830ff6356f (diff)
Use QList instead of QVector in corelib
Applied to headers only. Source file to be changed separately. Omitted statemachine for now to avoid conflicts. Omitted qmetatype.h for now - to be handled later. Task-number: QTBUG-84469 Change-Id: I317376037a62467c313467d92955ad0b7473aa97 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'src/corelib/itemmodels/qtransposeproxymodel_p.h')
-rw-r--r--src/corelib/itemmodels/qtransposeproxymodel_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/itemmodels/qtransposeproxymodel_p.h b/src/corelib/itemmodels/qtransposeproxymodel_p.h
index fb5ce5c117..8cee3d2288 100644
--- a/src/corelib/itemmodels/qtransposeproxymodel_p.h
+++ b/src/corelib/itemmodels/qtransposeproxymodel_p.h
@@ -62,14 +62,14 @@ class QTransposeProxyModelPrivate : public QAbstractProxyModelPrivate
Q_DISABLE_COPY(QTransposeProxyModelPrivate)
private:
QTransposeProxyModelPrivate() = default;
- QVector<QMetaObject::Connection> sourceConnections;
- QVector<QPersistentModelIndex> layoutChangePersistentIndexes;
+ QList<QMetaObject::Connection> sourceConnections;
+ QList<QPersistentModelIndex> layoutChangePersistentIndexes;
QModelIndexList layoutChangeProxyIndexes;
QModelIndex uncheckedMapToSource(const QModelIndex &proxyIndex) const;
QModelIndex uncheckedMapFromSource(const QModelIndex &sourceIndex) const;
void onLayoutChanged(const QList<QPersistentModelIndex> &parents, QAbstractItemModel::LayoutChangeHint hint);
void onLayoutAboutToBeChanged(const QList<QPersistentModelIndex> &parents, QAbstractItemModel::LayoutChangeHint hint);
- void onDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector<int>& roles);
+ void onDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles);
void onHeaderDataChanged(Qt::Orientation orientation, int first, int last);
void onColumnsAboutToBeInserted(const QModelIndex &parent, int first, int last);
void onColumnsAboutToBeRemoved(const QModelIndex &parent, int first, int last);