modernize: Use nullptr
[quassel.git] / src / qtui / nicklistwidget.h
index c2a626e..a4e5ecb 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  *
@@ -39,7 +39,7 @@ class NickListWidget : public AbstractItemView
     Q_OBJECT
 
 public:
-    NickListWidget(QWidget *parent = 0);
+    NickListWidget(QWidget *parent = nullptr);
 
 public slots:
     void showWidget(bool visible);
@@ -77,9 +77,11 @@ class NickListDock : public QDockWidget
     Q_OBJECT
 
 public:
-    NickListDock(const QString &title, QWidget *parent = 0);
+    NickListDock(const QString &title, QWidget *parent = nullptr);
     // ~NickListDock();
 
+    void setLocked(bool locked);
+
     // virtual bool event(QEvent *event);
 };