From 0475460102411979ab51c365cb2bec2c05b69cb4 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Mon, 22 Jun 2020 11:06:12 +0200 Subject: 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 --- src/corelib/itemmodels/qtransposeproxymodel_p.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/corelib/itemmodels/qtransposeproxymodel_p.h') 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 sourceConnections; - QVector layoutChangePersistentIndexes; + QList sourceConnections; + QList layoutChangePersistentIndexes; QModelIndexList layoutChangeProxyIndexes; QModelIndex uncheckedMapToSource(const QModelIndex &proxyIndex) const; QModelIndex uncheckedMapFromSource(const QModelIndex &sourceIndex) const; void onLayoutChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint); void onLayoutAboutToBeChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint); - void onDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles); + void onDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &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); -- cgit v1.2.3