Obsolete Members for QScriptValueThe following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code. Public Functions
Member Function DocumentationQScriptValue::QScriptValue ( QScriptEngine * engine, SpecialValue value )Constructs a new QScriptValue with the special value and registers it with the script engine. QScriptValue::QScriptValue ( QScriptEngine * engine, bool value )Constructs a new QScriptValue with the boolean value and registers it with the script engine. QScriptValue::QScriptValue ( QScriptEngine * engine, int value )Constructs a new QScriptValue with the integer value and registers it with the script engine. QScriptValue::QScriptValue ( QScriptEngine * engine, uint value )Constructs a new QScriptValue with the unsigned integer value and registers it with the script engine. QScriptValue::QScriptValue ( QScriptEngine * engine, qsreal value )Constructs a new QScriptValue with the qsreal value and registers it with the script engine. QScriptValue::QScriptValue ( QScriptEngine * engine, const QString & value )Constructs a new QScriptValue with the string value and registers it with the script engine. QScriptValue::QScriptValue ( QScriptEngine * engine, const char * value )Constructs a new QScriptValue with the string value and registers it with the script engine. bool QScriptValue::isBoolean () constUse isBool() instead. bool QScriptValue::toBoolean () constUse toBool() instead. QScriptValue QScriptValue::toObject () constThis function is obsolete; use QScriptEngine::toObject() instead.
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |