summaryrefslogtreecommitdiff
path: root/src/script/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api')
-rw-r--r--src/script/api/qscriptengine.h2
-rw-r--r--src/script/api/qscriptextensionplugin.h2
-rw-r--r--src/script/api/qscriptstring.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/script/api/qscriptengine.h b/src/script/api/qscriptengine.h
index 80a2869..c7bda46 100644
--- a/src/script/api/qscriptengine.h
+++ b/src/script/api/qscriptengine.h
@@ -264,7 +264,7 @@ protected:
QScriptEngine(QScriptEnginePrivate &dd);
#else
- explicit QScriptEngine(QScriptEnginePrivate &dd, QObject *parent = Q_NULLPTR);
+ explicit QScriptEngine(QScriptEnginePrivate &dd, QObject *parent = nullptr);
#endif
private:
diff --git a/src/script/api/qscriptextensionplugin.h b/src/script/api/qscriptextensionplugin.h
index 8fd1618..f2e4bb8 100644
--- a/src/script/api/qscriptextensionplugin.h
+++ b/src/script/api/qscriptextensionplugin.h
@@ -39,7 +39,7 @@ class Q_SCRIPT_EXPORT QScriptExtensionPlugin : public QObject,
Q_OBJECT
Q_INTERFACES(QScriptExtensionInterface:QFactoryInterface)
public:
- explicit QScriptExtensionPlugin(QObject *parent = Q_NULLPTR);
+ explicit QScriptExtensionPlugin(QObject *parent = nullptr);
~QScriptExtensionPlugin();
virtual QStringList keys() const = 0;
diff --git a/src/script/api/qscriptstring.h b/src/script/api/qscriptstring.h
index eed4a1e..c538581 100644
--- a/src/script/api/qscriptstring.h
+++ b/src/script/api/qscriptstring.h
@@ -47,7 +47,7 @@ public:
bool operator==(const QScriptString &other) const;
bool operator!=(const QScriptString &other) const;
- quint32 toArrayIndex(bool *ok = Q_NULLPTR) const;
+ quint32 toArrayIndex(bool *ok = nullptr) const;
QString toString() const;
operator QString() const;