]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinurlnavigator.h
Accessibility: Fix message boxes not being announced
[dolphin.git] / src / dolphinurlnavigator.h
index 572c29f631444d39f9e01cd7d91f312cc9732ed3..1387b567f694aba7c3dd4c3a2d02745c7a91335c 100644 (file)
@@ -1,6 +1,6 @@
 /*
     This file is part of the KDE project
-    SPDX-FileCopyrightText: 2020 Felix Ernst <fe.a.ernst@gmail.com>
+    SPDX-FileCopyrightText: 2020 Felix Ernst <felixernst@kde.org>
 
     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
 */
@@ -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