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.