Prevent Quassel from crashing upon core dis- and reconnect and make the NickListWidgets
[quassel.git] / src / qtui / nicklistwidget.h
index 579d8fb..5a091b8 100644 (file)
@@ -5,7 +5,7 @@
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
  *   the Free Software Foundation; either version 2 of the License, or     *
- *   (at your option) any later version.                                   *
+ *   (at your option) version 3.                                           *
  *                                                                         *
  *   This program is distributed in the hope that it will be useful,       *
  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
@@ -36,6 +36,10 @@ class NickListWidget : public QWidget {
 
   public slots:
     void setBuffer(Buffer *);
+    void reset();
+
+  private slots:
+    void bufferDestroyed(QObject *);
 
   private:
     Ui::NickListWidget ui;