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
QAndroidModelIndexProxy Class Reference

#include <qandroidmodelindexproxy_p.h>

+ Collaboration diagram for QAndroidModelIndexProxy:

Static Public Member Functions

static JQtModelIndex jInstance (QModelIndex modelIndex)
 
static QModelIndex qInstance (JQtModelIndex jModelIndex)
 
static jobject data (JNIEnv *env, jobject object, int role)
 
static jlong internalId (JNIEnv *env, jobject object)
 
static jboolean isValid (JNIEnv *env, jobject object)
 
static JQtModelIndex parent (JNIEnv *env, jobject object)
 
static bool registerNatives (QJniEnvironment &env)
 

Detailed Description

Definition at line 33 of file qandroidmodelindexproxy_p.h.

Member Function Documentation

◆ data()

jobject QAndroidModelIndexProxy::data ( JNIEnv * env,
jobject object,
int role )
static

Definition at line 60 of file qandroidmodelindexproxy.cpp.

References QModelIndex::isValid(), QModelIndex::model(), Q_ASSERT, qInstance(), and QAndroidTypeConverter::toJavaObject().

+ Here is the call graph for this function:

◆ internalId()

jlong QAndroidModelIndexProxy::internalId ( JNIEnv * env,
jobject object )
static

Definition at line 72 of file qandroidmodelindexproxy.cpp.

References Q_ASSERT, and qInstance().

Referenced by qInstance(), and registerNatives().

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

◆ isValid()

jboolean QAndroidModelIndexProxy::isValid ( JNIEnv * env,
jobject object )
static

Definition at line 79 of file qandroidmodelindexproxy.cpp.

References Q_ASSERT, and qInstance().

Referenced by registerNatives().

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

◆ jInstance()

JQtModelIndex QAndroidModelIndexProxy::jInstance ( QModelIndex modelIndex)
static

◆ parent()

JQtModelIndex QAndroidModelIndexProxy::parent ( JNIEnv * env,
jobject object )
static

Definition at line 86 of file qandroidmodelindexproxy.cpp.

References jInstance(), parent(), Q_ASSERT, and qInstance().

Referenced by parent(), qInstance(), and registerNatives().

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

◆ qInstance()

◆ registerNatives()

bool QAndroidModelIndexProxy::registerNatives ( QJniEnvironment & env)
static

Definition at line 93 of file qandroidmodelindexproxy.cpp.

References internalId(), isValid(), and parent().

Referenced by JNI_OnLoad().

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

The documentation for this class was generated from the following files: