Trying to fix random segfault upon connect...
[quassel.git] / src / qtgui / bufferview.h
index 1cb0986..8a130d6 100644 (file)
@@ -38,15 +38,18 @@ public:
   void setModel(QAbstractItemModel *model);
   void setFilteredModel(QAbstractItemModel *model, BufferViewFilter::Modes mode, QStringList nets);
   
-  void dragEnterEvent(QDragEnterEvent *);
-  void dragLeaveEvent(QDragLeaveEvent *);
-  
+public slots:
+  void select(const QModelIndex &);
+    
 signals:
-  void dragEnter();
-  void dragLeave();
+  void eventDropped(QDropEvent *);
+  void removeBuffer(const QModelIndex &);
+  void selectionChanged(const QModelIndex &, QItemSelectionModel::SelectionFlags);
   
-  protected:
-    void rowsInserted (const QModelIndex & parent, int start, int end);
+protected:
+  void dropEvent(QDropEvent *);
+  void keyPressEvent(QKeyEvent *);
+  void rowsInserted (const QModelIndex & parent, int start, int end);
 };