X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fbufferviewfilter.h;h=7fc623946c6aba95d3bbe2f60cd8bddec58da609;hb=16923dbe3a43fc11e903639cc026063c38aaad37;hp=4a80f7ecd5b9817e4a4a144db8e932fb6ad49416;hpb=993d4d84b10d89197a100212b4aaa1b8ceca1dbb;p=quassel.git diff --git a/src/uisupport/bufferviewfilter.h b/src/uisupport/bufferviewfilter.h index 4a80f7ec..7fc62394 100644 --- a/src/uisupport/bufferviewfilter.h +++ b/src/uisupport/bufferviewfilter.h @@ -62,7 +62,6 @@ public: inline BufferViewConfig *config() const { return _config; } public slots: - void removeBuffer(const QModelIndex &); void checkPreviousCurrentForRemoval(const QModelIndex ¤t, const QModelIndex &previous); void checkItemForRemoval(const QModelIndex &index) { checkItemsForRemoval(index, index); } void checkItemsForRemoval(const QModelIndex &topLeft, const QModelIndex &bottomRight); @@ -77,7 +76,10 @@ protected: signals: void _dataChanged(const QModelIndex &source_topLeft, const QModelIndex &source_bottomRight); - + +private slots: + void configInitialized(); + private: QPointer _config; @@ -90,7 +92,7 @@ private: bool filterAcceptBuffer(const QModelIndex &) const; bool filterAcceptNetwork(const QModelIndex &) const; - void addBuffer(const BufferId &); + void addBuffer(const BufferId &) const; }; Q_DECLARE_OPERATORS_FOR_FLAGS(BufferViewFilter::Modes)