not needed atm
svn path=/trunk/KDE/kdebase/runtime/; revision=1101326
This commit is contained in:
parent
920eef1666
commit
2003e72a37
@ -42,7 +42,7 @@ Q_DECLARE_METATYPE(DataEngine::Data)
|
|||||||
template <class M>
|
template <class M>
|
||||||
QScriptValue qScriptValueFromMap(QScriptEngine *eng, const M &map)
|
QScriptValue qScriptValueFromMap(QScriptEngine *eng, const M &map)
|
||||||
{
|
{
|
||||||
kDebug() << "qScriptValueFromMap called";
|
//kDebug() << "qScriptValueFromMap called";
|
||||||
QScriptValue obj = eng->newObject();
|
QScriptValue obj = eng->newObject();
|
||||||
typename M::const_iterator begin = map.constBegin();
|
typename M::const_iterator begin = map.constBegin();
|
||||||
typename M::const_iterator end = map.constEnd();
|
typename M::const_iterator end = map.constEnd();
|
||||||
@ -57,7 +57,7 @@ QScriptValue qScriptValueFromMap(QScriptEngine *eng, const M &map)
|
|||||||
template <class M>
|
template <class M>
|
||||||
void qScriptValueToMap(const QScriptValue &value, M &map)
|
void qScriptValueToMap(const QScriptValue &value, M &map)
|
||||||
{
|
{
|
||||||
kDebug() << "qScriptValueToMap called";
|
//kDebug() << "qScriptValueToMap called";
|
||||||
QScriptValueIterator it(value);
|
QScriptValueIterator it(value);
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
it.next();
|
it.next();
|
||||||
|
Loading…
Reference in New Issue
Block a user