modernize: Reformat ALL the source... again!
[quassel.git] / src / qtui / awaylogfilter.h
index 8f82798..560f904 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2015 by the Quassel Project                        *
+ *   Copyright (C) 2005-2018 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -28,12 +28,11 @@ class AwayLogFilter : public ChatMonitorFilter
     Q_OBJECT
 
 public:
-    AwayLogFilter(MessageModel *model, QObject *parent = 0);
+    AwayLogFilter(MessageModel* model, QObject* parent = nullptr);
 
-    virtual bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
-    virtual QString idString() const { return "AwayLog"; }
-    virtual QVariant data(const QModelIndex &index, int role) const;
+    bool filterAcceptsRow(int sourceRow, const QModelIndex& sourceParent) const override;
+    QString idString() const override { return "AwayLog"; }
+    QVariant data(const QModelIndex& index, int role) const override;
 };
 
-
-#endif //AWAYLOGFILTER_H
+#endif  // AWAYLOGFILTER_H