modernize: Reformat ALL the source... again!
[quassel.git] / src / uisupport / bufferhotlistfilter.h
index 3d634af..016e333 100644 (file)
@@ -23,6 +23,7 @@
 #include "uisupport-export.h"
 
 #include <QSortFilterProxyModel>
+
 #include "types.h"
 
 class UISUPPORT_EXPORT BufferHotListFilter : public QSortFilterProxyModel
@@ -30,13 +31,13 @@ class UISUPPORT_EXPORT BufferHotListFilter : public QSortFilterProxyModel
     Q_OBJECT
 
 public:
-    BufferHotListFilter(QAbstractItemModel *source, QObject *parent = nullptr);
+    BufferHotListFilter(QAbstractItemModel* source, QObject* parent = nullptr);
 
-    inline int columnCount(const QModelIndex &) const override { return 1; }
+    inline int columnCount(const QModelIndex&) const override { return 1; }
     BufferId hottestBuffer();
-//   QVariant data(const QModelIndex &index, int role) const;
+    //   QVariant data(const QModelIndex &index, int role) const;
 
 protected:
-    bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override;
-    bool lessThan(const QModelIndex &source_left, const QModelIndex &source_right) const override;
+    bool filterAcceptsRow(int source_row, const QModelIndexsource_parent) const override;
+    bool lessThan(const QModelIndex& source_left, const QModelIndex& source_right) const override;
 };