modernize: Use nullptr
[quassel.git] / src / qtui / settingspages / chatviewsettingspage.h
index 12c2db3..6a1b7af 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2014 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  *
@@ -31,7 +31,7 @@ class ChatViewSettingsPage : public SettingsPage
     Q_OBJECT
 
 public:
-    ChatViewSettingsPage(QWidget *parent = 0);
+    ChatViewSettingsPage(QWidget *parent = nullptr);
 
     inline bool hasDefaults() const { return true; }
 
@@ -41,6 +41,11 @@ public slots:
 private:
     Ui::ChatViewSettingsPage ui;
 
+    /**
+     * Initialize the available options for sender prefixes
+     */
+    void initSenderPrefixComboBox();
+
     inline QString settingsKey() const { return QString("QtUi/ChatView/__default__"); }
 };