diff options
Diffstat (limited to 'src/script/qscriptvalue.h')
-rw-r--r-- | src/script/qscriptvalue.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script/qscriptvalue.h b/src/script/qscriptvalue.h index 8125d01..5b10f9e 100644 --- a/src/script/qscriptvalue.h +++ b/src/script/qscriptvalue.h @@ -72,7 +72,7 @@ typedef QList<QScriptValue> QScriptValueList; typedef double qsreal; class QScriptValuePrivate; -struct QScriptValuePrivatePointerHandler; +struct QScriptValuePrivatePointerDeleter; class Q_SCRIPT_EXPORT QScriptValue { public: @@ -223,9 +223,9 @@ private: inline QScriptValue(QScriptEngine *, void *); private: - QScopedCustomPointer<QScriptValuePrivate, QScriptValuePrivatePointerHandler> d_ptr; + QCustomScopedPointer<QScriptValuePrivate, QScriptValuePrivatePointerDeleter> d_ptr; - Q_DECLARE_PRIVATE(QScriptValue) + Q_DECLARE_SCOPED_PRIVATE(QScriptValue) }; Q_DECLARE_OPERATORS_FOR_FLAGS(QScriptValue::ResolveFlags) |