summaryrefslogtreecommitdiffstats
path: root/src/script/qscriptengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/qscriptengine.h')
-rw-r--r--src/script/qscriptengine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/qscriptengine.h b/src/script/qscriptengine.h
index 794c965..4f39c57 100644
--- a/src/script/qscriptengine.h
+++ b/src/script/qscriptengine.h
@@ -117,7 +117,7 @@ private:
QScriptSyntaxCheckResult(QScriptSyntaxCheckResultPrivate *d);
QScopedSharedPointer<QScriptSyntaxCheckResultPrivate> d_ptr;
- Q_DECLARE_PRIVATE(QScriptSyntaxCheckResult)
+ Q_DECLARE_SCOPED_PRIVATE(QScriptSyntaxCheckResult)
friend class QScriptEnginePrivate;
};
@@ -291,7 +291,7 @@ protected:
#endif
private:
- Q_DECLARE_PRIVATE(QScriptEngine)
+ Q_DECLARE_SCOPED_PRIVATE(QScriptEngine)
Q_DISABLE_COPY(QScriptEngine)
#ifndef QT_NO_QOBJECT
Q_PRIVATE_SLOT(d_func(), void _q_objectDestroyed(QObject *))