Rename QIdentityProxyModel::isHandleSourceLayoutChanges()
... to handleSourceLayoutChanges(), as this is more in line with the Qt naming guidelines. Amends 675b4f63feab7c81c75e49f6dea82a39dd18f489. Change-Id: Iea515693337b8b5332df192191bd9ec3e6cdd65c Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit ae7a8c84b0c65696ca6eda188bb54a50d8ef6e28) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
2e58e04c75
commit
916ce646b7
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user