diff --git a/src/corelib/itemmodels/qidentityproxymodel.cpp b/src/corelib/itemmodels/qidentityproxymodel.cpp index 2325a8e5a1d..ffa038d6183 100644 --- a/src/corelib/itemmodels/qidentityproxymodel.cpp +++ b/src/corelib/itemmodels/qidentityproxymodel.cpp @@ -376,7 +376,7 @@ void QIdentityProxyModel::setHandleSourceLayoutChanges(bool b) Returns \c true if this proxy model handles the source model layout changes, otherwise returns \c false. */ -bool QIdentityProxyModel::isHandleSourceLayoutChanges() const +bool QIdentityProxyModel::handleSourceLayoutChanges() const { return d_func()->m_handleLayoutChanges; } diff --git a/src/corelib/itemmodels/qidentityproxymodel.h b/src/corelib/itemmodels/qidentityproxymodel.h index c8fc9d21b73..456e108082e 100644 --- a/src/corelib/itemmodels/qidentityproxymodel.h +++ b/src/corelib/itemmodels/qidentityproxymodel.h @@ -44,7 +44,7 @@ public: bool moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) override; bool moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) override; - bool isHandleSourceLayoutChanges() const; + bool handleSourceLayoutChanges() const; protected: QIdentityProxyModel(QIdentityProxyModelPrivate &dd, QObject* parent);