Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
QtAbstractItemModelProxy.java
Go to the documentation of this file.
1
// Copyright (C) 2024 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
package
org.qtproject.qt.android;
5
6
//
7
// W A R N I N G
8
// -------------
9
//
10
// This file is not part of the Qt API. It exists purely as an
11
// implementation detail. This header file may change from version to
12
// version without notice, or even be removed.
13
//
14
// We mean it.
15
16
class
QtAndroidItemModelProxy
extends
QtAbstractItemModel
17
{
18
@
Override
public
int
columnCount(QtModelIndex parent) {
return
jni_columnCount(parent); }
19
20
@
Override
public
Object
data(QtModelIndex index,
int
role) {
return
jni_data(index, role); }
21
@
Override
public
QtModelIndex index(
int
row
,
int
column
, QtModelIndex parent)
22
{
23
return
(QtModelIndex)jni_index(
row
,
column
, parent);
24
}
25
@
Override
public
QtModelIndex parent(QtModelIndex index)
26
{
27
return
(QtModelIndex)jni_parent(index);
28
}
29
@
Override
public
int
rowCount(QtModelIndex parent) {
return
jni_rowCount(parent); }
30
31
private
native
int
jni_columnCount(QtModelIndex parent);
32
private
native
Object
jni_data(QtModelIndex index,
int
role);
33
private
native
Object
jni_index(
int
row
,
int
column
, QtModelIndex parent);
34
private
native
Object
jni_parent(QtModelIndex index);
35
private
native
int
jni_rowCount(QtModelIndex parent);
36
}
org.qtproject.qt.android.QtAbstractItemModel
Definition
QtAbstractItemModel.java:74
QQmlPrivate::ObjectLookupResult::Object
@ Object
Definition
qqml.cpp:1714
QtMocConstants::Override
@ Override
Definition
qtmocconstants.h:43
column
GLenum GLenum GLsizei void GLsizei void * column
Definition
qopenglext.h:2747
row
GLenum GLenum GLsizei void * row
Definition
qopenglext.h:2747
qtbase
src
android
jar
src
org
qtproject
qt
android
QtAbstractItemModelProxy.java
Generated on
for Qt by
1.18.0