X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fnickviewfilter.h;h=40b33d210cab7df02bfa894cfac10ba9506e1395;hb=c8ddabf364eff2400c61cea395aefe69eb8ba1b3;hp=952271e811bb39b4d187e938d026f8f894c4eb13;hpb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;p=quassel.git diff --git a/src/uisupport/nickviewfilter.h b/src/uisupport/nickviewfilter.h index 952271e8..40b33d21 100644 --- a/src/uisupport/nickviewfilter.h +++ b/src/uisupport/nickviewfilter.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -34,14 +34,14 @@ class UISUPPORT_EXPORT NickViewFilter : public QSortFilterProxyModel Q_OBJECT public: - NickViewFilter(const BufferId &bufferId, NetworkModel *parent = nullptr); + NickViewFilter(const BufferId& bufferId, NetworkModel* parent = nullptr); - virtual QVariant data(const QModelIndex &index, int role) const; - QVariant icon(const QModelIndex &index) const; + QVariant data(const QModelIndex& index, int role) const override; + QVariant icon(const QModelIndex& index) const; protected: - virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const; - QVariant styleData(const QModelIndex &index, int role) const; + bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const override; + QVariant styleData(const QModelIndex& index, int role) const; private: BufferId _bufferId;