X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/f65b0899c3666561cafac14f67ab0bb8a5bfa00a..38c34eeca:/src/filterbar/filterbar.h diff --git a/src/filterbar/filterbar.h b/src/filterbar/filterbar.h index d6ca402af..8a0b81431 100644 --- a/src/filterbar/filterbar.h +++ b/src/filterbar/filterbar.h @@ -24,7 +24,7 @@ class FilterBar : public QWidget Q_OBJECT public: - explicit FilterBar(QWidget* parent = nullptr); + explicit FilterBar(QWidget *parent = nullptr); ~FilterBar() override; /** Called by view container to hide this **/ @@ -39,7 +39,7 @@ public Q_SLOTS: /** Clears the input field. */ void clear(); /** Clears the input field if the "lock button" is disabled. */ - void slotUrlChanged(); + void clearIfUnlocked(); /** The input field is cleared also if the "lock button" is released. */ void slotToggleLockButton(bool checked); @@ -48,7 +48,7 @@ Q_SIGNALS: * Signal that reports the name filter has been * changed to \a nameFilter. */ - void filterChanged(const QString& nameFilter); + void filterChanged(const QString &nameFilter); /** * Emitted as soon as the filterbar should get closed. @@ -61,12 +61,12 @@ Q_SIGNALS: void focusViewRequest(); protected: - void showEvent(QShowEvent* event) override; - void keyReleaseEvent(QKeyEvent* event) override; + void showEvent(QShowEvent *event) override; + void keyReleaseEvent(QKeyEvent *event) override; private: - QLineEdit* m_filterInput; - QToolButton* m_lockButton; + QLineEdit *m_filterInput; + QToolButton *m_lockButton; }; #endif