diff options
author | Arno <arno@disconnect.de> | 2022-04-15 13:27:34 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2022-04-15 13:27:34 +0200 |
commit | 856119c5a43b4781b051b93a0713c152cfd99f85 (patch) | |
tree | 4e2fde4e7a76179cc243e0665091c6ad429ea640 /smtreemodel.h | |
parent | 62d3ca1482b202d2883eeb5e17e72300e8612477 (diff) | |
download | SheMov-856119c5a43b4781b051b93a0713c152cfd99f85.tar.gz SheMov-856119c5a43b4781b051b93a0713c152cfd99f85.tar.bz2 SheMov-856119c5a43b4781b051b93a0713c152cfd99f85.zip |
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...
Diffstat (limited to 'smtreemodel.h')
-rw-r--r-- | smtreemodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |