The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
QScriptValue ( QScriptEngine * engine, SpecialValue value ) (obsolete) | |
QScriptValue ( QScriptEngine * engine, bool value ) (obsolete) | |
QScriptValue ( QScriptEngine * engine, int value ) (obsolete) | |
QScriptValue ( QScriptEngine * engine, uint value ) (obsolete) | |
QScriptValue ( QScriptEngine * engine, qsreal value ) (obsolete) | |
QScriptValue ( QScriptEngine * engine, const QString & value ) (obsolete) | |
QScriptValue ( QScriptEngine * engine, const char * value ) (obsolete) | |
bool | isBoolean () const (obsolete) |
bool | toBoolean () const (obsolete) |
QScriptValue | toObject () const (obsolete) |
Constructs a new QScriptValue with the special value and registers it with the script engine.
Constructs a new QScriptValue with the boolean value and registers it with the script engine.
Constructs a new QScriptValue with the integer value and registers it with the script engine.
Constructs a new QScriptValue with the unsigned integer value and registers it with the script engine.
Constructs a new QScriptValue with the qsreal value and registers it with the script engine.
Constructs a new QScriptValue with the string value and registers it with the script engine.
Constructs a new QScriptValue with the string value and registers it with the script engine.
Use isBool() instead.
Use toBool() instead.
This function is obsolete; use QScriptEngine::toObject() instead.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.