/***************************************************************************
- * Copyright (C) 2005-2018 by the Quassel Project *
+ * Copyright (C) 2005-2020 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
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;