summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmllistmodel.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-11-11 05:24:07 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-11-11 05:32:18 (GMT)
commit7b06c4ca4bd6f91528d1d9ebf44e2f566e817558 (patch)
treefdfbce6fa9e45557b38c0fb3646323bf87ed2bc9 /src/declarative/util/qmllistmodel.cpp
parent239a0dcb704c5a0b1e10a366f8ffacb0db86916e (diff)
downloadQt-7b06c4ca4bd6f91528d1d9ebf44e2f566e817558.zip
Qt-7b06c4ca4bd6f91528d1d9ebf44e2f566e817558.tar.gz
Qt-7b06c4ca4bd6f91528d1d9ebf44e2f566e817558.tar.bz2
Doc fixes after \qmlmethod changes.
Diffstat (limited to 'src/declarative/util/qmllistmodel.cpp')
-rw-r--r--src/declarative/util/qmllistmodel.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/declarative/util/qmllistmodel.cpp b/src/declarative/util/qmllistmodel.cpp
index 19282eb..9e91147 100644
--- a/src/declarative/util/qmllistmodel.cpp
+++ b/src/declarative/util/qmllistmodel.cpp
@@ -467,7 +467,7 @@ void QmlListModel::remove(int index)
}
/*!
- \qmlmethod ListModel::insert(index,dict)
+ \qmlmethod ListModel::insert(int index, jsobject dict)
Adds a new item to the list model at position \a index, with the
values in \a dict.
@@ -500,7 +500,7 @@ void QmlListModel::insert(int index, const QScriptValue& valuemap)
}
/*!
- \qmlmethod ListModel::move(from,to,n)
+ \qmlmethod ListModel::move(int from, int to, int n)
Moves \a n items \a from one position \a to another.
@@ -551,7 +551,7 @@ void QmlListModel::move(int from, int to, int n)
}
/*!
- \qmlmethod ListModel::append(dict)
+ \qmlmethod ListModel::append(jsobject dict)
Adds a new item to the end of the list model, with the
values in \a dict.
@@ -578,7 +578,7 @@ void QmlListModel::append(const QScriptValue& valuemap)
}
/*!
- \qmlmethod object ListModel::get(index)
+ \qmlmethod object ListModel::get(int index)
Returns the item at \a index in the list model.
@@ -620,7 +620,7 @@ QScriptValue QmlListModel::get(int index) const
}
/*!
- \qmlmethod ListModel::set(index,dict)
+ \qmlmethod ListModel::set(int index, jsobject dict)
Changes the item at \a index in the list model with the
values in \a dict. Properties not appearing in \a valuemap
@@ -663,7 +663,7 @@ void QmlListModel::set(int index, const QScriptValue& valuemap)
}
/*!
- \qmlmethod ListModel::set(index,property,value)
+ \qmlmethod ListModel::set(int index, string property, variant value)
Changes the \a property of the item at \a index in the list model to \a value.