aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-09-13 17:07:44 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-18 13:14:08 +0200
commit9dcc12d52343960400192c817f54a16f7e1f8247 (patch)
tree24d4b194f6dd2f5b35296dfb8b385f6e714611c0 /src/qml/jsruntime/qv4engine_p.h
parent19f7850176e95fb181efb45b2c9a5319582a086c (diff)
Convert a few more methods in ExecutionEngine to use protected pointers
Change-Id: I2e6b1b9dff52bbd16f35a00152c9ac557f8346eb Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r--src/qml/jsruntime/qv4engine_p.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h
index 4ec4c2dad1..a59a837499 100644
--- a/src/qml/jsruntime/qv4engine_p.h
+++ b/src/qml/jsruntime/qv4engine_p.h
@@ -278,12 +278,12 @@ struct Q_QML_EXPORT ExecutionEngine
ArrayObject *newArrayObject(const QStringList &list);
ArrayObject *newArrayObject(InternalClass *ic);
- DateObject *newDateObject(const Value &value);
- DateObject *newDateObject(const QDateTime &dt);
+ Returned<DateObject> *newDateObject(const Value &value);
+ Returned<DateObject> *newDateObject(const QDateTime &dt);
- RegExpObject *newRegExpObject(const QString &pattern, int flags);
- RegExpObject *newRegExpObject(RegExp* re, bool global);
- RegExpObject *newRegExpObject(const QRegExp &re);
+ Returned<RegExpObject> *newRegExpObject(const QString &pattern, int flags);
+ Returned<RegExpObject> *newRegExpObject(RegExp* re, bool global);
+ Returned<RegExpObject> *newRegExpObject(const QRegExp &re);
Object *newErrorObject(const Value &value);
Object *newSyntaxErrorObject(const QString &message, const QString &fileName, int line, int column);