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);
- void source_rowsInserted(const QModelIndex &parent, int start, int end);
protected:
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const;
signals:
void _dataChanged(const QModelIndex &source_topLeft, const QModelIndex &source_bottomRight);
-
+
+private slots:
+ void configInitialized();
+
private:
QPointer<BufferViewConfig> _config;
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)