X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/63f4981fe01d88b2ef1b27e0577d7f5d4c8cc485..e9bd295b:/src/dolphinurlnavigator.h diff --git a/src/dolphinurlnavigator.h b/src/dolphinurlnavigator.h index 9bcc32b4d..572c29f63 100644 --- a/src/dolphinurlnavigator.h +++ b/src/dolphinurlnavigator.h @@ -36,7 +36,7 @@ public: */ DolphinUrlNavigator(const QUrl &url, QWidget *parent = nullptr); - virtual ~DolphinUrlNavigator(); + ~DolphinUrlNavigator() override; // TODO: Fix KUrlNavigator::sizeHint() instead. QSize sizeHint() const override; @@ -66,7 +66,17 @@ public: */ void setVisualState(const VisualState &visualState); -public slots: + /** + * Clears the text in the text field + */ + void clearText() const; + + /** + * Displays placeholder text in the URL navigator + */ + void setPlaceholderText(const QString &text); + +public Q_SLOTS: /** * Switches to "breadcrumb" mode if the editable mode is not set to be * preferred in the Dolphin settings.