diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-07-15 08:59:29 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-07-15 08:59:29 (GMT) |
commit | 5e315e3ef4b992b43ac27abbf33187c6053f0435 (patch) | |
tree | 0fd1ac571aaa54bef65a93925d9244c65773e6d1 /examples | |
parent | 2fe8eb61d878c74674415ec32d1d0b420a7c656f (diff) | |
download | Qt-5e315e3ef4b992b43ac27abbf33187c6053f0435.zip Qt-5e315e3ef4b992b43ac27abbf33187c6053f0435.tar.gz Qt-5e315e3ef4b992b43ac27abbf33187c6053f0435.tar.bz2 |
implement name() function of custom property iterator
Diffstat (limited to 'examples')
-rw-r--r-- | examples/script/customclass/bytearrayclass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/script/customclass/bytearrayclass.cpp b/examples/script/customclass/bytearrayclass.cpp index 81a0b8a..c3e7480 100644 --- a/examples/script/customclass/bytearrayclass.cpp +++ b/examples/script/customclass/bytearrayclass.cpp @@ -294,7 +294,7 @@ void ByteArrayClassPropertyIterator::toBack() QScriptString ByteArrayClassPropertyIterator::name() const { - return QScriptString(); + return object().engine()->toStringHandle(QString::number(m_last)); } uint ByteArrayClassPropertyIterator::id() const |