┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.h
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2021-08-29 19:52:44 +0200
committerElvis Angelaccio <[email protected]>2021-08-29 19:52:44 +0200
commit011fe5b1e89b6e509165bc0551e164f3432aaa94 (patch)
treeaad8abae5e115dd5fb14b5509f17f733ea4ba070 /src/views/dolphinview.h
parent3286a194d6e2e25e5685556d4eda2d6e24fdb672 (diff)
Revert "Revert "Configurable Show hidden files and folders last toggle""
This reverts commit bb67def173f31819bb9a696627f9af71c7037dcd.
Diffstat (limited to 'src/views/dolphinview.h')
-rw-r--r--src/views/dolphinview.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h
index e4d779830..75c9dd985 100644
--- a/src/views/dolphinview.h
+++ b/src/views/dolphinview.h
@@ -206,6 +206,10 @@ public:
void setSortFoldersFirst(bool foldersFirst);
bool sortFoldersFirst() const;
+ /** Sets a separate sorting with hidden files and folders last (true) or not (false). */
+ void setSortHiddenLast(bool hiddenLast);
+ bool sortHiddenLast() const;
+
/** Sets the additional information which should be shown for the items. */
void setVisibleRoles(const QList<QByteArray>& roles);
@@ -470,6 +474,11 @@ Q_SIGNALS:
*/
void sortFoldersFirstChanged(bool foldersFirst);
+ /**
+ * Is emitted if the sorting of hidden files has been changed.
+ */
+ void sortHiddenLastChanged(bool hiddenLast);
+
/** Is emitted if the additional information shown for this view has been changed. */
void visibleRolesChanged(const QList<QByteArray>& current,
const QList<QByteArray>& previous);
@@ -680,6 +689,12 @@ private Q_SLOTS:
void updateSortFoldersFirst(bool foldersFirst);
/**
+ * Updates the view properties of the current URL to the
+ * sorting of hidden files given by \a hiddenLast.
+ */
+ void updateSortHiddenLast(bool hiddenLast);
+
+ /**
* Indicates in the status bar that the delete operation
* of the job \a job has been finished.
*/