Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 121

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!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:37 CEST 2007 -->
<TITLE>
QDirIterator
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.core.QDirIterator class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QDirIterator";
}
</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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QDir.SortFlags.html" title="class in com.trolltech.qt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QDirIterator.IteratorFlag.html" title="enum 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/QDirIterator.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QDirIterator.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 QDirIterator</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 "><B>com.trolltech.qt.core.QDirIterator</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>
<HR>
<DL>
<DT><PRE>public class <B>QDirIterator</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></DL>
</PRE>

<P>
<p>The <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> class provides an iterator for directory entrylists.</p>
<p>You can use <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> to navigate entries of a directory one at a time. It is similar to QDir::entryList() and QDir::entryInfoList(), but because it lists entries one at a time instead of all at once, it scales better and is more suitable for large directories. It also supports listing directory contents recursively, and following symbolic links. Unlike QDir::entryList(), <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> does not support sorting.</p>
<p>The <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> constructor takes a <a href="QDir.html"><tt>QDir</tt></a> or a directory as argument. After construction, the iterator is located before the first directory entry. Here's how to iterate over all the entries sequentially:</p>
<pre>    QDirIterator it(&quot;/etc&quot;, QDirIterator::Subdirectories);
    while (it.hasNext()) {
        qDebug() &lt;&lt; it.next();

        <span class="comment">// /etc/.</span>
        <span class="comment">// /etc/..</span>
        <span class="comment">// /etc/X11</span>
        <span class="comment">// /etc/X11/fs</span>
        <span class="comment">// ...</span>
    }</pre>
<p>The <a href="QDirIterator.html#next()"><tt>next</tt></a> function returns the path to the next directory entry and advances the iterator. You can also call <a href="QDirIterator.html#filePath()"><tt>filePath</tt></a> to get the current file path without advancing the iterator. The <a href="QDirIterator.html#fileName()"><tt>fileName</tt></a> function returns only the name of the file, similar to how QDir::entryList() works. You can also call <a href="QDirIterator.html#fileInfo()"><tt>fileInfo</tt></a> to get a <a href="QFileInfo.html"><tt>QFileInfo</tt></a> for the current entry.</p>
<p>Unlike Qt's container iterators, <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> is uni-directional (i.e&#x2e;, you cannot iterate directories in reverse order) and does not allow random access.</p>
<p><a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> works with all supported file engines, and is implemented using <a href="QAbstractFileEngineIterator.html"><tt>QAbstractFileEngineIterator</tt></a>.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QDir.html"><tt>QDir</tt></a>, 
<tt>QDir::entryList</tt>, 
<a href="QAbstractFileEngineIterator.html"><tt>QAbstractFileEngineIterator</tt></a></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>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.IteratorFlag.html" title="enum in com.trolltech.qt.core">QDirIterator.IteratorFlag</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes flags that you can combine to configure the behavior of <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.IteratorFlags.html" title="class in com.trolltech.qt.core">QDirIterator.IteratorFlags</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This QFlag class provides flags for the int enum.</TD>
</TR>
</TABLE>
&nbsp;<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>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<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>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== 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/QDirIterator.html#QDirIterator(com.trolltech.qt.core.QDir)">QDirIterator</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDir.html" title="class in com.trolltech.qt.core">QDir</A>&nbsp;dir)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a>(<tt>dir</tt>, NoIteratorFlags).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#QDirIterator(com.trolltech.qt.core.QDir, com.trolltech.qt.core.QDirIterator.IteratorFlags)">QDirIterator</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDir.html" title="class in com.trolltech.qt.core">QDir</A>&nbsp;dir,
             <A HREF="../../../../com/trolltech/qt/core/QDirIterator.IteratorFlags.html" title="class in com.trolltech.qt.core">QDirIterator.IteratorFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> that can iterate over <tt>dir</tt>'s entrylist, using <tt>dir</tt>'s name filters and regular filters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#QDirIterator(java.lang.String)">QDirIterator</A></B>(java.lang.String&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a>(<tt>path</tt>, NoIteratorFlags).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#QDirIterator(java.lang.String, java.util.List)">QDirIterator</A></B>(java.lang.String&nbsp;path,
             java.util.List&lt;java.lang.String&gt;&nbsp;nameFilters)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a>(<tt>path</tt>, <tt>nameFilters</tt>, QDir::NoFilter, NoIteratorFlags).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#QDirIterator(java.lang.String, java.util.List, com.trolltech.qt.core.QDir.Filters)">QDirIterator</A></B>(java.lang.String&nbsp;path,
             java.util.List&lt;java.lang.String&gt;&nbsp;nameFilters,
             <A HREF="../../../../com/trolltech/qt/core/QDir.Filters.html" title="class in com.trolltech.qt.core">QDir.Filters</A>&nbsp;filters)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a>(<tt>path</tt>, <tt>nameFilters</tt>, <tt>filters</tt>, NoIteratorFlags).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#QDirIterator(java.lang.String, java.util.List, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)">QDirIterator</A></B>(java.lang.String&nbsp;path,
             java.util.List&lt;java.lang.String&gt;&nbsp;nameFilters,
             <A HREF="../../../../com/trolltech/qt/core/QDir.Filters.html" title="class in com.trolltech.qt.core">QDir.Filters</A>&nbsp;filters,
             <A HREF="../../../../com/trolltech/qt/core/QDirIterator.IteratorFlags.html" title="class in com.trolltech.qt.core">QDirIterator.IteratorFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> that can iterate over <tt>path</tt>, using <tt>nameFilters</tt> and <tt>filters</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters)">QDirIterator</A></B>(java.lang.String&nbsp;path,
             <A HREF="../../../../com/trolltech/qt/core/QDir.Filters.html" title="class in com.trolltech.qt.core">QDir.Filters</A>&nbsp;filter)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a>(<tt>path</tt>, <tt>filter</tt>, NoIteratorFlags).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)">QDirIterator</A></B>(java.lang.String&nbsp;path,
             <A HREF="../../../../com/trolltech/qt/core/QDir.Filters.html" title="class in com.trolltech.qt.core">QDir.Filters</A>&nbsp;filter,
             <A HREF="../../../../com/trolltech/qt/core/QDirIterator.IteratorFlags.html" title="class in com.trolltech.qt.core">QDirIterator.IteratorFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> that can iterate over <tt>path</tt>, with no name filtering and <tt>filter</tt> for entry filtering.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDirIterator.IteratorFlags)">QDirIterator</A></B>(java.lang.String&nbsp;path,
             <A HREF="../../../../com/trolltech/qt/core/QDirIterator.IteratorFlags.html" title="class in com.trolltech.qt.core">QDirIterator.IteratorFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> that can iterate over <tt>path</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QFileInfo.html" title="class in com.trolltech.qt.core">QFileInfo</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#fileInfo()">fileInfo</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <a href="QFileInfo.html"><tt>QFileInfo</tt></a> for the current directory entry.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#fileName()">fileName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the file name for the current directory entry, without the path prepended.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#filePath()">filePath</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the full file path for the current directory entry.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QDirIterator.html" title="class in com.trolltech.qt.core">QDirIterator</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QDirIterator instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#hasNext()">hasNext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if there is at least one more entry in the directory; otherwise, false is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#next()">next</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Advances the iterator to the next entry, and returns the file path of this new entry.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QDirIterator.html#path()">path</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the base directory of the iterator.</TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;<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#blockSignals(boolean)">blockSignals</A>, <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#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;<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>
&nbsp;
<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="QDirIterator(com.trolltech.qt.core.QDir)"><!-- --></A><H3>
QDirIterator</H3>
<PRE>
public <B>QDirIterator</B>(<A HREF="../../../../com/trolltech/qt/core/QDir.html" title="class in com.trolltech.qt.core">QDir</A>&nbsp;dir)</PRE>
<DL>
<DD><p>Equivalent to <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a>(<tt>dir</tt>, NoIteratorFlags).
<P>
</DL>
<HR>

<A NAME="QDirIterator(com.trolltech.qt.core.QDir, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><!-- --></A><H3>
QDirIterator</H3>
<PRE>
public <B>QDirIterator</B>(<A HREF="../../../../com/trolltech/qt/core/QDir.html" title="class in com.trolltech.qt.core">QDir</A>&nbsp;dir,
                    <A HREF="../../../../com/trolltech/qt/core/QDirIterator.IteratorFlags.html" title="class in com.trolltech.qt.core">QDirIterator.IteratorFlags</A>&nbsp;flags)</PRE>
<DL>
<DD><p>Constructs a <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> that can iterate over <tt>dir</tt>'s entrylist, using <tt>dir</tt>'s name filters and regular filters. You can pass options via <tt>flags</tt> to decide how the directory should be iterated.</p>
<p>By default, <tt>flags</tt> is <a href="QDirIterator.html#IteratorFlag-enum"><tt>NoIteratorFlags</tt></a>, which provides the same behavior as in QDir::entryList().</p>
<p>The sorting in <tt>dir</tt> is ignored.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QDirIterator.html#hasNext()"><tt>hasNext</tt></a>, 
<a href="QDirIterator.html#next()"><tt>next</tt></a>, 
<tt>IteratorFlags</tt></DL>
</DL>
<HR>

<A NAME="QDirIterator(java.lang.String)"><!-- --></A><H3>
QDirIterator</H3>
<PRE>
public <B>QDirIterator</B>(java.lang.String&nbsp;path)</PRE>
<DL>
<DD><p>Equivalent to <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a>(<tt>path</tt>, NoIteratorFlags).
<P>
</DL>
<HR>

