Switch some dirty hacking to using real infrastructure. A Chatline now contains three...
[quassel.git] / src / uisupport / bufferview.h
index b766f99..09d6613 100644 (file)
@@ -42,12 +42,14 @@ public:
 
   void setModel(QAbstractItemModel *model);
   void setFilteredModel(QAbstractItemModel *model, BufferViewConfig *config);
+  virtual void setSelectionModel(QItemSelectionModel *selectionModel);
 
   void setConfig(BufferViewConfig *config);
   inline BufferViewConfig *config() { return _config; }
                                                               
 public slots:
   void setRootIndexForNetworkId(const NetworkId &networkId);
+  void removeSelectedBuffers();
   
 signals:
   void removeBuffer(const QModelIndex &);
@@ -64,6 +66,7 @@ private slots:
   void joinChannel(const QModelIndex &index);
   void toggleHeader(bool checked);
   void showContextMenu(const QPoint &);
+  void layoutChanged();
 
 private:
   QPointer<BufferViewConfig> _config;