From 856119c5a43b4781b051b93a0713c152cfd99f85 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 15 Apr 2022 13:27:34 +0200 Subject: Make it run with Qt6 This is a huge commit. Changes: * Obviously, make it compile * Make it run (only scarcely tested) * get rid of most of clang's warnings Let's see what surprises are in store... --- smtreemodel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'smtreemodel.h') diff --git a/smtreemodel.h b/smtreemodel.h index cb55186..341eecc 100644 --- a/smtreemodel.h +++ b/smtreemodel.h @@ -38,8 +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 &pIdx = QModelIndex()) const; virtual QModelIndex findRecursive(const QVariant &value, int column, const QModelIndex &start) const; - virtual bool matchRecursive(const QModelIndex &pIdx, const QRegExp ®ex, int column = 0) const; - virtual bool checkParents(const SmTreeItem *item, const QRegExp ®ex, int column) const; + virtual bool matchRecursive(const QModelIndex &pIdx, const QRegularExpression ®ex, int column = 0) const; + virtual bool checkParents(const SmTreeItem *item, const QRegularExpression ®ex, int column) const; // root + parent item bool setRoot(SmTreeItem *rootItem); -- cgit v1.2.3-70-g09d2