From e07de4e0a1bd56aab8f4ee81d6db252e442c3d7a Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 13 Oct 2013 07:25:50 +0200 Subject: Add filter bar to MappingTreeWidget Move matchRecursive from ArchiveModel to SmTreeModel so we can use it here, too. --- archivemodel.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'archivemodel.h') diff --git a/archivemodel.h b/archivemodel.h index 12b76be..2985e55 100644 --- a/archivemodel.h +++ b/archivemodel.h @@ -35,7 +35,6 @@ class ArchiveModel : public SmTreeModel { const QHash availableOrdersHash() const { return mAvailableOrders; } virtual QVariant data(const QModelIndex &index, int role) const; virtual bool setData(const QModelIndex &idx, const QVariant &value, int role); - virtual bool matchRecursive(const QModelIndex &parent, const QRegExp ®ex, int column = 0) const; virtual bool removeNode(const QModelIndex &idx); QStringList indexToPath(const QModelIndex &idx) const; QModelIndexList pathToIndex(const QStringList &path) const; @@ -72,7 +71,6 @@ class ArchiveModel : public SmTreeModel { void collectorFinished(QObject *thread); private: - bool checkParents(const SmTreeItem *item, const QRegExp ®ex, int column) const; void emitDatabaseError(const QSqlError &e); void writeCache(int o, SmTreeItem *rItem); void writeRecursive(SmTreeItem *start, QDataStream &stream); -- cgit v1.2.3-70-g09d2