<class name="QPersistentModelIndex" doc="/**
&lt;p&gt;The &lt;a href=&quot;QPersistentModelIndex.html#QPersistentModelIndex()&quot;&gt;&lt;tt&gt;QPersistentModelIndex&lt;/tt&gt;&lt;/a&gt; class is used to locate data in a data model.&lt;/p&gt;
&lt;p&gt;A &lt;a href=&quot;QPersistentModelIndex.html#QPersistentModelIndex()&quot;&gt;&lt;tt&gt;QPersistentModelIndex&lt;/tt&gt;&lt;/a&gt; is a model index that can be stored by an application, and later used to access information in a model. Unlike the QModelIndex class, it is safe to store a &lt;a href=&quot;QPersistentModelIndex.html#QPersistentModelIndex()&quot;&gt;&lt;tt&gt;QPersistentModelIndex&lt;/tt&gt;&lt;/a&gt; since the model will ensure that references to items will continue to be valid as long as they can be accessed by the model.&lt;/p&gt;
&lt;p&gt;It is good practice to check that persistent model indexes are valid before using them.&lt;/p&gt;

@see &lt;a href=&quot;%2E%2E/model-view-programming.html&quot;&gt;Model/View Programming&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QModelIndex&lt;/tt&gt;
@see &lt;a href=&quot;QAbstractItemModel.html&quot;&gt;&lt;tt&gt;QAbstractItemModel&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QPersistentModelIndex(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Creates a new &lt;a href=&quot;QPersistentModelIndex.html#QPersistentModelIndex()&quot;&gt;&lt;tt&gt;QPersistentModelIndex&lt;/tt&gt;&lt;/a&gt; that is a copy of the model &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QPersistentModelIndex(com.trolltech.qt.core.QPersistentModelIndex other)" doc="/**
&lt;p&gt;Creates a new &lt;a href=&quot;QPersistentModelIndex.html#QPersistentModelIndex()&quot;&gt;&lt;tt&gt;QPersistentModelIndex&lt;/tt&gt;&lt;/a&gt; that is a copy of the &lt;tt&gt;other&lt;/tt&gt; persistent model index.&lt;/p&gt;
 */"/>
    <method name="public QPersistentModelIndex()" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QModelIndex child(int row, int column)" doc="/**
&lt;p&gt;Returns the child of the model index that is stored in the given &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPersistentModelIndex.html#parent()&quot;&gt;&lt;tt&gt;parent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPersistentModelIndex.html#sibling(int, int)&quot;&gt;&lt;tt&gt;sibling&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int column()" doc="/**
&lt;p&gt;Returns the column this persistent model index refers to.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.Object data(int role)" doc="/**
&lt;p&gt;Returns the data for the given &lt;tt&gt;role&lt;/tt&gt; for the item referred to by the index.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.Object data()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QPersistentModelIndex.html#data(int)&quot;&gt;data&lt;/tt&gt;&lt;/a&gt;(Qt::DisplayRole). */"/>
    <method name="public final com.trolltech.qt.core.Qt.ItemFlags flags()" doc="/**
&lt;p&gt;Returns the flags for the item referred to by the index.&lt;/p&gt;
 */"/>
    <method name="public final long internalId()" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="public final boolean isValid()" doc="/**
&lt;p&gt;Returns true if this persistent model index is valid; otherwise returns false. A valid index belongs to a model, and has non-negative row and column numbers.&lt;/p&gt;

@see &lt;a href=&quot;QPersistentModelIndex.html#model()&quot;&gt;&lt;tt&gt;model&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPersistentModelIndex.html#row()&quot;&gt;&lt;tt&gt;row&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPersistentModelIndex.html#column()&quot;&gt;&lt;tt&gt;column&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QAbstractItemModel model()" doc="/**
&lt;p&gt;Returns the model that the index belongs to.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QModelIndex parent()" doc="/**
&lt;p&gt;Returns the parent QModelIndex for this persistent index, or QModelIndex() if it has no parent.&lt;/p&gt;

@see &lt;a href=&quot;QPersistentModelIndex.html#child(int, int)&quot;&gt;&lt;tt&gt;child&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPersistentModelIndex.html#sibling(int, int)&quot;&gt;&lt;tt&gt;sibling&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPersistentModelIndex.html#model()&quot;&gt;&lt;tt&gt;model&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int row()" doc="/**
&lt;p&gt;Returns the row this persistent model index refers to.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QModelIndex sibling(int row, int column)" doc="/**
&lt;p&gt;Returns the sibling at &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt; or an invalid QModelIndex if there is no sibling at this position.&lt;/p&gt;

@see &lt;a href=&quot;QPersistentModelIndex.html#parent()&quot;&gt;&lt;tt&gt;parent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPersistentModelIndex.html#child(int, int)&quot;&gt;&lt;tt&gt;child&lt;/tt&gt;&lt;/a&gt; */"/>
</class>
