diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-07-15 08:59:29 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-06 13:32:52 (GMT) |
commit | b4264b12a51ecea93517a84f94c15f8e97b2f50f (patch) | |
tree | ae660f111db511a5d6d86381a1688c195627aac2 | |
parent | 6fb50f9180f990ffa68feb6b5c43030aa36a7093 (diff) | |
download | Qt-b4264b12a51ecea93517a84f94c15f8e97b2f50f.zip Qt-b4264b12a51ecea93517a84f94c15f8e97b2f50f.tar.gz Qt-b4264b12a51ecea93517a84f94c15f8e97b2f50f.tar.bz2 |
implement name() function of custom property iterator
-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 2044a16..8fe1a96 100644 --- a/examples/script/customclass/bytearrayclass.cpp +++ b/examples/script/customclass/bytearrayclass.cpp @@ -297,7 +297,7 @@ void ByteArrayClassPropertyIterator::toBack() QScriptString ByteArrayClassPropertyIterator::name() const { - return QScriptString(); + return object().engine()->toStringHandle(QString::number(m_last)); } uint ByteArrayClassPropertyIterator::id() const |