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