modernize: Pass arguments by value and move in constructors
[quassel.git] / src / qtui / settingspages / itemviewsettingspage.h
index 903cbcd..d53c1c0 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  *
@@ -33,12 +33,12 @@ class ItemViewSettingsPage : public SettingsPage
     Q_OBJECT
 
 public:
-    ItemViewSettingsPage(QWidget *parent = 0);
+    ItemViewSettingsPage(QWidget *parent = nullptr);
 
-    inline bool hasDefaults() const { return true; }
+    inline bool hasDefaults() const override { return true; }
 
 public slots:
-    void save();
+    void save() override;
 
 private slots:
     void updateBufferViewPreview(QWidget *button);
@@ -49,7 +49,7 @@ private:
     QTreeWidgetItem *_networkItem, *_defaultBufferItem, *_inactiveBufferItem,
     *_activeBufferItem, *_unreadBufferItem, *_highlightedBufferItem;
 
-    inline QString settingsKey() const { return QString("ItemViews"); }
+    inline QString settingsKey() const override { return QString("ItemViews"); }
 };