┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinurlnavigator.h
diff options
context:
space:
mode:
authorJin Liu <[email protected]>2024-05-13 11:01:17 +0000
committerFelix Ernst <[email protected]>2024-05-13 11:01:17 +0000
commit046b41666a8ac1cb0f6aaf0daad0361728f3907e (patch)
tree113ee4d319e43d806e927393f3d0c0f58f600fdc /src/dolphinurlnavigator.h
parenta55c467fbb31d822d89722812388425327830377 (diff)
UrlNavigator: show a "lock" icon after the breadcrumb for read-only dir
Diffstat (limited to 'src/dolphinurlnavigator.h')
-rw-r--r--src/dolphinurlnavigator.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dolphinurlnavigator.h b/src/dolphinurlnavigator.h
index 93a573105..1387b567f 100644
--- a/src/dolphinurlnavigator.h
+++ b/src/dolphinurlnavigator.h
@@ -76,6 +76,16 @@ public:
*/
void setPlaceholderText(const QString &text);
+ /**
+ * Sets the visibility of the read-only badge at the end of the breadcrumb.
+ */
+ void setReadOnlyBadgeVisible(bool visible);
+
+ /**
+ * Returns the visibility of the read-only badge at the end of the breadcrumb.
+ */
+ bool readOnlyBadgeVisible() const;
+
public Q_SLOTS:
/**
* Switches to "breadcrumb" mode if the editable mode is not set to be