java.lang.Object
io.qt.QtObject
io.qt.core.QPersistentModelIndex
- All Implemented Interfaces:
QtObjectInterface,Cloneable,Comparable<QPersistentModelIndex>
public class QPersistentModelIndex
extends QtObject
implements Comparable<QPersistentModelIndex>, Cloneable
Used to locate data in a data model
Java wrapper for Qt class QPersistentModelIndex
-
Constructor Summary
ConstructorsConstructorDescriptionSeeQPersistentModelIndex::QPersistentModelIndex() QPersistentModelIndex(QModelIndex index) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QModelIndex other) final voidassign(QPersistentModelIndex other) clone()Creates and returns a copy of this object.final intcolumn()intcompareTo(QPersistentModelIndex other) final Objectdata()Overloaded function fordata(int)withrole = 0.final Objectdata(int role) final booleanequals(QModelIndex other) final booleanequals(QPersistentModelIndex other) booleanChecks for equality depending on the type of given object.final Qt.ItemFlagsflags()inthashCode()Returns the objects's hash code computed byqHash(QPersistentModelIndex).final longSeeQPersistentModelIndex::internalId()const final booleanisValid()final QAbstractItemModelmodel()final voidfinal QModelIndexparent()final introw()final QModelIndexsibling(int row, int column) final voidswap(QPersistentModelIndex other) final QModelIndextoIndex()toString()Seeoperator<<(QDebug,QPersistentModelIndex) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPersistentModelIndex
public QPersistentModelIndex()See
QPersistentModelIndex::QPersistentModelIndex() -
QPersistentModelIndex
-
QPersistentModelIndex
-
-
Method Details
-
column
-
data
-
flags
-
internalId
See
QPersistentModelIndex::internalId()const -
isValid
-
model
-
multiData
-
toIndex
-
assign
-
assign
-
equals
-
equals
-
parent
-
row
-
sibling
-
swap
-
equals
Checks for equality depending on the type of given object.
-
compareTo
- Specified by:
compareToin interfaceComparable<QPersistentModelIndex>
-
hashCode
Returns the objects's hash code computed byqHash(QPersistentModelIndex). -
toString
See
operator<<(QDebug,QPersistentModelIndex) -
clone
Creates and returns a copy of this object.
See
QPersistentModelIndex::QPersistentModelIndex(QPersistentModelIndex) -
data
Overloaded function for
data(int)withrole = 0.
-