X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fbufferviewfilter.h;h=af6860a7f52979ae0b4c5f2014f552dc7e139ed8;hp=5cf0cceca7fcfd85f5b99b04f9f98884cc8f29a9;hb=efee441a243efb88929e1e275d71ee27991bf074;hpb=8cece06596c290d69c1f32b7221c796437f5fabb diff --git a/src/uisupport/bufferviewfilter.h b/src/uisupport/bufferviewfilter.h index 5cf0ccec..af6860a7 100644 --- a/src/uisupport/bufferviewfilter.h +++ b/src/uisupport/bufferviewfilter.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2016 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -69,6 +69,8 @@ public: QList actions(const QModelIndex &index); + void setFilterString(const QString string); + protected: bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const; bool lessThan(const QModelIndex &source_left, const QModelIndex &source_right) const; @@ -93,6 +95,7 @@ private: QSet _toAdd; QSet _toTempRemove; QSet _toRemove; + QString _filterString; bool filterAcceptBuffer(const QModelIndex &) const; bool filterAcceptNetwork(const QModelIndex &) const;