Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
src_script_qjsvalue.cpp File Reference

(0dc4fd240a2897c5c443a0ef6d84c416843e4938)

Go to the source code of this file.

Functions

myObject setProperty ("myChild", myOtherObject)
 
myObject setProperty ("name", "John Doe")
 
engine evaluate ("function fullName() { return this.firstName + ' ' + this.lastName; }")
 
engine evaluate ("somePerson = { firstName: 'John', lastName: 'Doe' }")
 
 qDebug ()<< fullName.call(who).toString()
 [1]
 
engine evaluate ("function cube(x) { return x * x * x; }")
 

Variables

QJSEngine myEngine
 [0]
 
QJSValue myObject = myEngine.newObject()
 
QJSValue myOtherObject = myEngine.newObject()
 
QJSEngine engine
 [0]
 
QJSValue global = engine.globalObject()
 
QJSValue fullName = global.property("fullName")
 
QJSValue who = global.property("somePerson")
 
QJSValue cube = global.property("cube")
 
QJSValueList args
 

Function Documentation

◆ evaluate() [1/3]

engine evaluate ( "function cube(x) { return x * x * x; }" )

◆ evaluate() [2/3]

engine evaluate ( "function fullName() { return this.firstName + ' ' + this.lastName; }" )

◆ evaluate() [3/3]

engine evaluate ( )

◆ qDebug()

qDebug ( )

[1]

[7]

[toString]

◆ setProperty() [1/2]

myObject setProperty ( "myChild" ,
myOtherObject  )

◆ setProperty() [2/2]

myObject setProperty ( "name" ,
"John Doe"  )

Variable Documentation

◆ args

Definition at line 25 of file src_script_qjsvalue.cpp.

◆ cube

◆ engine

QJSEngine engine

[0]

[1]

Definition at line 14 of file src_script_qjsvalue.cpp.

Referenced by CapturePreventer::CapturePreventer(), QV4::Function::Function(), QV4::FunctionData::FunctionData(), QV4::IdentifierHash::IdentifierHash(), QQmlJS::Lexer::Lexer(), QV4::ObjectIterator::ObjectIterator(), GLSL::Parser::Parser(), QAudioRoom::QAudioRoom(), QFontEngineMulti::QFontEngineMulti(), QGeoMappingManager::QGeoMappingManager(), QGeoMapPrivate::QGeoMapPrivate(), QGeoTiledMap::QGeoTiledMap(), QGeoTiledMap::QGeoTiledMap(), QGeoTiledMapOsm::QGeoTiledMapOsm(), QGeoTiledMapPrivate::QGeoTiledMapPrivate(), QIOSAssetData::QIOSAssetData(), QPlaceContentReplyImpl::QPlaceContentReplyImpl(), QQmlBoundSignal::QQmlBoundSignal(), QQmlFile::QQmlFile(), QQmlFileSelector::QQmlFileSelector(), QQmlProfilerAdapter::QQmlProfilerAdapter(), QQmlProperty::QQmlProperty(), QQmlProperty::QQmlProperty(), QQuickVisualTestUtils::QQuickApplicationHelper::QQuickApplicationHelper(), QQuickPixmap::QQuickPixmap(), QQuickPixmap::QQuickPixmap(), QQuickPixmap::QQuickPixmap(), QV4ProfilerAdapter::QV4ProfilerAdapter(), QV4::RuntimeCodegen::RuntimeCodegen(), QV4::Script::Script(), TestCaseCollector::TestCaseCollector(), WorkerScript::WorkerScript(), QV4::LazyScope::~LazyScope(), QGeoTiledMap::~QGeoTiledMap(), QQmlInfo::~QQmlInfo(), QQuickPixmapReader::~QQuickPixmapReader(), _q_checkEntry(), QQuickItemPrivate::_q_createJSWrapper(), QQuick3DObjectPrivate::_q_createJSWrapper(), _q_createLegacyEngine_recursive(), QVectorPath::addCacheData(), QQuickTextEditPrivate::addCurrentTextNodeToRoot(), QQmlNativeDebugConnector::addEngine(), QQmlDebugServerImpl::addEngine(), ProxyTranslator::addEngine(), QIcon::addFile(), QV4::RuntimeHelpers::addHelper(), QFontEngineMulti::addOutlineToPath(), QFileSystemWatcher::addPaths(), QV4::Object::addSymbolSpecies(), QQuickControlsTestUtils::addTestRowForEachControl(), QQmlDelayedCallQueue::addUniquelyAndExecuteLater(), QQuickGroupGoalAffector::affectParticle(), QQuickSpriteGoalAffector::affectParticle(), QV4::MemoryManager::alloc(), QV4::MemoryManager::allocate(), QV4::HugeItemAllocator::allocate(), QV4::BlockAllocator::allocate(), QV4::MemoryManager::allocateObject(), QV4::MemoryManager::allocateObject(), QV4::MemoryManager::allocManaged(), QV4::MemoryManager::allocManaged(), QV4::MemoryManager::allocManaged(), QV4::MemoryManager::allocWithStringData(), QFontEngineMulti::alphaMapForGlyph(), QFontEngineMulti::alphaMapForGlyph(), QFontEngineMulti::alphaMapForGlyph(), QFontEngineMulti::alphaMapForGlyph(), QFontEngineMulti::alphaRGBMapForGlyph(), QQmlPrivate::amendException(), QV4::UrlSearchParamsObject::append(), QQmlJSLinter::applyFixes(), QV4::Lookup::arrayLengthSetter(), QFontMetrics::ascent(), QFontMetricsF::ascent(), QFontEngineMulti::ascent(), QV4::PropertyKey::asFunctionName(), QQmlTypePrivate::attachedPropertiesBase(), QQmlMetaType::attachedPropertiesFunc(), QQmlType::attachedPropertiesFunction(), QQmlType::attachedPropertiesType(), QFontMetrics::averageCharWidth(), QFontMetricsF::averageCharWidth(), QFontEngineMulti::averageCharWidth(), QFontEngineMulti::boundingBox(), QFontEngineMulti::boundingBox(), QFontMetrics::boundingRect(), QFontMetricsF::boundingRect(), QCommonStylePrivate::calculateElidedText(), QQC2::QCommonStylePrivate::calculateElidedText(), QJSValue::call(), QV4::Runtime::CompareGreaterThan::call(), QV4::Runtime::CompareLessThan::call(), QV4::Runtime::CompareGreaterEqual::call(), QV4::Runtime::CompareLessEqual::call(), QV4::QmlSignalHandler::call(), QV4::Runtime::CloneBlockContext::call(), QV4::Runtime::PopScriptContext::call(), QV4::Runtime::CreateMappedArgumentsObject::call(), QV4::Runtime::CreateUnmappedArgumentsObject::call(), QV4::Runtime::DeclareVar::call(), QV4::Runtime::LoadSuperProperty::call(), QV4::Runtime::LoadSuperConstructor::call(), QV4::Runtime::TypeofValue::call(), QV4::Runtime::ThrowException::call(), QV4::Runtime::PushWithContext::call(), QV4::Runtime::ThrowOnNullOrUndefined::call(), QV4::Runtime::ConvertThisToObject::call(), QV4::Runtime::IteratorClose::call(), QV4::Runtime::DestructureRestElement::call(), QV4::Runtime::ToObject::call(), QV4::Runtime::LoadElement::call(), QV4::Runtime::StoreSuperProperty::call(), QV4::Runtime::DeleteProperty_NoThrow::call(), QV4::Runtime::Instanceof::call(), QV4::Runtime::As::call(), QV4::Runtime::In::call(), QV4::Runtime::Add::call(), QV4::Runtime::CompareInstanceof::call(), QV4::Runtime::CompareIn::call(), QV4::Runtime::StoreElement::call(), QV4::Runtime::IteratorNextForYieldStar::call(), QV4::Runtime::CallWithReceiver::call(), QV4::Runtime::CallWithSpread::call(), QV4::Runtime::Construct::call(), QV4::Runtime::ConstructWithSpread::call(), QV4::Runtime::LoadProperty::call(), QV4::Runtime::GetIterator::call(), QV4::Runtime::StoreProperty::call(), QV4::Runtime::CallProperty::call(), QV4::Runtime::CallPropertyLookup::call(), QV4::Runtime::IteratorNext::call(), QV4::Runtime::CallValue::call(), QV4::Runtime::DeleteProperty::call(), QV4::Runtime::GetLookup::call(), QV4::Runtime::LoadGlobalLookup::call(), QV4::Runtime::DeleteName::call(), QV4::Runtime::LoadName::call(), QV4::Runtime::TypeofName::call(), QV4::Runtime::DeleteName_NoThrow::call(), QV4::Runtime::PushBlockContext::call(), QV4::Runtime::PushScriptContext::call(), QV4::Runtime::ThrowReferenceError::call(), QV4::Runtime::Closure::call(), QV4::Runtime::CreateRestParameter::call(), QV4::Runtime::RegexpLiteral::call(), QV4::Runtime::StoreNameStrict::call(), QV4::Runtime::StoreNameSloppy::call(), QV4::Runtime::CreateClass::call(), QV4::Runtime::PushCatchContext::call(), QV4::Runtime::CallName::call(), QV4::Runtime::ObjectLiteral::call(), QV4::Runtime::LoadQmlContextPropertyLookup::call(), QV4::Runtime::CallGlobalLookup::call(), QV4::Runtime::CallQmlContextPropertyLookup::call(), QV4::Runtime::CallPossiblyDirectEval::call(), QV4::Runtime::ArrayLiteral::call(), QV4::Runtime::SetLookupStrict::call(), QV4::Runtime::SetLookupSloppy::call(), QV4::Runtime::TailCall::call(), QV4::Function::call(), QJSValue::callAsConstructor(), callBackFunction(), QuickTestUtil::callerFile(), QuickTestUtil::callerLine(), QQmlPrivate::AOTCompiledContext::callGlobalLookup(), QV4::QObjectMethod::callInternal(), QV4::QObjectMethod::callInternalWithMetaTypes(), QV4::CallMethod(), QQmlPrivate::AOTCompiledContext::callObjectPropertyLookup(), QQmlPrivate::AOTCompiledContext::callQmlContextPropertyLookup(), callWithContextObject(), QJSValue::callWithInstance(), callWithScopeObject(), QQmlDataTest::canImportModule(), QFontEngineMulti::canRender(), QFontMetrics::capHeight(), QFontMetricsF::capHeight(), QFontEngineMulti::capHeight(), QQmlDelayedError::catchJavaScriptException(), caughtResult(), QJSValuePrivate::checkEngine(), checkSingletonInstance(), QV4::ScriptFunction::classForConstructor(), D2DVectorPathCache::cleanup_func(), QOpenGL2PaintEngineExPrivate::cleanupVectorPath(), QFontCache::clear(), QQmlTableModel::clear(), QQmlObjectCreator::clear(), QV4::coerce(), QV4::coerce(), QV4::coerceAndCall(), QV4::coerceAndCall(), QV4::coerceListType(), QQmlJS::Dom::CommentCollector::collectComments(), collectProperty(), QQuickWorkerScript::componentComplete(), QQmlTypePrivate::compositePropertyCache(), QQmlNotifierEndpoint::connect(), QFileSystemWatcherPrivate::connectEngine(), QQmlPrivate::AOTCompiledContext::constructDateTime(), QQmlPrivate::AOTCompiledContext::constructDateTime(), contextEngine(), QV4::convert_to_string_add(), QV4::convertAndCall(), QV4::convertAndCall(), QV4::RuntimeHelpers::convertToObject(), QV4::RuntimeHelpers::convertToString(), QFontEngineFT::create(), QQmlBinding::create(), QAbstractFileEngine::create(), QSvgIconPlugin::create(), QV4::RegExp::create(), QV4::QQmlValueTypeWrapper::create(), QV4::QQmlValueTypeWrapper::create(), QV4::Function::create(), QV4::QObjectMethod::create(), QV4::QObjectMethod::create(), QV4::QQmlValueTypeWrapper::create(), QV4::QObjectMethod::create(), QV4::QObjectWrapper::create(), QTestRootObject::create(), QQmlDelegateModelGroupChangeArray::create(), QV4::DelegateModelGroupFunction::create(), QQuickLoaderPrivate::createComponent(), QtObject::createComponent(), QtObject::createComponent(), QQmlObjectCreator::createComponent(), createDummyWindow(), QV4::Script::createFromFileOrCache(), QQmlPropertyBinding::createFromScriptString(), QFileSystemEngine::createLegacyEngine(), QFontEngineMulti::createMultiFontEngine(), QQuickDesignerSupportProperties::createNewDynamicProperty(), QCupsPrinterSupport::createPaintEngine(), QWindowsPrinterSupport::createPaintEngine(), createPixmapDataSync(), QV4::String::createPropertyKeyImpl(), QtObject::createQmlObject(), QtAndroidQuickViewEmbedding::createQuickView(), QHttpSocketEngineHandler::createSocketEngine(), QSocks5SocketEngineHandler::createSocketEngine(), QV4::QQmlBindingFunction::currentLocation(), QQmlProfilerServiceImpl::dataReady(), dateFromString(), dateTimeFromString(), QV4::Heap::DECLARE_EXPORTED_HEAP_OBJECT(), QV4::Heap::DECLARE_EXPORTED_HEAP_OBJECT(), QV4::Heap::DECLARE_HEAP_OBJECT(), QV4::Heap::DECLARE_HEAP_OBJECT(), QV4::Heap::DECLARE_HEAP_OBJECT(), QV4::Heap::DECLARE_HEAP_OBJECT(), QV4::Heap::DECLARE_HEAP_OBJECT(), QV4::Heap::DECLARE_HEAP_OBJECT(), QV4::Heap::DECLARE_HEAP_OBJECT(), QV4::Heap::DECLARE_HEAP_OBJECT(), QV4::Heap::DECLARE_HEAP_OBJECT(), QV4::Object::defineAccessorProperty(), QV4::Object::defineAccessorProperty(), QV4::Object::defineDefaultProperty(), QV4::Object::defineDefaultProperty(), QV4::Object::defineReadonlyConfigurableProperty(), QV4::Object::defineReadonlyProperty(), QJSValue::deleteProperty(), QQmlEnginePrivate::dereferenceScarceResources(), QFontMetrics::descent(), QFontMetricsF::descent(), QFontEngineMulti::descent(), QV4::Serialize::deserialize(), QSGInternalTextNode::doAddTextDocument(), QSGInternalTextNode::doAddTextLayout(), QV4::doCall(), doInitializeEngine(), QV4::doInstanceof(), QFontEngineMulti::doKerning(), QQmlTypeData::done(), QQC2_NAMESPACE::QMacStyle::drawControl(), QMacStyle::drawControl(), QPainter::drawStaticText(), QPainter::drawText(), QWidgetPrivate::drawWidget(), QFontMetrics::elidedText(), QFontMetricsF::elidedText(), QTextEngine::elidedText(), QQmlDelegateModelPrivate::emitChanges(), QJSValuePrivate::encode(), QQmlEngineDebugServiceImpl::engineAboutToBeAdded(), QQmlEngineControlServiceImpl::engineAboutToBeAdded(), QQmlDebugService::engineAboutToBeAdded(), QQmlNativeDebugServiceImpl::engineAboutToBeAdded(), QQmlDebugTranslationServiceImpl::engineAboutToBeAdded(), QQmlPreviewServiceImpl::engineAboutToBeAdded(), QQmlProfilerServiceImpl::engineAboutToBeAdded(), QQmlConfigurableDebugService< Base >::engineAboutToBeAdded(), QQmlEngineDebugServiceImpl::engineAboutToBeRemoved(), QQmlEngineControlServiceImpl::engineAboutToBeRemoved(), QQmlDebugService::engineAboutToBeRemoved(), QV4DebugServiceImpl::engineAboutToBeRemoved(), QQmlNativeDebugServiceImpl::engineAboutToBeRemoved(), QQmlDebugTranslationServiceImpl::engineAboutToBeRemoved(), QQmlPreviewServiceImpl::engineAboutToBeRemoved(), QQmlProfilerServiceImpl::engineAboutToBeRemoved(), QQmlEngineControlServiceImpl::engineAdded(), QV4DebugServiceImpl::engineAdded(), QQmlProfilerServiceImpl::engineAdded(), QQmlTypeCompiler::enginePrivate(), QQmlEngineControlServiceImpl::engineRemoved(), QQmlProfilerServiceImpl::engineRemoved(), QFontEngineMulti::ensureEngineAt(), QV4::QObjectWrapper::ensureWrapper(), QQmlTypePrivate::enumValue(), QQmlType::enumValue(), QQmlType::enumValue(), QQmlType::enumValue(), QV4::ExecutableCompilationUnit::evaluate(), QV4::ExecutableCompilationUnit::evaluateModuleRequests(), QQuickSpinBoxPrivate::evaluateTextFromValue(), QQuickSpinBoxPrivate::evaluateValueFromText(), QQuickWorkerScript::event(), QFont::exactMatch(), QFontInfo::exactMatch(), QV4::Moth::VME::exec(), QV4::Moth::VME::exec(), QQuickPixmapReader::existingInstance(), QFileInfo::exists(), QtObject::exit(), GLSL::Semantic::expression(), QV4::extractQtSignal(), QFontInfo::family(), QQmlObjectCreator::finalize(), QQuickStackView::find(), findAttachedParent(), QFontDatabasePrivate::findFont(), QFontInfo::fixedPitch(), QFontconfigDatabase::fontEngine(), QFontconfigDatabase::fontEngine(), QTextEngine::fontEngine(), QQuickText::fontInfo(), QQuickControlsTestUtils::forEachControl(), QV4::BlockAllocator::freeAll(), QV4::HugeItemAllocator::freeAll(), QV4::Chunk::freeAll(), QV4::SequencePrototype::fromData(), QRawFont::fromFont(), QV4::ObjectPrototype::fromPropertyDescriptor(), QV4::PropertyKey::fromStringOrSymbol(), QV4::SequencePrototype::fromVariant(), gc(), gc(), gcDone(), gcDone(), QV4::generateWarning(), QQmlTypeLoader::get(), QAudioEnginePrivate::get(), QOpenGL2PaintEngineExPrivate::getData(), QV4::getElementFallback(), QV4::getElementIntFallback(), QV4::getGadgetProperty(), QFontEngineMulti::getGlyphBearings(), QQuickPixmapReader::getImage(), QQmlPrivate::AOTCompiledContext::getObjectLookup(), QV4::QObjectWrapper::getProperty(), QV4::Lookup::getter0Inline(), QV4::Lookup::getter0Inlinegetter0Inline(), QV4::Lookup::getter0Inlinegetter0MemberData(), QV4::Lookup::getter0MemberData(), QV4::Lookup::getter0MemberDatagetter0MemberData(), QV4::Lookup::getterAccessor(), QV4::Lookup::getterFallback(), QV4::Lookup::getterFallbackAsVariant(), QV4::Lookup::getterGeneric(), QV4::Lookup::getterIndexed(), QV4::Lookup::getterProto(), QV4::Lookup::getterProtoAccessor(), QV4::Lookup::getterProtoAccessorTwoClasses(), QV4::Lookup::getterProtoTwoClasses(), QV4::Lookup::getterQObject(), QV4::Lookup::getterQObjectAsVariant(), QV4::Lookup::getterQObjectMethod(), QV4::Lookup::getterTwoClasses(), GeoTileFetcherEsri::getTileImage(), QV4::Lookup::globalGetterGeneric(), QV4::Lookup::globalGetterProto(), QV4::Lookup::globalGetterProtoAccessor(), QFontEngineMulti::glyphIndex(), QV4::SharedInternalClassDataPrivate< PropertyKey >::grow(), handleCompileErrors(), QQmlNativeDebugConnector::hasEngine(), QQmlDebugServerImpl::hasEngine(), QV4::hasExceptionOrIsInterrupted(), QJSValue::hasOwnProperty(), QJSValue::hasProperty(), QFontMetrics::height(), QFontMetricsF::height(), QFontMetrics::horizontalAdvance(), QFontMetricsF::horizontalAdvance(), iconToQXdgDBusImageVector(), QV4::UrlSearchParamsObject::indexOf(), QQuickAnimatedImagePrivate::infoForCurrentFrame(), QFontMetrics::inFontUcs4(), QFontMetricsF::inFontUcs4(), QV4::SequencePrototype::init(), QV4::VariantPrototype::init(), QV4::Heap::ErrorCtor::init(), QV4::Heap::EvalErrorCtor::init(), QV4::Heap::RangeErrorCtor::init(), QV4::Heap::ReferenceErrorCtor::init(), QV4::Heap::SyntaxErrorCtor::init(), QV4::Heap::TypeErrorCtor::init(), QV4::Heap::URIErrorCtor::init(), QV4::Heap::MapCtor::init(), QV4::Heap::PromiseCtor::init(), QV4::Heap::SetCtor::init(), QV4::Heap::SymbolCtor::init(), QV4::Heap::UrlSearchParamsCtor::init(), QV4::Heap::ErrorCtor::init(), QV4::Heap::RegExp::init(), QV4::SharedArrayBufferPrototype::init(), QV4::ArrayBufferPrototype::init(), QV4::ArrayPrototype::init(), QV4::BooleanPrototype::init(), QV4::DataViewPrototype::init(), QV4::DatePrototype::init(), QV4::WeakMapPrototype::init(), QV4::MapPrototype::init(), QV4::NumberPrototype::init(), QV4::PromisePrototype::init(), QV4::WeakSetPrototype::init(), QV4::SetPrototype::init(), QV4::StringPrototype::init(), QV4::SymbolPrototype::init(), QV4::UrlPrototype::init(), QV4::UrlSearchParamsPrototype::init(), QV4::ErrorPrototype::init(), QV4::Heap::DelegateModelGroupFunction::init(), QV4::Date::init(), QQmlDelayedCallQueue::init(), QV4::Heap::ArrayBufferCtor::init(), QQmlPrivate::AOTCompiledContext::initCallGlobalLookup(), QQmlPrivate::AOTCompiledContext::initCallObjectPropertyLookup(), QQmlPrivate::AOTCompiledContext::initCallQmlContextPropertyLookup(), QQmlPrivate::AOTCompiledContext::initGetEnumLookup(), QQmlPrivate::AOTCompiledContext::initGetObjectLookup(), QQmlPrivate::AOTCompiledContext::initGetValueLookup(), QWaylandTextureSharingExtension::initialize(), QQuickStackElement::initialize(), QV4::QObjectWrapper::initializeBindings(), QtQuickSharedImagePlugin::initializeEngine(), QQmlExtensionPlugin::initializeEngine(), QQmlEngineExtensionPlugin::initializeEngine(), QtQuickControls2NativeStylePlugin::initializeEngine(), QMultimediaQuickModule::initializeEngine(), QQuick3DAudioModule::initializeEngine(), QWaylandTextureSharingExtensionPlugin::initializeEngine(), QWaylandTextureSharingPlugin::initializeEngine(), QV4::UrlSearchParamsObject::initializeParams(), QV4::UrlSearchParamsObject::initializeParams(), QV4::UrlSearchParamsObject::initializeParams(), QV4::UrlSearchParamsObject::initializeParams(), QQmlDelegateModelItemMetaType::initializePrototype(), QQDMIncubationTask::initializeRequiredProperties(), QQmlPrivate::AOTCompiledContext::initLoadAttachedLookup(), QQmlPrivate::AOTCompiledContext::initLoadContextIdLookup(), QQmlPrivate::AOTCompiledContext::initLoadGlobalLookup(), QQmlPrivate::AOTCompiledContext::initLoadScopeObjectPropertyLookup(), QV4::QmlSignalHandler::initProto(), QQmlPrivate::AOTCompiledContext::initSetObjectLookup(), QQmlPrivate::AOTCompiledContext::initSetValueLookup(), QQmlDelegateModelPrivate::insert(), QFontCache::insertEngine(), QV4::Object::insertMember(), QQuickToolTipAttachedPrivate::instance(), QQuickContext2DRenderThread::instance(), QQuickPixmapReader::instance(), QQmlGadgetPtrWrapper::instance(), instanceOfQObject(), QV4::ExecutableCompilationUnit::instantiate(), QV4::Moth::VME::interpret(), QQmlVMEGuard::isOK(), QFontInfo::italic(), QQmlPrivate::AOTCompiledContext::javaScriptGlobalProperty(), QQmlXMLHttpRequest::jsonResponseBody(), jsStack(), QV4::RegExpObject::lastIndex(), QFontMetrics::leading(), QFontMetricsF::leading(), QFontEngineMulti::leading(), QFontMetrics::leftBearing(), QFontMetricsF::leftBearing(), QV4::UrlSearchParamsObject::length(), QFontMetrics::lineSpacing(), QFontMetricsF::lineSpacing(), QFontEngineMulti::lineThickness(), QFontMetrics::lineWidth(), QFontMetricsF::lineWidth(), QQmlJSLinter::lintFile(), QQmlFile::load(), QQmlFile::load(), QQuickPixmap::load(), QQuickPixmap::load(), QQuickPixmap::load(), QQuickPixmap::load(), QQuickPixmap::load(), QQmlPrivate::AOTCompiledContext::loadAttachedLookup(), QQmlPrivate::AOTCompiledContext::loadContextIdLookup(), QFontEngineMulti::loadEngine(), QQmlPrivate::AOTCompiledContext::loadGlobalLookup(), QQuickPixmap::loadImageFromDevice(), QQmlPrivate::AOTCompiledContext::loadScopeObjectPropertyLookup(), QQmlPrivate::AOTCompiledContext::loadSingletonLookup(), QQmlPreviewHandler::loadUrl(), QQmlLocale::locale(), QV4::QObjectWrapper::lookupAttached(), QVectorPath::lookupCacheData(), QV4::QQmlValueTypeWrapper::lookupGetter(), QV4::QObjectWrapper::lookupMethodGetterImpl(), QV4::QObjectWrapper::lookupPropertyGetterImpl(), QV4::QQmlValueTypeWrapper::lookupSetter(), main(), main(), main(), QGeoServiceProviderPrivate::manager(), QV4::WriteBarrier::markCustom(), QV4::SharedInternalClassDataPrivate< PropertyKey >::markIfNecessary(), QV4::QObjectWrapper::markWrapper(), QFontEngineMulti::maxCharWidth(), QFontMetrics::maxWidth(), QFontMetricsF::maxWidth(), QQmlEngineControlServiceImpl::messageReceived(), QV4::QObjectMethod::method_destroy(), QV4Include::method_include(), QV4::PropertyListPrototype::method_indexOf(), QV4::PropertyListPrototype::method_lastIndexOf(), QV4::QObjectMethod::method_toString(), QFontMetrics::minLeftBearing(), QFontMetricsF::minLeftBearing(), QFontEngineMulti::minLeftBearing(), QFontMetrics::minRightBearing(), QFontMetricsF::minRightBearing(), QFontEngineMulti::minRightBearing(), QTextCursorPrivate::movePosition(), QQmlJavaScriptExpressionGuard::New(), QV4::SequencePrototype::newSequence(), QQmlEngineDebugServiceImpl::objectCreated(), QV4::RuntimeHelpers::objectDefaultValue(), QV4::QObjectWrapper::objectToString(), QQmlJSTypeReader::operator()(), QQmlJSTypeDescriptionReader::operator()(), operator<<(), QV4::RuntimeHelpers::ordinaryToPrimitive(), QGraphicsSimpleTextItem::paint(), QOpenGLPaintDevice::paintEngine(), QWidgetPrivate::paintOnScreen(), QV4::UrlSearchParamsObject::params(), QV4::Script::parse(), parseCategories(), parseCategory(), parseCollection(), parseEditorial(), parseImage(), QQmlDelegateModelGroupPrivate::parseIndex(), parseReview(), parseSupplier(), QFontInfo::pixelSize(), ScalableEntry::pixmap(), QFontInfo::pointSize(), QFontInfo::pointSizeF(), QV4::CppStackFrame::pop(), QV4::JSTypesStackFrame::pop(), QV4::ExecutableCompilationUnit::populate(), QV4::Lookup::primitiveGetterAccessor(), QV4::Lookup::primitiveGetterProto(), QJSValue::property(), QJSValue::property(), QQmlPrivate::propertyCapture(), QV4::Object::protoHasArray(), QJSValue::prototype(), QV4::Element::prototype(), QV4::Attr::prototype(), QV4::CppStackFrame::push(), QV4::JSTypesStackFrame::push(), Q_TRACE_POINT(), qCompileJSFile(), qfoDoCall(), qmlAttachedPropertiesFunction(), Setup::qmlEngineAvailable(), qt_add_sqlexceptions(), qt_custom_file_engine_handler_create(), qt_v4StackTraceForEngine(), QQmlEngineDebugClient::queryRootContexts(), quick_test_main_with_setup(), QtObject::quit(), QQmlProperty::read(), QFontEngineMulti::recalcAdvances(), QQmlDateExtension::registerExtension(), QQmlNumberExtension::registerExtension(), QSGRenderContext::registerFontengineForCleanup(), QQuickDesignerSupportProperties::registerNodeInstanceMetaObject(), QQmlLocale::registerStringLocaleCompare(), QQmlNativeDebugConnector::removeEngine(), QQmlDebugServerImpl::removeEngine(), ProxyTranslator::removeEngine(), QOpenGLCustomShaderStage::removeFromPainter(), QQuickWorkerScriptEngine::removeWorkerScript(), QWidget::render(), resetEngine(), QQmlTypePrivate::resolveCompositeBaseType(), QtObject::resolvedUrl(), QtObject::resolvedUrl(), QV4::Lookup::resolveGetter(), QV4::Lookup::resolveGlobalGetter(), QQmlPrivate::AOTCompiledContext::resolveLoggingCategory(), QV4::Object::resolveLookupGetter(), QV4::Object::resolveLookupSetter(), QV4::Lookup::resolvePrimitiveGetter(), QV4::Lookup::resolveSetter(), QV4::GeneratorObject::resume(), revertObjectMethodLookup(), revertObjectPropertyLookup(), QFontMetrics::rightBearing(), QFontMetricsF::rightBearing(), ValueLookupJob::run(), QV4::Script::run(), QuickTestImageObject::save(), QQmlTypePrivate::scopedEnumIndex(), QQmlType::scopedEnumIndex(), QQmlType::scopedEnumIndex(), QQmlTypePrivate::scopedEnumValue(), QQmlTypePrivate::scopedEnumValue(), QQmlType::scopedEnumValue(), QQmlType::scopedEnumValue(), QQmlType::scopedEnumValue(), QQmlEngineControlServiceImpl::sendMessage(), QQuickWorkerScript::sendMessage(), QV4::Serialize::serialize(), QV4::WriteBarrier::HeapObjectWrapperCommon< HeapType >::set(), QV4::Object::set(), QV4::SharedInternalClassDataPrivate< PropertyKey >::set(), QV4::LazyScope::set(), QV4::Object::setArrayData(), QQmlTableModel::setData(), QV4::setElementFallback(), QQmlContextData::setEngine(), QFontEngineMulti::setFallbackFamiliesList(), QRawFontPrivate::setFontEngine(), QV4::UrlObject::setHash(), QV4::UrlObject::setHost(), QV4::UrlObject::setHostname(), QV4::Object::setIndexed(), QV4::QmlIncubatorObject::setInitialState(), QV4::Object::setInternalClass(), ProxyTranslator::setLanguage(), QV4::RegExpObject::setLastIndex(), QV4::FunctionObject::setName(), QQmlPrivate::AOTCompiledContext::setObjectLookup(), QOpenGLCustomShaderStage::setOnPainter(), QV4::UrlSearchParamsObject::setParams(), QV4::UrlObject::setPassword(), QV4::UrlObject::setPathname(), QV4::UrlObject::setPort(), QJSValue::setProperty(), QV4::QObjectWrapper::setProperty(), QV4::QObjectWrapper::setProperty(), QV4::QObjectWrapper::setProperty(), QV4::Object::setProperty(), QV4::Object::setProperty(), QJSValue::setProperty(), QV4::Object::setProperty(), QV4::Object::setProperty(), QV4::UrlObject::setProtocol(), QJSValue::setPrototype(), QV4::ExecutionEngine::setQmlEngine(), QGeoServiceProvider::setQmlEngine(), QGeoServiceProviderFactory::setQmlEngine(), QV4::QObjectWrapper::setQmlProperty(), QV4::UrlObject::setSearch(), QQuickWorkerScript::setSource(), QQuickLoader::setSource(), QQuickLoader::setSource(), QV4::Lookup::setter0Inline(), QV4::Lookup::setter0MemberData(), QV4::Lookup::setter0setter0(), QV4::Lookup::setterFallback(), QV4::Lookup::setterFallbackAsVariant(), QV4::Lookup::setterGeneric(), QV4::Lookup::setterInsert(), QV4::Lookup::setterQObject(), QV4::Lookup::setterQObjectAsVariant(), QV4::Lookup::setterTwoClasses(), setTheThing(), setupObjectLookupTwoClasses(), QV4::setupQObjectMethodLookup(), QQuickTextPrivate::setupTextLayout(), QV4::UrlObject::setUrl(), QV4::UrlSearchParamsObject::setUrlObject(), QV4::UrlObject::setUsername(), QQuickContext2D::setV4Engine(), QOpenGL2PaintEngineExPrivate::shaderManagerForEngine(), QQmlPropertyCache::signalParameterStringForJS(), QV4::RegExpObject::source(), QQmlProfilerService::startProfiling(), QQmlProfilerServiceImpl::startProfiling(), QQmlNativeDebugServiceImpl::stateAboutToBeChanged(), QQmlEngineControlServiceImpl::stateChanged(), QV4::QmlIncubatorObject::statusChanged(), QQmlProfilerServiceImpl::stopProfiling(), QQmlConfigurableDebugService< Base >::stopWaiting(), QQmlPrivate::AOTCompiledContext::storeNameSloppy(), QV4::RuntimeHelpers::stringFromNumber(), QV4::Lookup::stringLengthGetter(), QFontEngineMulti::stringToCMap(), QFontInfo::style(), QFontInfo::styleHint(), QFontInfo::styleName(), QV4::HugeItemAllocator::sweep(), QV4::Chunk::sweep(), GLSL::Semantic::switchEngine(), QV4::ExecutableCompilationUnit::templateObjectAt(), QQuickSpinBox::textFromValue(), thisNumber(), QV4::throwPropertyIsNotAFunctionTypeError(), timeFromString(), QV4::ObjectPrototype::toPropertyDescriptor(), QJSValue::toQMetaObject(), QJSValue::toQObject(), QV4::Value::toQString(), QV4::Value::toQString(), QV4::Value::toQStringNoThrow(), ObjectInCreationGCAnchorList::trackObject(), QQmlPrivate::AOTCompiledContext::translationContext(), GLSL::Semantic::translationUnit(), QuickTestUtil::typeName(), QFontMetrics::underlinePos(), QFontMetricsF::underlinePos(), QFontEngineMulti::underlinePosition(), QSGRenderContext::unregisterFontengineForCleanup(), unscopable(), QQuickMultiEffectPrivate::updateBlurItemsAmount(), QGraphicsSimpleTextItemPrivate::updateBoundingRect(), QV4::Function::updateInternalClass(), QQuickTextEdit::updatePaintNode(), QQuickControlsTestUtils::QQuickStyleHelper::updateStyle(), QQuickSpinBox::valueFromText(), QV4::TypedArray::virtualDefineOwnProperty(), QV4::TypedArray::virtualGet(), QQmlDelegateModelGroupChangeArray::virtualGet(), QV4::TypedArray::virtualPut(), QV4::QQmlValueTypeWrapper::virtualPut(), QV4::QObjectWrapper::virtualResolveLookupGetter(), QV4::QQmlValueTypeWrapper::virtualResolveLookupGetter(), QV4::QObjectWrapper::virtualResolveLookupSetter(), QV4::QQmlValueTypeWrapper::virtualResolveLookupSetter(), QV4::warnAboutCoercionToVoid(), QQmlEnginePrivate::warning(), QQmlEnginePrivate::warning(), QQmlEnginePrivate::warning(), QQmlEnginePrivate::warning(), QFontInfo::weight(), withComponent(), QQuickWorkerScriptEnginePrivate::workerEngine(), QV4::QObjectWrapper::wrap(), QV4::QObjectWrapper::wrapConst(), wrapper2(), wrapper4(), wrapper5(), QV4::WriteBarrier::write(), QV4::WriteBarrier::write(), QQmlProperty::write(), QV4::WriteBarrier::write_slowpath(), QV4::WriteBarrier::write_slowpath(), QQmlVMEMetaObject::writeProperty(), QQmlPrivate::AOTCompiledContext::writeToConsole(), QFontMetrics::xHeight(), QFontMetricsF::xHeight(), QFontEngineMulti::xHeight(), and QQmlXMLHttpRequest::xmlResponseBody().

