Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 5473

kdelibs3-apidocs-3.5.10-31.fc15.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>kio/kio: kdirlister.h Source File (kio/kio)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../../.."><img id="nav_header_logo" alt="Home" align="left" src="../../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../../..">API Reference</a>
 / <a href="../../html/index.html">kio</a> / <a href=".">kio</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.7.4 -->
<div class="header">
  <div class="headertitle">
<div class="title">kdirlister.h</div>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* This file is part of the KDE project</span>
<a name="l00002"></a>00002 <span class="comment">   Copyright (C) 1999 David Faure &lt;faure@kde.org&gt;</span>
<a name="l00003"></a>00003 <span class="comment">                 2001, 2002, 2004, 2005 Michael Brade &lt;brade@kde.org&gt;</span>
<a name="l00004"></a>00004 <span class="comment"></span>
<a name="l00005"></a>00005 <span class="comment">   This library is free software; you can redistribute it and/or</span>
<a name="l00006"></a>00006 <span class="comment">   modify it under the terms of the GNU Library General Public</span>
<a name="l00007"></a>00007 <span class="comment">   License as published by the Free Software Foundation; either</span>
<a name="l00008"></a>00008 <span class="comment">   version 2 of the License, or (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment"></span>
<a name="l00010"></a>00010 <span class="comment">   This library is distributed in the hope that it will be useful,</span>
<a name="l00011"></a>00011 <span class="comment">   but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment">   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00013"></a>00013 <span class="comment">   Library General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment"></span>
<a name="l00015"></a>00015 <span class="comment">   You should have received a copy of the GNU Library General Public License</span>
<a name="l00016"></a>00016 <span class="comment">   along with this library; see the file COPYING.LIB.  If not, write to</span>
<a name="l00017"></a>00017 <span class="comment">   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,</span>
<a name="l00018"></a>00018 <span class="comment">   Boston, MA 02110-1301, USA.</span>
<a name="l00019"></a>00019 <span class="comment">*/</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef kdirlister_h</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define kdirlister_h</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &quot;kfileitem.h&quot;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;kdirnotify.h&quot;</span>
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;qstring.h&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;qstringlist.h&gt;</span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;kurl.h&gt;</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="keyword">namespace </span>KIO { <span class="keyword">class </span>Job; <span class="keyword">class </span>ListJob; }
<a name="l00033"></a>00033 
<a name="l00055"></a><a class="code" href="classKDirLister.html">00055</a> <span class="keyword">class </span>KIO_EXPORT <a class="code" href="classKDirLister.html" title="The dir lister deals with the kiojob used to list and update a directory and has signals for the user...">KDirLister</a> : <span class="keyword">public</span> <a class="codeRef" href="qobject.html">QObject</a>
<a name="l00056"></a>00056 {
<a name="l00057"></a>00057   <span class="keyword">class </span>KDirListerPrivate;
<a name="l00058"></a>00058   <span class="keyword">friend</span> <span class="keyword">class </span>KDirListerPrivate;
<a name="l00059"></a>00059   <span class="keyword">friend</span> <span class="keyword">class </span>KDirListerCache;
<a name="l00060"></a>00060 
<a name="l00061"></a>00061   Q_OBJECT
<a name="l00062"></a>00062   Q_PROPERTY( <span class="keywordtype">bool</span> autoUpdate READ autoUpdate WRITE setAutoUpdate )
<a name="l00063"></a>00063   Q_PROPERTY( <span class="keywordtype">bool</span> showingDotFiles READ showingDotFiles WRITE setShowingDotFiles )
<a name="l00064"></a>00064   Q_PROPERTY( <span class="keywordtype">bool</span> dirOnlyMode READ dirOnlyMode WRITE setDirOnlyMode )
<a name="l00065"></a>00065   Q_PROPERTY( <span class="keywordtype">bool</span> autoErrorHandlingEnabled READ autoErrorHandlingEnabled )
<a name="l00066"></a>00066   Q_PROPERTY( <a class="codeRef" href="qstring.html">QString</a> nameFilter READ nameFilter WRITE setNameFilter )
<a name="l00067"></a>00067   Q_PROPERTY( <a class="codeRef" href="qstringlist.html">QStringList</a> mimeFilter READ mimeFilters WRITE setMimeFilter RESET clearMimeFilter )
<a name="l00068"></a>00068 
<a name="l00069"></a>00069 <span class="keyword">public</span>:
<a name="l00075"></a>00075   <a class="code" href="classKDirLister.html" title="The dir lister deals with the kiojob used to list and update a directory and has signals for the user...">KDirLister</a>( <span class="keywordtype">bool</span> _delayedMimeTypes = <span class="keyword">false</span> );
<a name="l00076"></a>00076 
<a name="l00080"></a>00080   <span class="keyword">virtual</span> ~<a class="code" href="classKDirLister.html" title="The dir lister deals with the kiojob used to list and update a directory and has signals for the user...">KDirLister</a>();
<a name="l00081"></a>00081 
<a name="l00105"></a>00105   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> openURL( <span class="keyword">const</span> KURL&amp; _url, <span class="keywordtype">bool</span> _keep = <span class="keyword">false</span>, <span class="keywordtype">bool</span> _reload = <span class="keyword">false</span> );
<a name="l00106"></a>00106 
<a name="l00114"></a>00114   <span class="keyword">virtual</span> <span class="keywordtype">void</span> stop();
<a name="l00115"></a>00115 
<a name="l00125"></a>00125   <span class="keyword">virtual</span> <span class="keywordtype">void</span> stop( <span class="keyword">const</span> KURL&amp; _url );
<a name="l00126"></a>00126 
<a name="l00132"></a>00132   <span class="keywordtype">bool</span> autoUpdate() <span class="keyword">const</span>;
<a name="l00133"></a>00133 
<a name="l00139"></a>00139   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setAutoUpdate( <span class="keywordtype">bool</span> enable );
<a name="l00140"></a>00140 
<a name="l00148"></a>00148   <span class="keywordtype">bool</span> autoErrorHandlingEnabled() <span class="keyword">const</span>;
<a name="l00149"></a>00149 
<a name="l00159"></a>00159   <span class="keywordtype">void</span> setAutoErrorHandlingEnabled( <span class="keywordtype">bool</span> enable, <a class="codeRef" href="qwidget.html">QWidget</a> *parent );
<a name="l00160"></a>00160 
<a name="l00168"></a>00168   <span class="keywordtype">bool</span> showingDotFiles() <span class="keyword">const</span>;
<a name="l00169"></a>00169 
<a name="l00178"></a>00178   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setShowingDotFiles( <span class="keywordtype">bool</span> _showDotFiles );
<a name="l00179"></a>00179 
<a name="l00186"></a>00186   <span class="keywordtype">bool</span> dirOnlyMode() <span class="keyword">const</span>;
<a name="l00187"></a>00187 
<a name="l00193"></a>00193   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDirOnlyMode( <span class="keywordtype">bool</span> dirsOnly );
<a name="l00194"></a>00194 
<a name="l00203"></a>00203   <span class="keyword">const</span> KURL&amp; url() <span class="keyword">const</span>;
<a name="l00204"></a>00204 
<a name="l00214"></a>00214   <span class="keyword">const</span> KURL::List&amp; directories() <span class="keyword">const</span>;
<a name="l00215"></a>00215 
<a name="l00220"></a>00220   <span class="keyword">virtual</span> <span class="keywordtype">void</span> emitChanges();
<a name="l00221"></a>00221 
<a name="l00233"></a>00233   <span class="keyword">virtual</span> <span class="keywordtype">void</span> updateDirectory( <span class="keyword">const</span> KURL&amp; _dir );
<a name="l00234"></a>00234 
<a name="l00239"></a>00239   <span class="keywordtype">bool</span> isFinished() <span class="keyword">const</span>;
<a name="l00240"></a>00240 
<a name="l00245"></a>00245   <a class="code" href="classKFileItem.html" title="A KFileItem is a generic class to handle a file, local or remote.">KFileItem</a> *rootItem() <span class="keyword">const</span>;
<a name="l00246"></a>00246 
<a name="l00252"></a>00252   <span class="keyword">virtual</span> <a class="code" href="classKFileItem.html" title="A KFileItem is a generic class to handle a file, local or remote.">KFileItem</a> *findByURL( <span class="keyword">const</span> KURL&amp; _url ) <span class="keyword">const</span>;
<a name="l00253"></a>00253 <span class="preprocessor">#ifndef KDE_NO_COMPAT</span>
<a name="l00254"></a>00254 <span class="preprocessor"></span>  <a class="code" href="classKFileItem.html" title="A KFileItem is a generic class to handle a file, local or remote.">KFileItem</a> *find( <span class="keyword">const</span> KURL&amp; _url ) <span class="keyword">const</span>;
<a name="l00255"></a>00255 <span class="preprocessor">#endif</span>
<a name="l00256"></a>00256 <span class="preprocessor"></span>
<a name="l00262"></a>00262   <span class="keyword">virtual</span> <a class="code" href="classKFileItem.html" title="A KFileItem is a generic class to handle a file, local or remote.">KFileItem</a> *findByName( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp; name ) <span class="keyword">const</span>;
<a name="l00263"></a>00263 
<a name="l00274"></a>00274   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setNameFilter( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &amp;filter );
<a name="l00275"></a>00275 
<a name="l00281"></a>00281   <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp; nameFilter() <span class="keyword">const</span>;
<a name="l00282"></a>00282 
<a name="l00294"></a>00294   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMimeFilter( <span class="keyword">const</span> <a class="codeRef" href="qstringlist.html">QStringList</a> &amp;mimeList );
<a name="l00295"></a>00295 
<a name="l00311"></a>00311   <span class="keywordtype">void</span> setMimeExcludeFilter(<span class="keyword">const</span> <a class="codeRef" href="qstringlist.html">QStringList</a> &amp;mimeList );
<a name="l00312"></a>00312 
<a name="l00313"></a>00313 
<a name="l00319"></a>00319   <span class="keyword">virtual</span> <span class="keywordtype">void</span> clearMimeFilter();
<a name="l00320"></a>00320 
<a name="l00325"></a>00325   <span class="keyword">const</span> <a class="codeRef" href="qstringlist.html">QStringList</a>&amp; mimeFilters() <span class="keyword">const</span>;
<a name="l00326"></a>00326 
<a name="l00333"></a>00333   <span class="keywordtype">bool</span> matchesFilter( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp; name ) <span class="keyword">const</span>;
<a name="l00334"></a>00334 
<a name="l00342"></a>00342   <span class="keywordtype">bool</span> matchesMimeFilter( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp; mime ) <span class="keyword">const</span>;
<a name="l00343"></a>00343 
<a name="l00350"></a>00350   <span class="keywordtype">void</span> setMainWindow( <a class="codeRef" href="qwidget.html">QWidget</a> *window );
<a name="l00351"></a>00351 
<a name="l00357"></a>00357   <a class="codeRef" href="qwidget.html">QWidget</a> *mainWindow();
<a name="l00358"></a>00358 
<a name="l00363"></a><a class="code" href="classKDirLister.html#acc57ea947dbdad050ae2dff2504b7417">00363</a>   <span class="keyword">enum</span> <a class="code" href="classKDirLister.html#acc57ea947dbdad050ae2dff2504b7417" title="Used by items() and itemsForDir() to specify whether you want all items for a directory or just the f...">WhichItems</a>
<a name="l00364"></a>00364   {
<a name="l00365"></a>00365       AllItems = 0,
<a name="l00366"></a>00366       FilteredItems = 1
<a name="l00367"></a>00367   };
<a name="l00368"></a>00368 
<a name="l00386"></a>00386   <a class="codeRef" href="qptrlist.html">KFileItemList</a> items( WhichItems which = FilteredItems ) <span class="keyword">const</span>;
<a name="l00387"></a>00387 
<a name="l00408"></a>00408   <a class="codeRef" href="qptrlist.html">KFileItemList</a> itemsForDir( <span class="keyword">const</span> KURL&amp; dir,
<a name="l00409"></a>00409                              WhichItems which = FilteredItems ) <span class="keyword">const</span>;
<a name="l00410"></a>00410 
<a name="l00411"></a>00411 signals:
<a name="l00421"></a>00421   <span class="keywordtype">void</span> started( <span class="keyword">const</span> KURL&amp; _url );
<a name="l00422"></a>00422 
<a name="l00426"></a>00426   <span class="keywordtype">void</span> completed();
<a name="l00427"></a>00427 
<a name="l00433"></a>00433   <span class="keywordtype">void</span> completed( <span class="keyword">const</span> KURL&amp; _url );
<a name="l00434"></a>00434 
<a name="l00438"></a>00438   <span class="keywordtype">void</span> canceled();
<a name="l00439"></a>00439 
<a name="l00445"></a>00445   <span class="keywordtype">void</span> canceled( <span class="keyword">const</span> KURL&amp; _url );
<a name="l00446"></a>00446 
<a name="l00453"></a>00453   <span class="keywordtype">void</span> redirection( <span class="keyword">const</span> KURL&amp; _url );
<a name="l00454"></a>00454 
<a name="l00460"></a>00460   <span class="keywordtype">void</span> redirection( <span class="keyword">const</span> KURL&amp; oldUrl, <span class="keyword">const</span> KURL&amp; newUrl );
<a name="l00461"></a>00461 
<a name="l00466"></a>00466   <span class="keywordtype">void</span> clear();
<a name="l00467"></a>00467 
<a name="l00473"></a>00473   <span class="keywordtype">void</span> clear( <span class="keyword">const</span> KURL&amp; _url );
<a name="l00474"></a>00474 
<a name="l00479"></a>00479   <span class="keywordtype">void</span> newItems( <span class="keyword">const</span> <a class="codeRef" href="qptrlist.html">KFileItemList</a>&amp; items );
<a name="l00480"></a>00480 
<a name="l00485"></a>00485   <span class="keywordtype">void</span> itemsFilteredByMime( <span class="keyword">const</span> <a class="codeRef" href="qptrlist.html">KFileItemList</a>&amp; items );
<a name="l00486"></a>00486 
<a name="l00496"></a>00496   <span class="keywordtype">void</span> deleteItem( <a class="code" href="classKFileItem.html" title="A KFileItem is a generic class to handle a file, local or remote.">KFileItem</a> *_fileItem );
<a name="l00497"></a>00497 
<a name="l00503"></a>00503   <span class="keywordtype">void</span> refreshItems( <span class="keyword">const</span> <a class="codeRef" href="qptrlist.html">KFileItemList</a>&amp; items );
<a name="l00504"></a>00504 
<a name="l00510"></a>00510   <span class="keywordtype">void</span> infoMessage( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp; msg );
<a name="l00511"></a>00511 
<a name="l00517"></a>00517   <span class="keywordtype">void</span> percent( <span class="keywordtype">int</span> percent );
<a name="l00518"></a>00518 
<a name="l00523"></a>00523   <span class="keywordtype">void</span> totalSize( <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> size );
<a name="l00524"></a>00524 
<a name="l00529"></a>00529   <span class="keywordtype">void</span> processedSize( <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> size );
<a name="l00530"></a>00530 
<a name="l00535"></a>00535   <span class="keywordtype">void</span> speed( <span class="keywordtype">int</span> bytes_per_second );
<a name="l00536"></a>00536 
<a name="l00537"></a>00537 <span class="keyword">protected</span>:
<a name="l00538"></a>00538   <span class="keyword">enum</span> Changes {
<a name="l00539"></a>00539     NONE=0, NAME_FILTER=1, MIME_FILTER=2, DOT_FILES=4, DIR_ONLY_MODE=8
<a name="l00540"></a>00540   };
<a name="l00541"></a>00541 
<a name="l00554"></a>00554   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matchesFilter( <span class="keyword">const</span> <a class="code" href="classKFileItem.html" title="A KFileItem is a generic class to handle a file, local or remote.">KFileItem</a> * ) <span class="keyword">const</span>;
<a name="l00555"></a>00555 
<a name="l00568"></a>00568   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matchesMimeFilter( <span class="keyword">const</span> <a class="code" href="classKFileItem.html" title="A KFileItem is a generic class to handle a file, local or remote.">KFileItem</a> * ) <span class="keyword">const</span>;
<a name="l00569"></a>00569 
<a name="l00577"></a>00577   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> doNameFilter( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp; name, <span class="keyword">const</span> <a class="codeRef" href="qptrlist.html">QPtrList&lt;QRegExp&gt;</a>&amp; filters ) <span class="keyword">const</span>;
<a name="l00578"></a>00578 
<a name="l00586"></a>00586   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> doMimeFilter( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp; mime, <span class="keyword">const</span> <a class="codeRef" href="qstringlist.html">QStringList</a>&amp; filters ) <span class="keyword">const</span>;
<a name="l00587"></a>00587 
<a name="l00591"></a>00591   <span class="keywordtype">bool</span> doMimeExcludeFilter( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp; mimeExclude, <span class="keyword">const</span> <a class="codeRef" href="qstringlist.html">QStringList</a>&amp; filters ) <span class="keyword">const</span>;
<a name="l00592"></a>00592 
<a name="l00598"></a>00598   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> validURL( <span class="keyword">const</span> KURL&amp; ) <span class="keyword">const</span>;
<a name="l00599"></a>00599 
<a name="l00601"></a>00601   <span class="keyword">virtual</span> <span class="keywordtype">void</span> handleError( <a class="code" href="classKIO_1_1Job.html" title="The base class for all jobs.">KIO::Job</a> * );
<a name="l00602"></a>00602 
<a name="l00603"></a>00603 <span class="keyword">protected</span>:
<a name="l00604"></a>00604   <span class="keyword">virtual</span> <span class="keywordtype">void</span> virtual_hook( <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">void</span> *data );
<a name="l00605"></a>00605 
<a name="l00606"></a>00606 <span class="keyword">private</span> slots:
<a name="l00607"></a>00607   <span class="keywordtype">void</span> slotInfoMessage( <a class="code" href="classKIO_1_1Job.html" title="The base class for all jobs.">KIO::Job</a> *, <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>&amp; );
<a name="l00608"></a>00608   <span class="keywordtype">void</span> slotPercent( <a class="code" href="classKIO_1_1Job.html" title="The base class for all jobs.">KIO::Job</a> *, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> );
<a name="l00609"></a>00609   <span class="keywordtype">void</span> slotTotalSize( <a class="code" href="classKIO_1_1Job.html" title="The base class for all jobs.">KIO::Job</a> *, <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> );
<a name="l00610"></a>00610   <span class="keywordtype">void</span> slotProcessedSize( <a class="code" href="classKIO_1_1Job.html" title="The base class for all jobs.">KIO::Job</a> *, <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> );
<a name="l00611"></a>00611   <span class="keywordtype">void</span> slotSpeed( <a class="code" href="classKIO_1_1Job.html" title="The base class for all jobs.">KIO::Job</a> *, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> );
<a name="l00612"></a>00612 
<a name="l00613"></a>00613 <span class="keyword">private</span>:
<a name="l00614"></a>00614   <span class="keywordtype">void</span> jobStarted( <a class="code" href="classKIO_1_1ListJob.html" title="A ListJob is allows you to get the get the content of a directory.">KIO::ListJob</a> * );
<a name="l00615"></a>00615   <span class="keywordtype">void</span> connectJob( <a class="code" href="classKIO_1_1ListJob.html" title="A ListJob is allows you to get the get the content of a directory.">KIO::ListJob</a> * );
<a name="l00616"></a>00616   <span class="keywordtype">void</span> jobDone( <a class="code" href="classKIO_1_1ListJob.html" title="A ListJob is allows you to get the get the content of a directory.">KIO::ListJob</a> * );
<a name="l00617"></a>00617 
<a name="l00618"></a>00618   uint numJobs();
<a name="l00619"></a>00619 
<a name="l00620"></a>00620 <span class="keyword">private</span>:
<a name="l00621"></a>00621   <span class="keyword">virtual</span> <span class="keywordtype">void</span> addNewItem( <span class="keyword">const</span> <a class="code" href="classKFileItem.html" title="A KFileItem is a generic class to handle a file, local or remote.">KFileItem</a> *item );
<a name="l00622"></a>00622   <span class="keyword">virtual</span> <span class="keywordtype">void</span> addNewItems( <span class="keyword">const</span> <a class="codeRef" href="qptrlist.html">KFileItemList</a>&amp; items );
<a name="l00623"></a>00623   <span class="comment">/*virtual*/</span> <span class="keywordtype">void</span> aboutToRefreshItem( <span class="keyword">const</span> <a class="code" href="classKFileItem.html" title="A KFileItem is a generic class to handle a file, local or remote.">KFileItem</a> *item );  <span class="comment">// TODO: KDE 4.0 make virtual</span>
<a name="l00624"></a>00624   <span class="keyword">virtual</span> <span class="keywordtype">void</span> addRefreshItem( <span class="keyword">const</span> <a class="code" href="classKFileItem.html" title="A KFileItem is a generic class to handle a file, local or remote.">KFileItem</a> *item );
<a name="l00625"></a>00625   <span class="keyword">virtual</span> <span class="keywordtype">void</span> emitItems();
<a name="l00626"></a>00626   <span class="keyword">virtual</span> <span class="keywordtype">void</span> emitDeleteItem( <a class="code" href="classKFileItem.html" title="A KFileItem is a generic class to handle a file, local or remote.">KFileItem</a> *item );
<a name="l00627"></a>00627 
<a name="l00628"></a>00628   KDirListerPrivate *d;
<a name="l00629"></a>00629 };
<a name="l00630"></a>00630 
<a name="l00631"></a>00631 <span class="preprocessor">#endif</span>
<a name="l00632"></a>00632 <span class="preprocessor"></span>
</pre></div></div>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kio/kio</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="modules.html">Modules</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classKACL.html">kacl</option>,  <option value="classKAr.html">kar</option>,  <option value="classKArchive.html">karchive</option>,  <option value="classKArchiveDirectory.html">karchivedirectory</option>,  <option value="classKArchiveEntry.html">karchiveentry</option>,  <option value="classKArchiveFile.html">karchivefile</option>,  <option value="classKAutoMount.html">kautomount</option>,  <option value="classKAutoUnmount.html">kautounmount</option>,  <option value="classKDataTool.html">kdatatool</option>,  <option value="classKDataToolAction.html">kdatatoolaction</option>,  <option value="classKDataToolInfo.html">kdatatoolinfo</option>,  <option value="classKDCOPServiceStarter.html">kdcopservicestarter</option>,  <option value="classKDEDesktopMimeType.html">kdedesktopmimetype</option>,  <option value="classKDirLister.html">kdirlister</option>,  <option value="classKDirNotify.html">kdirnotify</option>,  <option value="classKDirWatch.html">kdirwatch</option>,  <option value="classKEMailSettings.html">kemailsettings</option>,  <option value="classKExecMimeType.html">kexecmimetype</option>,  <option value="classKFileFilter.html">kfilefilter</option>,  <option value="classKFileItem.html">kfileitem</option>,  <option value="classKFileMetaInfo.html">kfilemetainfo</option>,  <option value="classKFileMetaInfoGroup.html">kfilemetainfogroup</option>,  <option value="classKFileMetaInfoItem.html">kfilemetainfoitem</option>,  <option value="classKFileMimeTypeInfo.html">kfilemimetypeinfo</option>,  <option value="classKFileMimeTypeInfo_1_1GroupInfo.html">kfilemimetypeinfo::groupinfo</option>,  <option value="classKFileMimeTypeInfo_1_1ItemInfo.html">kfilemimetypeinfo::iteminfo</option>,  <option value="classKFilePlugin.html">kfileplugin</option>,  <option value="classKFileShare.html">kfileshare</option>,  <option value="classKFilterBase.html">kfilterbase</option>,  <option value="classKFilterDev.html">kfilterdev</option>,  <option value="classKFolderType.html">kfoldertype</option>,  <option value="classKImageIO.html">kimageio</option>,  <option value="classKIO_1_1AuthInfo.html">kio::authinfo</option>,  <option value="classKIO_1_1ChmodJob.html">kio::chmodjob</option>,  <option value="classKIO_1_1Connection.html">kio::connection</option>,  <option value="classKIO_1_1CopyJob.html">kio::copyjob</option>,  <option value="classKIO_1_1DataProtocol.html">kio::dataprotocol</option>,  <option value="classKIO_1_1DataSlave.html">kio::dataslave</option>,  <option value="classKIO_1_1DavJob.html">kio::davjob</option>,  <option value="classKIO_1_1DeleteJob.html">kio::deletejob</option>,  <option value="classKIO_1_1FileCopyJob.html">kio::filecopyjob</option>,  <option value="classKIO_1_1ForwardingSlaveBase.html">kio::forwardingslavebase</option>,  <option value="classKIO_1_1Job.html">kio::job</option>,  <option value="classKIO_1_1ListJob.html">kio::listjob</option>,  <option value="classKIO_1_1MetaData.html">kio::metadata</option>,  <option value="classKIO_1_1MetaInfoJob.html">kio::metainfojob</option>,  <option value="classKIO_1_1MimetypeJob.html">kio::mimetypejob</option>,  <option value="classKIO_1_1MkdirJob.html">kio::mkdirjob</option>,  <option value="classKIO_1_1MultiGetJob.html">kio::multigetjob</option>,  <option value="classKIO_1_1NetAccess.html">kio::netaccess</option>,  <option value="classKIO_1_1NetRC.html">kio::netrc</option>,  <option value="classKIO_1_1PasswordDialog.html">kio::passworddialog</option>,  <option value="classKIO_1_1PreviewJob.html">kio::previewjob</option>,  <option value="classKIO_1_1ProgressBase.html">kio::progressbase</option>,  <option value="classKIO_1_1RenameDlg.html">kio::renamedlg</option>,  <option value="classKIO_1_1Scheduler.html">kio::scheduler</option>,  <option value="classKIO_1_1SimpleJob.html">kio::simplejob</option>,  <option value="classKIO_1_1Slave.html">kio::slave</option>,  <option value="classKIO_1_1SlaveBase.html">kio::slavebase</option>,  <option value="classKIO_1_1SlaveConfig.html">kio::slaveconfig</option>,  <option value="classKIO_1_1SlaveInterface.html">kio::slaveinterface</option>,  <option value="classKIO_1_1StatJob.html">kio::statjob</option>,  <option value="classKIO_1_1StatusbarProgress.html">kio::statusbarprogress</option>,  <option value="classKIO_1_1StoredTransferJob.html">kio::storedtransferjob</option>,  <option value="classKIO_1_1TCPSlaveBase.html">kio::tcpslavebase</option>,  <option value="classKIO_1_1TransferJob.html">kio::transferjob</option>,  <option value="classKLimitedIODevice.html">klimitediodevice</option>,  <option value="classKMimeMagic.html">kmimemagic</option>,  <option value="classKMimeMagicResult.html">kmimemagicresult</option>,  <option value="classKMimeType.html">kmimetype</option>,  <option value="classKMimeTypeChooser.html">kmimetypechooser</option>,  <option value="classKMimeTypeChooserDialog.html">kmimetypechooserdialog</option>,  <option value="classKMimeTypeResolver.html">kmimetyperesolver</option>,  <option value="classKNFSShare.html">knfsshare</option>,  <option value="classKOCRDialog.html">kocrdialog</option>,  <option value="classKOCRDialogFactory.html">kocrdialogfactory</option>,  <option value="classKOpenWithHandler.html">kopenwithhandler</option>,  <option value="classKProtocolInfo.html">kprotocolinfo</option>,  <option value="classKProtocolManager.html">kprotocolmanager</option>,  <option value="classKRemoteEncoding.html">kremoteencoding</option>,  <option value="classKRun.html">krun</option>,  <option value="classKSambaShare.html">ksambashare</option>,  <option value="classKScanDialog.html">kscandialog</option>,  <option value="classKScanDialogFactory.html">kscandialogfactory</option>,  <option value="classKService.html">kservice</option>,  <option value="classKServiceGroup.html">kservicegroup</option>,  <option value="classKServiceOffer.html">kserviceoffer</option>,  <option value="classKServiceType.html">kservicetype</option>,  <option value="classKServiceTypeProfile.html">kservicetypeprofile</option>,  <option value="classKShellCompletion.html">kshellcompletion</option>,  <option value="classKShred.html">kshred</option>,  <option value="classKSimpleFileFilter.html">ksimplefilefilter</option>,  <option value="classKTar.html">ktar</option>,  <option value="classKTrader.html">ktrader</option>,  <option value="classKURIFilter.html">kurifilter</option>,  <option value="classKURIFilterData.html">kurifilterdata</option>,  <option value="classKURIFilterPlugin.html">kurifilterplugin</option>,  <option value="classKURIFilterPluginList.html">kurifilterpluginlist</option>,  <option value="classKURLCompletion.html">kurlcompletion</option>,  <option value="classKURLPixmapProvider.html">kurlpixmapprovider</option>,  <option value="classKZip.html">kzip</option>,  <option value="classObserver.html">observer</option>,  <option value="classRenameDlgPlugin.html">renamedlgplugin</option>,  <option value="classThumbCreator.html">thumbcreator</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../../arts/html/index.html">arts</a></li><li><a href="../../../dcop/html/index.html">dcop</a></li><li><a href="../../../dnssd/html/index.html">dnssd</a></li><li><a href="../../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../../kabc/html/index.html">kabc</a></li><li><a href="../../../kate/html/index.html">kate</a></li><li><a href="../../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../../kdecore/html/index.html">kdecore</a></li><li><a href="../../../kded/html/index.html">kded</a></li><li><a href="../../../kdefx/html/index.html">kdefx</a></li><li><a href="../../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../../kdesu/html/index.html">kdesu</a></li><li><a href="../../../kdeui/html/index.html">kdeui</a></li><li><a href="../../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../../khtml/html/index.html">khtml</a></li><li><a href="../../../kimgio/html/index.html">kimgio</a></li><li><a href="../../../kinit/html/index.html">kinit</a></li><li><a href="../../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../../kioslave/http/html/index.html">http</a></li><li><a href="../../../kjs/html/index.html">kjs</a></li><li><a href="../../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../../kparts/html/index.html">kparts</a></li><li><a href="../../../kresources/html/index.html">kresources</a></li><li><a href="../../../kspell2/html/index.html">kspell2</a></li><li><a href="../../../kunittest/html/index.html">kunittest</a></li><li><a href="../../../kutils/html/index.html">kutils</a></li><li><a href="../../../kwallet/html/index.html">kwallet</a></li><li><a href="../../../libkmid/html/index.html">libkmid</a></li><li><a href="../../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>