<A NAME="QDirIterator(java.lang.String, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><!-- --></A><H3>
QDirIterator</H3>
<PRE>
public <B>QDirIterator</B>(java.lang.String&nbsp;path,
                    <A HREF="../../../../com/trolltech/qt/core/QDirIterator.IteratorFlags.html" title="class in com.trolltech.qt.core">QDirIterator.IteratorFlags</A>&nbsp;flags)</PRE>
<DL>
<DD><p>Constructs a <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> that can iterate over <tt>path</tt>. You can pass options via <tt>flags</tt> to decide how the directory should be iterated.</p>
<p>By default, <tt>flags</tt> is <a href="QDirIterator.html#IteratorFlag-enum"><tt>NoIteratorFlags</tt></a>, which provides the same behavior as in QDir::entryList().</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QDirIterator.html#hasNext()"><tt>hasNext</tt></a>, 
<a href="QDirIterator.html#next()"><tt>next</tt></a>, 
<tt>IteratorFlags</tt></DL>
</DL>
<HR>

<A NAME="QDirIterator(java.lang.String, java.util.List, com.trolltech.qt.core.QDir.Filters)"><!-- --></A><H3>
QDirIterator</H3>
<PRE>
public <B>QDirIterator</B>(java.lang.String&nbsp;path,
                    java.util.List&lt;java.lang.String&gt;&nbsp;nameFilters,
                    <A HREF="../../../../com/trolltech/qt/core/QDir.Filters.html" title="class in com.trolltech.qt.core">QDir.Filters</A>&nbsp;filters)</PRE>
<DL>
<DD><p>Equivalent to <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a>(<tt>path</tt>, <tt>nameFilters</tt>, <tt>filters</tt>, NoIteratorFlags).
<P>
</DL>
<HR>

<A NAME="QDirIterator(java.lang.String, java.util.List)"><!-- --></A><H3>
QDirIterator</H3>
<PRE>
public <B>QDirIterator</B>(java.lang.String&nbsp;path,
                    java.util.List&lt;java.lang.String&gt;&nbsp;nameFilters)</PRE>
<DL>
<DD><p>Equivalent to <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a>(<tt>path</tt>, <tt>nameFilters</tt>, QDir::NoFilter, NoIteratorFlags).
<P>
</DL>
<HR>

<A NAME="QDirIterator(java.lang.String, java.util.List, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><!-- --></A><H3>
QDirIterator</H3>
<PRE>
public <B>QDirIterator</B>(java.lang.String&nbsp;path,
                    java.util.List&lt;java.lang.String&gt;&nbsp;nameFilters,
                    <A HREF="../../../../com/trolltech/qt/core/QDir.Filters.html" title="class in com.trolltech.qt.core">QDir.Filters</A>&nbsp;filters,
                    <A HREF="../../../../com/trolltech/qt/core/QDirIterator.IteratorFlags.html" title="class in com.trolltech.qt.core">QDirIterator.IteratorFlags</A>&nbsp;flags)</PRE>
<DL>
<DD><p>Constructs a <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> that can iterate over <tt>path</tt>, using <tt>nameFilters</tt> and <tt>filters</tt>. You can pass options via <tt>flags</tt> to decide how the directory should be iterated.</p>
<p>By default, <tt>flags</tt> is <a href="QDirIterator.html#IteratorFlag-enum"><tt>NoIteratorFlags</tt></a>, which provides the same behavior as QDir::entryList().</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QDirIterator.html#hasNext()"><tt>hasNext</tt></a>, 
<a href="QDirIterator.html#next()"><tt>next</tt></a>, 
<tt>IteratorFlags</tt></DL>
</DL>
<HR>

<A NAME="QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters)"><!-- --></A><H3>
QDirIterator</H3>
<PRE>
public <B>QDirIterator</B>(java.lang.String&nbsp;path,
                    <A HREF="../../../../com/trolltech/qt/core/QDir.Filters.html" title="class in com.trolltech.qt.core">QDir.Filters</A>&nbsp;filter)</PRE>
<DL>
<DD><p>Equivalent to <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a>(<tt>path</tt>, <tt>filter</tt>, NoIteratorFlags).
<P>
</DL>
<HR>

<A NAME="QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><!-- --></A><H3>
QDirIterator</H3>
<PRE>
public <B>QDirIterator</B>(java.lang.String&nbsp;path,
                    <A HREF="../../../../com/trolltech/qt/core/QDir.Filters.html" title="class in com.trolltech.qt.core">QDir.Filters</A>&nbsp;filter,
                    <A HREF="../../../../com/trolltech/qt/core/QDirIterator.IteratorFlags.html" title="class in com.trolltech.qt.core">QDirIterator.IteratorFlags</A>&nbsp;flags)</PRE>
<DL>
<DD><p>Constructs a <a href="QDirIterator.html#QDirIterator(java.lang.String, com.trolltech.qt.core.QDir.Filters, com.trolltech.qt.core.QDirIterator.IteratorFlags)"><tt>QDirIterator</tt></a> that can iterate over <tt>path</tt>, with no name filtering and <tt>filter</tt> for entry filtering. You can pass options via <tt>flags</tt> to decide how the directory should be iterated.</p>
<p>By default, <tt>filter</tt> is QDir::NoFilter, and <tt>flags</tt> is <a href="QDirIterator.html#IteratorFlag-enum"><tt>NoIteratorFlags</tt></a>, which provides the same behavior as in QDir::entryList().</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QDirIterator.html#hasNext()"><tt>hasNext</tt></a>, 
<a href="QDirIterator.html#next()"><tt>next</tt></a>, 
<tt>IteratorFlags</tt></DL>
</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="fileInfo()"><!-- --></A><H3>
fileInfo</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QFileInfo.html" title="class in com.trolltech.qt.core">QFileInfo</A> <B>fileInfo</B>()</PRE>
<DL>
<DD><p>Returns a <a href="QFileInfo.html"><tt>QFileInfo</tt></a> for the current directory entry. If the current entry is invalid (i.e&#x2e;, isValid() returns false), a null <a href="QFileInfo.html"><tt>QFileInfo</tt></a> is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QDirIterator.html#filePath()"><tt>filePath</tt></a>, 
<a href="QDirIterator.html#fileName()"><tt>fileName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fileName()"><!-- --></A><H3>
fileName</H3>
<PRE>
public final java.lang.String <B>fileName</B>()</PRE>
<DL>
<DD><p>Returns the file name for the current directory entry, without the path prepended. If the current entry is invalid (i.e&#x2e;, isValid() returns false), a null <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> is returned.</p>
<p>This function is provided for the convenience when iterating single directories. For recursive iteration, you should call <a href="QDirIterator.html#filePath()"><tt>filePath</tt></a> or <a href="QDirIterator.html#fileInfo()"><tt>fileInfo</tt></a> instead.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QDirIterator.html#filePath()"><tt>filePath</tt></a>, 
<a href="QDirIterator.html#fileInfo()"><tt>fileInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="filePath()"><!-- --></A><H3>
filePath</H3>
<PRE>
public final java.lang.String <B>filePath</B>()</PRE>
<DL>
<DD><p>Returns the full file path for the current directory entry. If the current entry is invalid (i.e&#x2e;, isValid() returns false), a null <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QDirIterator.html#fileInfo()"><tt>fileInfo</tt></a>, 
<a href="QDirIterator.html#fileName()"><tt>fileName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasNext()"><!-- --></A><H3>
hasNext</H3>
<PRE>
public final boolean <B>hasNext</B>()</PRE>
<DL>
<DD><p>Returns true if there is at least one more entry in the directory; otherwise, false is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QDirIterator.html#next()"><tt>next</tt></a>, 
<a href="QDirIterator.html#fileName()"><tt>fileName</tt></a>, 
<a href="QDirIterator.html#filePath()"><tt>filePath</tt></a>, 
<a href="QDirIterator.html#fileInfo()"><tt>fileInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="next()"><!-- --></A><H3>
next</H3>
<PRE>
public final java.lang.String <B>next</B>()</PRE>
<DL>
<DD><p>Advances the iterator to the next entry, and returns the file path of this new entry. If <a href="QDirIterator.html#hasNext()"><tt>hasNext</tt></a> returns false, this function does nothing, and returns a null <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a>.</p>
<p>You can call <a href="QDirIterator.html#fileName()"><tt>fileName</tt></a> or <a href="QDirIterator.html#filePath()"><tt>filePath</tt></a> to get the current entry file name or path, or <a href="QDirIterator.html#fileInfo()"><tt>fileInfo</tt></a> to get a <a href="QFileInfo.html"><tt>QFileInfo</tt></a> for the current entry.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QDirIterator.html#hasNext()"><tt>hasNext</tt></a>, 
<a href="QDirIterator.html#fileName()"><tt>fileName</tt></a>, 
<a href="QDirIterator.html#filePath()"><tt>filePath</tt></a>, 
<a href="QDirIterator.html#fileInfo()"><tt>fileInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="path()"><!-- --></A><H3>
path</H3>
<PRE>
public final java.lang.String <B>path</B>()</PRE>
<DL>
<DD><p>Returns the base directory of the iterator.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QDirIterator.html" title="class in com.trolltech.qt.core">QDirIterator</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QDirIterator 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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QDir.SortFlags.html" title="class in com.trolltech.qt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QDirIterator.IteratorFlag.html" title="enum 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/QDirIterator.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QDirIterator.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>