27 Q_DECLARE_PUBLIC(QIdentityProxyModel)
30 QIdentityProxyModelPrivate()
33 ~QIdentityProxyModelPrivate() override;
35 QList<QPersistentModelIndex> layoutChangePersistentIndexes;
36 QModelIndexList proxyIndexes;
38 void sourceRowsAboutToBeInserted(
const QModelIndex &parent,
int start,
int end);
39 void sourceRowsInserted(
const QModelIndex &parent,
int start,
int end);
40 void sourceRowsAboutToBeRemoved(
const QModelIndex &parent,
int start,
int end);
41 void sourceRowsRemoved(
const QModelIndex &parent,
int start,
int end);
42 void sourceRowsAboutToBeMoved(
const QModelIndex &sourceParent,
int sourceStart,
int sourceEnd,
43 const QModelIndex &destParent,
int dest);
44 void sourceRowsMoved(
const QModelIndex &sourceParent,
int sourceStart,
int sourceEnd,
45 const QModelIndex &destParent,
int dest);
47 void sourceColumnsAboutToBeInserted(
const QModelIndex &parent,
int start,
int end);
48 void sourceColumnsInserted(
const QModelIndex &parent,
int start,
int end);
49 void sourceColumnsAboutToBeRemoved(
const QModelIndex &parent,
int start,
int end);
50 void sourceColumnsRemoved(
const QModelIndex &parent,
int start,
int end);
51 void sourceColumnsAboutToBeMoved(
const QModelIndex &sourceParent,
int sourceStart,
52 int sourceEnd,
const QModelIndex &destParent,
int dest);
53 void sourceColumnsMoved(
const QModelIndex &sourceParent,
int sourceStart,
int sourceEnd,
54 const QModelIndex &destParent,
int dest);
56 void sourceDataChanged(
const QModelIndex &topLeft,
const QModelIndex &bottomRight,
57 const QList<
int> &roles);
58 void sourceHeaderDataChanged(Qt::Orientation orientation,
int first,
int last);
60 void sourceLayoutAboutToBeChanged(
const QList<QPersistentModelIndex> &sourceParents,
61 QAbstractItemModel::LayoutChangeHint hint);
62 void sourceLayoutChanged(
const QList<QPersistentModelIndex> &sourceParents,
63 QAbstractItemModel::LayoutChangeHint hint);
64 void sourceModelAboutToBeReset();
65 void sourceModelReset();
68 bool m_handleLayoutChanges =
true;
69 bool m_handleDataChanges =
true;
70 QVarLengthArray<QMetaObject::Connection, 18> m_sourceModelConnections;