27class QTransposeProxyModelPrivate :
public QAbstractProxyModelPrivate
29 Q_DECLARE_PUBLIC(QTransposeProxyModel)
30 Q_DISABLE_COPY(QTransposeProxyModelPrivate)
32 QTransposeProxyModelPrivate();
33 ~QTransposeProxyModelPrivate() override;
35 QList<QPersistentModelIndex> layoutChangePersistentIndexes;
36 QModelIndexList layoutChangeProxyIndexes;
37 std::array<QMetaObject::Connection, 18> sourceConnections;
40 QModelIndex uncheckedMapToSource(
const QModelIndex &proxyIndex)
const;
41 QModelIndex uncheckedMapFromSource(
const QModelIndex &sourceIndex)
const;
42 void onLayoutChanged(
const QList<QPersistentModelIndex> &parents, QAbstractItemModel::LayoutChangeHint hint);
43 void onLayoutAboutToBeChanged(
const QList<QPersistentModelIndex> &parents, QAbstractItemModel::LayoutChangeHint hint);
44 void onDataChanged(
const QModelIndex &topLeft,
const QModelIndex &bottomRight,
const QList<
int> &roles);
45 void onHeaderDataChanged(Qt::Orientation orientation,
int first,
int last);
46 void onColumnsAboutToBeInserted(
const QModelIndex &parent,
int first,
int last);
47 void onColumnsAboutToBeRemoved(
const QModelIndex &parent,
int first,
int last);
48 void onColumnsAboutToBeMoved(
const QModelIndex &sourceParent,
int sourceStart,
int sourceEnd,
const QModelIndex &destinationParent,
int destinationColumn);
49 void onRowsAboutToBeInserted(
const QModelIndex &parent,
int first,
int last);
50 void onRowsAboutToBeRemoved(
const QModelIndex &parent,
int first,
int last);
51 void onRowsAboutToBeMoved(
const QModelIndex &sourceParent,
int sourceStart,
int sourceEnd,
const QModelIndex &destinationParent,
int destinationRow);