/*
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
*/
*/
DolphinUrlNavigator(const QUrl &url, QWidget *parent = nullptr);
- virtual ~DolphinUrlNavigator();
+ ~DolphinUrlNavigator() override;
// TODO: Fix KUrlNavigator::sizeHint() instead.
QSize sizeHint() const override;
*/
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