diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-04-02 09:57:13 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-04-03 21:01:49 +0200 |
commit | 55be24d6b6e66bd54168021f5a467ba4da73b2c6 (patch) | |
tree | 07f3165aebbe539dc506e78f1f4040471d32ab62 /tests/auto/qml/qqmlecmascript/testtypes.h | |
parent | e1bc9db85149b89feb73f1690fd218de498b8b27 (diff) |
Remove QRegExp from qml autotests
QRegExp will get removed in Qt6. Clean up by removing dependencies
on QRegExp in the autotests.
Change-Id: I8ef8561ba30b98b61cd9ed52907b48c5969f2c49
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/testtypes.h')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/testtypes.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/auto/qml/qqmlecmascript/testtypes.h b/tests/auto/qml/qqmlecmascript/testtypes.h index 415e884eb8..b999c670a8 100644 --- a/tests/auto/qml/qqmlecmascript/testtypes.h +++ b/tests/auto/qml/qqmlecmascript/testtypes.h @@ -100,7 +100,6 @@ class MyQmlObject : public QObject Q_PROPERTY(QObject *objectProperty READ objectProperty WRITE setObjectProperty NOTIFY objectChanged) Q_PROPERTY(QQmlListProperty<QObject> objectListProperty READ objectListProperty CONSTANT) Q_PROPERTY(int resettableProperty READ resettableProperty WRITE setResettableProperty RESET resetProperty) - Q_PROPERTY(QRegExp regExp READ regExp WRITE setRegExp) Q_PROPERTY(QRegularExpression regularExpression READ regularExpression WRITE setRegularExpression) Q_PROPERTY(int nonscriptable READ nonscriptable WRITE setNonscriptable SCRIPTABLE false) Q_PROPERTY(int intProperty READ intProperty WRITE setIntProperty NOTIFY intChanged) @@ -168,9 +167,6 @@ public: void setResettableProperty(int v) { m_resetProperty = v; } void resetProperty() { m_resetProperty = 13; } - QRegExp regExp() { return m_regExp; } - void setRegExp(const QRegExp ®Exp) { m_regExp = regExp; } - QRegularExpression regularExpression() { return m_regularExpression; } void setRegularExpression(const QRegularExpression ®ularExpression) { @@ -276,7 +272,6 @@ private: QList<QObject *> m_objectQList; int m_value; int m_resetProperty; - QRegExp m_regExp; QRegularExpression m_regularExpression; QVariant m_variant; QJSValue m_qjsvalue; |