X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtgui%2Fbufferviewfilter.h;h=93478c75fe1d45028d05c31949006668b9ffc591;hp=e5082b4ffaa970189cb33a1e199b457e483cedba;hb=999dd26d04c96a142ee0ee8e1d066d939b7c4499;hpb=a5c0b0735d9a448be2556dfe5dc8e89bb4176cd7 diff --git a/src/qtgui/bufferviewfilter.h b/src/qtgui/bufferviewfilter.h index e5082b4f..93478c75 100644 --- a/src/qtgui/bufferviewfilter.h +++ b/src/qtgui/bufferviewfilter.h @@ -44,7 +44,7 @@ public: NoServers = 0x40, FullCustom = 0x80 }; - Q_DECLARE_FLAGS(Modes, Mode) + Q_DECLARE_FLAGS(Modes, Mode); BufferViewFilter(QAbstractItemModel *model, const Modes &mode, const QStringList &nets); @@ -53,9 +53,9 @@ public slots: void changeCurrent(const QModelIndex &, const QModelIndex &); void doubleClickReceived(const QModelIndex &); void select(const QModelIndex &); - //void enterDrag(); - //void leaveDrag(); void dropEvent(QDropEvent *); + void removeBuffer(const QModelIndex &); + signals: void currentChanged(const QModelIndex &, const QModelIndex &); @@ -67,7 +67,7 @@ private: bool filterAcceptNetwork(const QModelIndex &) const; bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const; bool lessThan(const QModelIndex &, const QModelIndex &); - void addBuffer(const uint &, const QString &); + void addBuffer(const uint &); Modes mode; QStringList networks;