modernize: Reformat ALL the source... again!
[quassel.git] / src / qtui / verticaldock.h
index e6e6e13..5202f70 100644 (file)
@@ -29,42 +29,41 @@ class VerticalDockTitle : public QWidget
     Q_OBJECT
 
 public:
-    VerticalDockTitle(QDockWidget *parent);
+    VerticalDockTitle(QDockWidgetparent);
 
     QSize sizeHint() const override;
     QSize minimumSizeHint() const override;
     void show(bool show_);
 
 protected:
-    void paintEvent(QPaintEvent *event) override;
+    void paintEvent(QPaintEventevent) override;
 
 private:
     bool _show;
 };
 
-
 class EmptyDockTitle : public QWidget
 {
     Q_OBJECT
 
 public:
-    inline EmptyDockTitle(QDockWidget *parent) : QWidget(parent) {}
+    inline EmptyDockTitle(QDockWidget* parent)
+        : QWidget(parent)
+    {}
 
     inline QSize sizeHint() const override { return {0, 0}; }
 };
 
-
 class VerticalDock : public QDockWidget
 {
     Q_OBJECT
 
 public:
-    VerticalDock(const QString &title, QWidget *parent = nullptr, Qt::WindowFlags flags = nullptr);
-    VerticalDock(QWidget *parent = nullptr, Qt::WindowFlags flags = nullptr);
+    VerticalDock(const QString& title, QWidget* parent = nullptr, Qt::WindowFlags flags = nullptr);
+    VerticalDock(QWidgetparent = nullptr, Qt::WindowFlags flags = nullptr);
 
     void showTitle(bool show);
     void setDefaultTitleWidget();
 };
 
-
-#endif // VERTICALDOCKTITLE_H
+#endif  // VERTICALDOCKTITLE_H