bugfix - qactions from the contextmenu will now be destructed
[quassel.git] / src / uisupport / bufferview.h
index 6485fa5..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,7 +66,7 @@ private slots:
   void joinChannel(const QModelIndex &index);
   void toggleHeader(bool checked);
   void showContextMenu(const QPoint &);
-  void updateSelection();
+  void layoutChanged();
 
 private:
   QPointer<BufferViewConfig> _config;