cmake: avoid de-duplication of user's CXXFLAGS
[quassel.git] / src / uisupport / nickviewfilter.h
index b8c0551..40b33d2 100644 (file)
@@ -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 = 0);
+    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 QModelIndexindex) 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 QModelIndexindex, int role) const;
 
 private:
     BufferId _bufferId;