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
QAndroidTypeConverter Namespace Reference

Functions

static QVariant toQVariant (const QJniObject &object)
 
static Q_REQUIRED_RESULT jobject toJavaObject (const QVariant &var, JNIEnv *env)
 

Function Documentation

◆ toJavaObject()

static Q_REQUIRED_RESULT jobject QAndroidTypeConverter::toJavaObject ( const QVariant & var,
JNIEnv * env )
static

Definition at line 57 of file qandroidtypeconverter_p.h.

References QVariant::canConvert(), QAndroidItemModelProxy::createProxy(), Q_ASSERT, QVariant::typeId(), QVariant::value(), and var.

Referenced by QAndroidModelIndexProxy::data(), QtAndroidQuickViewEmbedding::getRootObjectProperty(), QAndroidViewSignalManager::invokeListener(), and QAndroidItemModelProxy::jni_data().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toQVariant()

static QVariant QAndroidTypeConverter::toQVariant ( const QJniObject & object)
static

Definition at line 28 of file qandroidtypeconverter_p.h.

References className, QAndroidItemModelProxy::createNativeProxy(), and QVariant::fromValue().

Referenced by QAndroidItemModelProxy::data(), and QtAndroidQuickViewEmbedding::setRootObjectProperty().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: