<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 16:57:33 CEST 2007 --> <TITLE> QAbstractListModel </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.core.QAbstractListModel class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QAbstractListModel"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/core/QBasicTimer.html" title="class in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/core/QAbstractListModel.html" target="_top"><B>FRAMES</B></A> <A HREF="QAbstractListModel.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">NESTED</A> | <A HREF="#fields_inherited_from_class_com.trolltech.qt.core.QAbstractItemModel">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.trolltech.qt.core</FONT> <BR> Class QAbstractListModel</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QObject</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QAbstractItemModel</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.core.QAbstractListModel</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QStringListModel.html" title="class in com.trolltech.qt.gui">QStringListModel</A></DD> </DL> <HR> <DL> <DT><PRE>public abstract class <B>QAbstractListModel</B><DT>extends <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A></DL> </PRE> <P> <p>The <a href="QAbstractListModel.html#QAbstractListModel(com.trolltech.qt.core.QObject)"><tt>QAbstractListModel</tt></a> class provides an abstract model that can be subclassed to create one-dimensional list models.</p> <p><a href="QAbstractListModel.html#QAbstractListModel(com.trolltech.qt.core.QObject)"><tt>QAbstractListModel</tt></a> provides a standard interface for models that represent their data as a simple non-hierarchical sequence of items. It is not used directly, but must be subclassed.</p> <p>Since the model provides a more specialized interface than <a href="QAbstractItemModel.html#QAbstractItemModel(com.trolltech.qt.core.QObject)"><tt>QAbstractItemModel</tt></a>, it is not suitable for use with tree views; you will need to subclass <a href="QAbstractItemModel.html#QAbstractItemModel(com.trolltech.qt.core.QObject)"><tt>QAbstractItemModel</tt></a> if you want to provide a model for that purpose. If you need to use a number of list models to manage data, it may be more appropriate to subclass <a href="%2E%2E/gui/QAbstractTableModel.html"><tt>QAbstractTableModel</tt></a> class instead.</p> <p>Simple models can be created by subclassing this class and implementing the minimum number of required functions. For example, we could implement a simple read-only <a href="%2E%2E/porting4.html#qstringlist"><tt>QStringList</tt></a>-based model that provides a list of strings to a <a href="%2E%2E/gui/QListView.html"><tt>QListView</tt></a> widget. In such a case, we only need to implement the <a href="QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)"><tt>rowCount</tt></a> function to return the number of items in the list, and the <a href="QAbstractItemModel.html#data(com.trolltech.qt.core.QModelIndex, int)"><tt>data</tt></a> function to retrieve items from the list.</p> <p>Since the model represents a one-dimensional structure, the <a href="QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)"><tt>rowCount</tt></a> function returns the total number of items in the model. The <a href="QAbstractListModel.html#columnCount(com.trolltech.qt.core.QModelIndex)"><tt>columnCount</tt></a> function is implemented for interoperability with all kinds of views, but by default informs views that the model contains only one column.</p> <a name="subclassing"></a> <h3>Subclassing</h3> <p><b>Note:</b> Some general guidelines for subclassing models are available in the <a href="%2E%2E/model-view-model-subclassing.html">Model Subclassing Reference</tt></a>.</p> <p>When subclassing <a href="QAbstractListModel.html#QAbstractListModel(com.trolltech.qt.core.QObject)"><tt>QAbstractListModel</tt></a>, you must provide implementations of the <a href="QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)"><tt>rowCount</tt></a> and <a href="QAbstractItemModel.html#data(com.trolltech.qt.core.QModelIndex, int)"><tt>data</tt></a> functions. Well behaved models also provide a <a href="QAbstractItemModel.html#headerData(int, com.trolltech.qt.core.Qt.Orientation, int)"><tt>headerData</tt></a> implementation.</p> <p>For editable list models, you must also provide an implementation of <a href="QAbstractItemModel.html#setData(com.trolltech.qt.core.QModelIndex, java.lang.Object, int)"><tt>setData</tt></a>, implement the <a href="QAbstractItemModel.html#flags(com.trolltech.qt.core.QModelIndex)"><tt>flags</tt></a> function so that it returns a value containing Qt::ItemIsEditable.</p> <p>Note that <a href="QAbstractListModel.html#QAbstractListModel(com.trolltech.qt.core.QObject)"><tt>QAbstractListModel</tt></a> provides a default implementation of <a href="QAbstractListModel.html#columnCount(com.trolltech.qt.core.QModelIndex)"><tt>columnCount</tt></a> that informs views that there is only a single column of items in this model.</p> <p>Models that provide interfaces to resizable list-like data structures can provide implementations of <a href="QAbstractItemModel.html#insertRows(int, int, com.trolltech.qt.core.QModelIndex)"><tt>insertRows</tt></a> and <a href="QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)"><tt>removeRows</tt></a>. When implementing these functions, it is important to call the appropriate functions so that all connected views are aware of any changes:</p> <ul> <li>An <a href="QAbstractItemModel.html#insertRows(int, int, com.trolltech.qt.core.QModelIndex)"><tt>insertRows</tt></a> implementation must call <a href="QAbstractItemModel.html#beginInsertRows(com.trolltech.qt.core.QModelIndex, int, int)"><tt>beginInsertRows</tt></a> <i>before</i> inserting new rows into the data structure, and it must call <a href="QAbstractItemModel.html#endInsertRows()"><tt>endInsertRows</tt></a> <i>immediately afterwards</i>.</li> <li>A <a href="QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)"><tt>removeRows</tt></a> implementation must call <a href="QAbstractItemModel.html#beginRemoveRows(com.trolltech.qt.core.QModelIndex, int, int)"><tt>beginRemoveRows</tt></a> <i>before</i> the rows are removed from the data structure, and it must call <a href="QAbstractItemModel.html#endRemoveRows()"><tt>endRemoveRows</tt></a> <i>immediately afterwards</i>.</li> </ul> <P> <P> <DL> <DT><B>See Also:</B><DD><a href="%2E%2E/model-view-model.html">Model Classes</tt></a>, <a href="%2E%2E/model-view-model-subclassing.html">Model Subclassing Reference</tt></a>, <a href="%2E%2E/gui/QAbstractItemView.html"><tt>QAbstractItemView</tt></a>, <a href="%2E%2E/gui/QAbstractTableModel.html"><tt>QAbstractTableModel</tt></a>, <CODE>Views Puzzle Example</tt></CODE></DL> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Nested Class Summary</B></FONT></TH> </TR> </TABLE> <A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>></CODE></TD> </TR> </TABLE> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.trolltech.qt.core.QAbstractItemModel"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#dataChanged">dataChanged</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#headerDataChanged">headerDataChanged</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#layoutAboutToBeChanged">layoutAboutToBeChanged</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#layoutChanged">layoutChanged</A></CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QAbstractListModel.html#QAbstractListModel()">QAbstractListModel</A></B>()</CODE> <BR> Equivalent to <a href="QAbstractListModel.html#QAbstractListModel(com.trolltech.qt.core.QObject)"><tt>QAbstractListModel</tt></a>(0).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QAbstractListModel.html#QAbstractListModel(com.trolltech.qt.core.QObject)">QAbstractListModel</A></B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A> parent)</CODE> <BR> Constructs an abstract list model with the given <tt>parent</tt>.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QAbstractListModel.html#columnCount(com.trolltech.qt.core.QModelIndex)">columnCount</A></B>(<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> parent)</CODE> <BR> <B>Deprecated.</B> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QAbstractListModel.html#dropMimeData(com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.DropAction, int, int, com.trolltech.qt.core.QModelIndex)">dropMimeData</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QMimeData.html" title="class in com.trolltech.qt.gui">QMimeData</A> data, <A HREF="../../../../com/trolltech/qt/core/Qt.DropAction.html" title="enum in com.trolltech.qt.core">Qt.DropAction</A> action, int row, int column, <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> parent)</CODE> <BR> This function is reimplemented for internal reasons.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/core/QAbstractListModel.html" title="class in com.trolltech.qt.core">QAbstractListModel</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QAbstractListModel.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</CODE> <BR> This function returns the QAbstractListModel instance pointed to by nativePointer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QAbstractListModel.html#hasChildren(com.trolltech.qt.core.QModelIndex)">hasChildren</A></B>(<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> parent)</CODE> <BR> <B>Deprecated.</B> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QAbstractListModel.html#index(int, int, com.trolltech.qt.core.QModelIndex)">index</A></B>(int row, int column, <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> parent)</CODE> <BR> Returns the index of the data in <tt>row</tt> and <tt>column</tt> with <tt>parent</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QAbstractListModel.html#parent(com.trolltech.qt.core.QModelIndex)">parent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> child)</CODE> <BR> <B>Deprecated.</B> </TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.core.QAbstractItemModel"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#beginInsertColumns(com.trolltech.qt.core.QModelIndex, int, int)">beginInsertColumns</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#beginInsertRows(com.trolltech.qt.core.QModelIndex, int, int)">beginInsertRows</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#beginRemoveColumns(com.trolltech.qt.core.QModelIndex, int, int)">beginRemoveColumns</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#beginRemoveRows(com.trolltech.qt.core.QModelIndex, int, int)">beginRemoveRows</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#buddy(com.trolltech.qt.core.QModelIndex)">buddy</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#canFetchMore(com.trolltech.qt.core.QModelIndex)">canFetchMore</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#changePersistentIndex(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)">changePersistentIndex</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#changePersistentIndexList(java.util.List, java.util.List)">changePersistentIndexList</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#columnCount()">columnCount</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#createIndex(int, int)">createIndex</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#createIndex(int, int, int)">createIndex</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#createIndex(int, int, com.trolltech.qt.QNativePointer)">createIndex</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#data(int, int)">data</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#data(int, int, int)">data</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#data(com.trolltech.qt.core.QModelIndex)">data</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#data(com.trolltech.qt.core.QModelIndex, int)">data</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#decodeData(int, int, com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QDataStream)">decodeData</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#encodeData(java.util.List, com.trolltech.qt.core.QDataStream)">encodeData</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#endInsertColumns()">endInsertColumns</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#endInsertRows()">endInsertRows</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#endRemoveColumns()">endRemoveColumns</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#endRemoveRows()">endRemoveRows</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#fetchMore(com.trolltech.qt.core.QModelIndex)">fetchMore</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#flags(com.trolltech.qt.core.QModelIndex)">flags</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#hasChildren()">hasChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#hasIndex(int, int)">hasIndex</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#hasIndex(int, int, com.trolltech.qt.core.QModelIndex)">hasIndex</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#headerData(int, com.trolltech.qt.core.Qt.Orientation)">headerData</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#headerData(int, com.trolltech.qt.core.Qt.Orientation, int)">headerData</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#index(int, int)">index</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#insertColumn(int)">insertColumn</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#insertColumn(int, com.trolltech.qt.core.QModelIndex)">insertColumn</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#insertColumns(int, int)">insertColumns</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#insertColumns(int, int, com.trolltech.qt.core.QModelIndex)">insertColumns</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#insertRow(int)">insertRow</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#insertRow(int, com.trolltech.qt.core.QModelIndex)">insertRow</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#insertRows(int, int)">insertRows</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#insertRows(int, int, com.trolltech.qt.core.QModelIndex)">insertRows</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#itemData(com.trolltech.qt.core.QModelIndex)">itemData</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#match(com.trolltech.qt.core.QModelIndex, int, java.lang.Object)">match</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#match(com.trolltech.qt.core.QModelIndex, int, java.lang.Object, int)">match</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#match(com.trolltech.qt.core.QModelIndex, int, java.lang.Object, int, com.trolltech.qt.core.Qt.MatchFlag...)">match</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#match(com.trolltech.qt.core.QModelIndex, int, java.lang.Object, int, com.trolltech.qt.core.Qt.MatchFlags)">match</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#mimeData(java.util.List)">mimeData</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#mimeTypes()">mimeTypes</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#persistentIndexList()">persistentIndexList</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#removeColumn(int)">removeColumn</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#removeColumn(int, com.trolltech.qt.core.QModelIndex)">removeColumn</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#removeColumns(int, int)">removeColumns</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#removeColumns(int, int, com.trolltech.qt.core.QModelIndex)">removeColumns</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#removeRow(int)">removeRow</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#removeRow(int, com.trolltech.qt.core.QModelIndex)">removeRow</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#removeRows(int, int)">removeRows</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#removeRows(int, int, com.trolltech.qt.core.QModelIndex)">removeRows</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#reset()">reset</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#revert()">revert</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#rowCount()">rowCount</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)">rowCount</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#setData(int, int, java.lang.Object)">setData</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#setData(int, int, java.lang.Object, int)">setData</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#setData(com.trolltech.qt.core.QModelIndex, java.lang.Object)">setData</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#setData(com.trolltech.qt.core.QModelIndex, java.lang.Object, int)">setData</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#setHeaderData(int, com.trolltech.qt.core.Qt.Orientation, java.lang.Object)">setHeaderData</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#setHeaderData(int, com.trolltech.qt.core.Qt.Orientation, java.lang.Object, int)">setHeaderData</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#setItemData(com.trolltech.qt.core.QModelIndex, java.util.SortedMap)">setItemData</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#setSupportedDragActions(com.trolltech.qt.core.Qt.DropAction...)">setSupportedDragActions</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#setSupportedDragActions(com.trolltech.qt.core.Qt.DropActions)">setSupportedDragActions</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#sibling(int, int, com.trolltech.qt.core.QModelIndex)">sibling</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#sort(int)">sort</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#sort(int, com.trolltech.qt.core.Qt.SortOrder)">sort</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#span(com.trolltech.qt.core.QModelIndex)">span</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#submit()">submit</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#supportedDragActions()">supportedDragActions</A>, <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#supportedDropActions()">supportedDropActions</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.core.QObject"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#childEvent(com.trolltech.qt.core.QChildEvent)">childEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#children()">children</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#connectSlotsByName()">connectSlotsByName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#customEvent(com.trolltech.qt.core.QEvent)">customEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#disposeLater()">disposeLater</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectInfo()">dumpObjectInfo</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectTree()">dumpObjectTree</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dynamicPropertyNames()">dynamicPropertyNames</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#event(com.trolltech.qt.core.QEvent)">event</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild()">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class, java.lang.String)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren()">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, com.trolltech.qt.core.QRegExp)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, java.lang.String)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#installEventFilter(com.trolltech.qt.core.QObject)">installEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#isWidgetType()">isWidgetType</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#killTimer(int)">killTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#moveToThread(java.lang.Thread)">moveToThread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#objectName()">objectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#parent()">parent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#property(java.lang.String)">property</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#removeEventFilter(com.trolltech.qt.core.QObject)">removeEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setObjectName(java.lang.String)">setObjectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setParent(com.trolltech.qt.core.QObject)">setParent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#startTimer(int)">startTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#thread()">thread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)">timerEvent</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="QAbstractListModel()"><!-- --></A><H3> QAbstractListModel</H3> <PRE> public <B>QAbstractListModel</B>()</PRE> <DL> <DD><p>Equivalent to <a href="QAbstractListModel.html#QAbstractListModel(com.trolltech.qt.core.QObject)"><tt>QAbstractListModel</tt></a>(0). <P> </DL> <HR> <A NAME="QAbstractListModel(com.trolltech.qt.core.QObject)"><!-- --></A><H3> QAbstractListModel</H3> <PRE> public <B>QAbstractListModel</B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A> parent)</PRE> <DL> <DD><p>Constructs an abstract list model with the given <tt>parent</tt>.</p> <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="columnCount(com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3> columnCount</H3> <PRE> <FONT SIZE="-1">@Deprecated </FONT>public final int <B>columnCount</B>(<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> parent)</PRE> <DL> <DD><B>Deprecated.</B> <P> <DD><p>Returns the number of columns for the children of the given <tt>parent</tt>. When the parent is valid it means that <a href="QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)"><tt>rowCount</tt></a> is returning the number of children of parent.</p> <p>In most subclasses, the number of columns is independent of the <tt>parent</tt>. For example:</p> <pre> int DomModel::columnCount(const QModelIndex &/*parent*/</span>) const { return 3; }</pre> <p><b>Tip:</b> When implementing a table based model, <a href="QAbstractItemModel.html#columnCount(com.trolltech.qt.core.QModelIndex)"><tt>columnCount</tt></a> should return 0 when the parent is valid.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#columnCount(com.trolltech.qt.core.QModelIndex)">columnCount</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A></CODE></DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><a href="QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)"><tt>rowCount</tt></a></DL> </DD> </DL> <HR> <A NAME="hasChildren(com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3> hasChildren</H3> <PRE> <FONT SIZE="-1">@Deprecated </FONT>public final boolean <B>hasChildren</B>(<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> parent)</PRE> <DL> <DD><B>Deprecated.</B> <P> <DD><p>Returns true if <tt>parent</tt> has any children; otherwise returns false. Use <a href="QAbstractItemModel.html#rowCount(com.trolltech.qt.core.QModelIndex)"><tt>rowCount</tt></a> on the parent to find out the number of children.</p> <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#hasChildren(com.trolltech.qt.core.QModelIndex)">hasChildren</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A></CODE></DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><a href="QAbstractItemModel.html#parent(com.trolltech.qt.core.QModelIndex)"><tt>parent</tt></a>, <a href="QAbstractItemModel.html#index(int, int, com.trolltech.qt.core.QModelIndex)"><tt>index</tt></a></DL> </DD> </DL> <HR> <A NAME="parent(com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3> parent</H3> <PRE> <FONT SIZE="-1">@Deprecated </FONT>public final <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> <B>parent</B>(<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> child)</PRE> <DL> <DD><B>Deprecated.</B> <P> <DD><p>Returns the parent of the model item with the given <tt>child</tt>, or QModelIndex() if it has no parent.</p> <p>A common convention used in models that expose tree data structures is that only items in the first column have children. When reimplementing this function in a subclass that provides a tree model, you should return a model index corresponding to an item in the first column by calling <a href="QAbstractItemModel.html#createIndex(int, int, com.trolltech.qt.QNativePointer)"><tt>createIndex</tt></a> with a value of 0 for the column number.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#parent(com.trolltech.qt.core.QModelIndex)">parent</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A></CODE></DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><a href="QAbstractItemModel.html#createIndex(int, int, com.trolltech.qt.QNativePointer)"><tt>createIndex</tt></a></DL> </DD> </DL> <HR> <A NAME="dropMimeData(com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.DropAction, int, int, com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3> dropMimeData</H3> <PRE> public boolean <B>dropMimeData</B>(<A HREF="../../../../com/trolltech/qt/gui/QMimeData.html" title="class in com.trolltech.qt.gui">QMimeData</A> data, <A HREF="../../../../com/trolltech/qt/core/Qt.DropAction.html" title="enum in com.trolltech.qt.core">Qt.DropAction</A> action, int row, int column, <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> parent)</PRE> <DL> <DD><p>This function is reimplemented for internal reasons.</p> <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#dropMimeData(com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.DropAction, int, int, com.trolltech.qt.core.QModelIndex)">dropMimeData</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A></CODE></DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><a href="QAbstractItemModel.html#supportedDropActions()"><tt>supportedDropActions</tt></a>, <a href="%2E%2E/model-view-dnd.html">Using Drag and Drop with Item Views</tt></a></DL> </DD> </DL> <HR> <A NAME="index(int, int, com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3> index</H3> <PRE> public <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> <B>index</B>(int row, int column, <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> parent)</PRE> <DL> <DD><p>Returns the index of the data in <tt>row</tt> and <tt>column</tt> with <tt>parent</tt>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html#index(int, int, com.trolltech.qt.core.QModelIndex)">index</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A></CODE></DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><a href="QAbstractListModel.html#parent(com.trolltech.qt.core.QModelIndex)"><tt>parent</tt></a></DL> </DD> </DL> <HR> <A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3> fromNativePointer</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/core/QAbstractListModel.html" title="class in com.trolltech.qt.core">QAbstractListModel</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</PRE> <DL> <DD>This function returns the QAbstractListModel instance pointed to by nativePointer <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/core/QBasicTimer.html" title="class in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/core/QAbstractListModel.html" target="_top"><B>FRAMES</B></A> <A HREF="QAbstractListModel.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">NESTED</A> | <A HREF="#fields_inherited_from_class_com.trolltech.qt.core.QAbstractItemModel">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>