X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtgui%2Fbufferview.h;h=8a130d6898fbeb90b72145f9e8bb61120d6c70d4;hp=1cb09869aec17a15261bd60ca2b2b093a6dc76a5;hb=2039f5e28eeb431e394f1c2468a26218bd926538;hpb=64ff44560cc13569ab4968e3d974b0b7e9820607 diff --git a/src/qtgui/bufferview.h b/src/qtgui/bufferview.h index 1cb09869..8a130d68 100644 --- a/src/qtgui/bufferview.h +++ b/src/qtgui/bufferview.h @@ -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); };