summaryrefslogtreecommitdiffstats
path: root/smtreemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'smtreemodel.h')
-rw-r--r--smtreemodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/smtreemodel.h b/smtreemodel.h
index 8d46606..d72d53c 100644
--- a/smtreemodel.h
+++ b/smtreemodel.h
@@ -38,6 +38,8 @@ class SmTreeModel : public QAbstractItemModel {
virtual bool setData(const QModelIndex &index, const QVariant &value, int role);
virtual QModelIndex find(const QVariant &value, int column = 0, const QModelIndex &parent = QModelIndex()) const;
virtual QModelIndex findRecursive(const QVariant &value, int column, const QModelIndex &start) const;
+ virtual bool matchRecursive(const QModelIndex &parent, const QRegExp &regex, int column = 0) const;
+ virtual bool checkParents(const SmTreeItem *item, const QRegExp &regex, int column) const;
// root + parent item
bool setRoot(SmTreeItem *rootItem);