X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fbufferhotlistfilter.h;fp=src%2Fuisupport%2Fbufferhotlistfilter.h;h=016e333802de84753c6b8129b7b5e1a76623693a;hp=3d634af377464c394c17fb736301cfec3fed4619;hb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;hpb=30b159cb876a9495de42e9a3e70ca050516f0805 diff --git a/src/uisupport/bufferhotlistfilter.h b/src/uisupport/bufferhotlistfilter.h index 3d634af3..016e3338 100644 --- a/src/uisupport/bufferhotlistfilter.h +++ b/src/uisupport/bufferhotlistfilter.h @@ -23,6 +23,7 @@ #include "uisupport-export.h" #include + #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 QModelIndex& source_parent) const override; + bool lessThan(const QModelIndex& source_left, const QModelIndex& source_right) const override; };