From 5186f09cabf0af4b0683e75b0bcde1061f84a67e Mon Sep 17 00:00:00 2001 From: Méven Car Date: Sat, 6 Jan 2024 11:13:22 +0100 Subject: DolphinView: merge update functions into set functions NO_CHANGELOG --- src/views/dolphinview.h | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'src/views/dolphinview.h') diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index b6b3aa4a9..c1463de6d 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -205,9 +205,17 @@ public: */ void resetZoomLevel(); + /** + * Updates the view properties of the current URL to the + * sorting given by \a role. + */ void setSortRole(const QByteArray &role); QByteArray sortRole() const; + /** + * Updates the view properties of the current URL to the + * sort order given by \a order. + */ void setSortOrder(Qt::SortOrder order); Qt::SortOrder sortOrder() const; @@ -724,18 +732,6 @@ private Q_SLOTS: */ void slotStatJobResult(KJob *job); - /** - * Updates the view properties of the current URL to the - * sorting given by \a role. - */ - void updateSortRole(const QByteArray &role); - - /** - * Updates the view properties of the current URL to the - * sort order given by \a order. - */ - void updateSortOrder(Qt::SortOrder order); - /** * Updates the view properties of the current URL to the * sorting of files and folders (separate with folders first or mixed) given by \a foldersFirst. -- cgit v1.3.1