◆ fullName

QJSValue fullName = global.property("fullName")

◆ global

Definition at line 18 of file src_script_qjsvalue.cpp.

Referenced by CPP::WriteIncludes::acceptInclude(), QTestPrivate::checkBlackLists(), QSslConfigurationPrivate::deepCopyDefaultConfiguration(), QWaylandClientExtensionPrivate::globalAdded(), QQmlJSAotCompiler::globalCode(), QWaylandClientExtensionPrivate::globalRemoved(), QXcbWindow::handleButtonPressEvent(), QXcbWindow::handleButtonReleaseEvent(), QWindowSystemInterface::handleEnterLeaveEvent(), QXcbWindow::handleEnterNotifyEvent(), QWindowSystemInterface::handleGestureEvent(), QWindowSystemInterface::handleGestureEventWithRealValue(), QWindowSystemInterface::handleGestureEventWithValueAndDelta(), QXcbWindow::handleLeaveNotifyEvent(), QXcbWindow::handleMotionNotifyEvent(), QtWaylandClient::QWaylandAdwaitaDecoration::handleMouse(), QtWaylandClient::QWaylandBradientDecoration::handleMouse(), QXcbWindow::handleMouseEvent(), QWindowSystemInterface::handleTabletEnterLeaveProximityEvent(), QWindowSystemInterface::handleTabletEnterLeaveProximityEvent(), QWindowSystemInterface::handleTabletEvent(), QWindowSystemInterface::handleTabletEvent(), QWindowSystemInterface::handleTabletEvent(), QWindowSystemInterface::handleTabletEvent(), QtWaylandClient::QWaylandAdwaitaDecoration::handleTouch(), QtWaylandClient::QWaylandBradientDecoration::handleTouch(), QWindowSystemInterface::handleWheelEvent(), QWindowSystemInterface::handleWheelEvent(), QWindowSystemInterface::handleWheelEvent(), QtWaylandClient::QWaylandDisplay::hasRegistryGlobal(), QWaylandClientExtension::initialize(), QQmlPrivate::AOTCompiledContext::javaScriptGlobalProperty(), QV4::Compiler::Codegen::Reference::loadInAccumulator(), QV4::RegExpPrototype::method_match(), QV4::RegExpPrototype::method_replace(), QTest::mouseEvent(), QT_DEFINE_QPA_EVENT_HANDLER(), QT_DEFINE_QPA_EVENT_HANDLER(), QT_DEFINE_QPA_EVENT_HANDLER(), QT_DEFINE_QPA_EVENT_HANDLER(), QT_DEFINE_QPA_EVENT_HANDLER(), qt_handleMouseEvent(), qt_handleWheelEvent(), QHeaderViewPrivate::read(), QtWaylandClient::QWaylandDisplay::registry_global_remove(), QtWaylandClient::QWaylandWindow::touchDragDecoration(), QV4::FunctionCtor::virtualCallAsConstructor(), QV4::GeneratorFunctionCtor::virtualCallAsConstructor(), and QTest::wheelEvent().

◆ myEngine

QJSEngine myEngine

[0]

Definition at line 5 of file src_script_qjsvalue.cpp.

◆ myObject

QJSValue myObject = myEngine.newObject()

Definition at line 6 of file src_script_qjsvalue.cpp.

◆ myOtherObject

QJSValue myOtherObject = myEngine.newObject()

Definition at line 7 of file src_script_qjsvalue.cpp.

◆ who

QJSValue who = global.property("somePerson")

Definition at line 20 of file src_script_qjsvalue.cpp.