![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
| QtModelIndex () | |
| int | column () |
| native Object | data (int role) |
| native long | internalId () |
| native boolean | isValid () |
| native QtModelIndex | parent () |
| int | row () |
Represents an index in a custom item model, similar to QModelindex in C++.
Definition at line 11 of file QtModelIndex.java.
|
inline |
Constructs a new QtModelIndex.
Definition at line 16 of file QtModelIndex.java.
Referenced by parent().
|
inline |
Returns the column of this index.
Definition at line 22 of file QtModelIndex.java.
| native Object org.qtproject.qt.android.QtModelIndex.data | ( | int | role | ) |
Retrieves data for this index based on the specified role.
| role | The role for which data is requested. |
| native long org.qtproject.qt.android.QtModelIndex.internalId | ( | ) |
Returns the internal ID associated with this index.
| native boolean org.qtproject.qt.android.QtModelIndex.isValid | ( | ) |
Checks if this index is valid.
| native QtModelIndex org.qtproject.qt.android.QtModelIndex.parent | ( | ) |
Returns the parent index of this index.
References QtModelIndex().
|
inline |