aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types/qqmllistmodelworkeragent_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-04-19 10:59:41 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-04-19 13:07:10 +0200
commit3e08aa42497f7d264be039f31f4eedf639eda307 (patch)
tree871ee4f38715ab0111fe8e2c49756ca60390898e /src/qml/types/qqmllistmodelworkeragent_p.h
parent190b376859ae9709e887886fcbaa56d60495be66 (diff)
Rename QQmlV8Handle to QQmlV4Handle
The handle wraps a V4 Value, so this is the better name for it. Also added some accessor methods to convert to and from V4 Values. Change-Id: I327c83feb5bd3be59909001489979e5a3a9d9e67 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/types/qqmllistmodelworkeragent_p.h')
-rw-r--r--src/qml/types/qqmllistmodelworkeragent_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/types/qqmllistmodelworkeragent_p.h b/src/qml/types/qqmllistmodelworkeragent_p.h
index 614017069c..a76f66005b 100644
--- a/src/qml/types/qqmllistmodelworkeragent_p.h
+++ b/src/qml/types/qqmllistmodelworkeragent_p.h
@@ -84,8 +84,8 @@ public:
Q_INVOKABLE void remove(QQmlV8Function *args);
Q_INVOKABLE void append(QQmlV8Function *args);
Q_INVOKABLE void insert(QQmlV8Function *args);
- Q_INVOKABLE QQmlV8Handle get(int index) const;
- Q_INVOKABLE void set(int index, const QQmlV8Handle &);
+ Q_INVOKABLE QQmlV4Handle get(int index) const;
+ Q_INVOKABLE void set(int index, const QQmlV4Handle &);
Q_INVOKABLE void setProperty(int index, const QString& property, const QVariant& value);
Q_INVOKABLE void move(int from, int to, int count);
Q_INVOKABLE void sync();