┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.h
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2024-01-06 11:13:22 +0100
committerMéven Car <[email protected]>2024-01-06 11:13:22 +0100
commit5186f09cabf0af4b0683e75b0bcde1061f84a67e (patch)
tree943a31a4214f56ad98d973b70f0400fa25b541cc /src/views/dolphinview.h
parent9904740f6d18699e95e505dd5c21fd334deeea49 (diff)
DolphinView: merge update functions into set functions
NO_CHANGELOG
Diffstat (limited to 'src/views/dolphinview.h')
-rw-r--r--src/views/dolphinview.h20
1 files changed, 8 insertions, 12 deletions
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;
@@ -726,18 +734,6 @@ private Q_SLOTS:
/**
* 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.
*/
void updateSortFoldersFirst(bool foldersFirst);