X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fbufferview.h;h=b47904a6ba3e34a0dd7738ae292c3c45aa0da9f6;hb=eb8bdf74cf14f5bfe5ec464513fa8f29bd9b4297;hp=cb5a68dec0e0fc5458fa58a50f6835f445680af4;hpb=d94f8e007a9ec408f63e4d5795af465d0f9aafb0;p=quassel.git diff --git a/src/uisupport/bufferview.h b/src/uisupport/bufferview.h index cb5a68de..b47904a6 100644 --- a/src/uisupport/bufferview.h +++ b/src/uisupport/bufferview.h @@ -52,10 +52,11 @@ class BufferView : public QTreeView { public slots: void setRootIndexForNetworkId(const NetworkId &networkId); - void removeSelectedBuffers(); + void removeSelectedBuffers(bool permanently = false); signals: void removeBuffer(const QModelIndex &); + void removeBufferPermanently(const QModelIndex &); protected: virtual void keyPressEvent(QKeyEvent *); @@ -89,7 +90,8 @@ class BufferView : public QTreeView { QAction _joinBufferAction; QAction _partBufferAction; - QAction _hideBufferAction; + QAction _hideBufferTemporarilyAction; + QAction _hideBufferPermanentlyAction; QAction _removeBufferAction; QAction _ignoreListAction;