]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/filterbar/filterbar.h
Add clang-format and format code as in Frameworks
[dolphin.git] / src / filterbar / filterbar.h
index 73b1c566ec40edb2b944c5af0223cb98d3c79b68..8a0b814311b07e3df3ad07595301e9a3383124ea 100644 (file)
@@ -24,7 +24,7 @@ class FilterBar : public QWidget
     Q_OBJECT
 
 public:
-    explicit FilterBar(QWidgetparent = nullptr);
+    explicit FilterBar(QWidget *parent = nullptr);
     ~FilterBar() override;
 
     /** Called by view container to hide this **/
@@ -48,7 +48,7 @@ Q_SIGNALS:
      * Signal that reports the name filter has been
      * changed to \a nameFilter.
      */
-    void filterChanged(const QStringnameFilter);
+    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(QShowEventevent) override;
-    void keyReleaseEvent(QKeyEventevent) override;
+    void showEvent(QShowEvent *event) override;
+    void keyReleaseEvent(QKeyEvent *event) override;
 
 private:
-    QLineEditm_filterInput;
-    QToolButtonm_lockButton;
+    QLineEdit *m_filterInput;
+    QToolButton *m_lockButton;
 };
 
 #endif