summaryrefslogtreecommitdiffstats
path: root/archivemodel.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-10-13 07:25:50 +0200
committerArno <am@disconnect.de>2013-10-13 07:25:50 +0200
commite07de4e0a1bd56aab8f4ee81d6db252e442c3d7a (patch)
tree02b62d34152e481917ba1bef6a7191e4e3465c72 /archivemodel.h
parent5beb56a09363197e23a630d3fd2f71899d7f00a0 (diff)
downloadSheMov-e07de4e0a1bd56aab8f4ee81d6db252e442c3d7a.tar.gz
SheMov-e07de4e0a1bd56aab8f4ee81d6db252e442c3d7a.tar.bz2
SheMov-e07de4e0a1bd56aab8f4ee81d6db252e442c3d7a.zip
Add filter bar to MappingTreeWidget
Move matchRecursive from ArchiveModel to SmTreeModel so we can use it here, too.
Diffstat (limited to 'archivemodel.h')
-rw-r--r--archivemodel.h2
1 files changed, 0 insertions, 2 deletions
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<QString, int> 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 &regex, 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 &regex, int column) const;
void emitDatabaseError(const QSqlError &e);
void writeCache(int o, SmTreeItem *rItem);
void writeRecursive(SmTreeItem *start, QDataStream &stream);