- QAbstractItemModel *_model;
- QItemSelectionModel _selectionModel;
- bool _changeCurrentEnabled;
- bool _changeSelectionEnabled;
-
- bool checkBaseModel(QItemSelectionModel *model);
- QModelIndex mapFromSource(const QModelIndex &sourceIndex, const QItemSelectionModel *selectionModel);
- QItemSelection mapSelectionFromSource(const QItemSelection &sourceSelection, const QItemSelectionModel *selectionModel);
- QModelIndex mapToSource(const QModelIndex &index, QItemSelectionModel *selectionModel);
- QItemSelection mapSelectionToSource(const QItemSelection &selection, QItemSelectionModel *selectionModel);
-
- QSet<QItemSelectionModel *> _selectionModels;
+ QAbstractItemModel *_model;
+ QItemSelectionModel _selectionModel;
+ bool _changeCurrentEnabled;
+ bool _changeSelectionEnabled;
+
+ bool checkBaseModel(QItemSelectionModel *model);
+ QModelIndex mapFromSource(const QModelIndex &sourceIndex, const QItemSelectionModel *selectionModel);
+ QItemSelection mapSelectionFromSource(const QItemSelection &sourceSelection, const QItemSelectionModel *selectionModel);
+ QModelIndex mapToSource(const QModelIndex &index, QItemSelectionModel *selectionModel);
+ QItemSelection mapSelectionToSource(const QItemSelection &selection, QItemSelectionModel *selectionModel);
+
+ QSet<QItemSelectionModel *> _selectionModels;