以下成員源於類 QScriptValue 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
|
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 |
構造新的 QScriptValue with the special value and registers it with the script engine .
構造新的 QScriptValue with the boolean value and registers it with the script engine .
構造新的 QScriptValue with the integer value and registers it with the script engine .
構造新的 QScriptValue with the unsigned integer value and registers it with the script engine .
構造新的 QScriptValue with the qsreal value and registers it with the script engine .
構造新的 QScriptValue 采用字符串 value and registers it with the script engine .
構造新的 QScriptValue 采用字符串 value and registers it with the script engine .
使用 isBool () 代替。
使用 toBool () 代替。
This function is obsolete; use QScriptEngine::toObject () 代替。