Sophie

Sophie

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

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/kfile: KCombiView Class Reference (kio/kfile)</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=".">kfile</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>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-slots">Protected Slots</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">KCombiView Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KCombiView" --><!-- doxytag: inherits="QSplitter,KFileView" -->
<p>This view is designed to combine two KFileViews into one widget, to show directories on the left side and files on the right side.  
 <a href="classKCombiView.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="kcombiview_8h_source.html">kcombiview.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for KCombiView:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classKCombiView.png" usemap="#KCombiView_map" alt=""/>
  <map id="KCombiView_map" name="KCombiView_map">
<area href="qsplitter.html" alt="QSplitter" shape="rect" coords="0,0,83,24"/>
<area href="classKFileView.html" title="This class defines an interface to all file views." alt="KFileView" shape="rect" coords="93,0,176,24"/>
</map>
 </div></div>

<p><a href="classKCombiView-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a546bb5fd7f97c936e1adf4c13090b2e6"></a><!-- doxytag: member="KCombiView::KCombiView" ref="a546bb5fd7f97c936e1adf4c13090b2e6" args="(QWidget *parent, const char *name)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>KCombiView</b> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const char *name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a470b0c0e7f8591ffae4891fae40c044a">widget</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a4b7060528e43efbe844e1304de23d413">clearView</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a98931715aed363d6c6a2d6655f178635">updateView</a> (bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5922a838655c6f070df626d50c127b6"></a><!-- doxytag: member="KCombiView::updateView" ref="ac5922a838655c6f070df626d50c127b6" args="(const KFileItem *)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>updateView</b> (const KFileItem *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a987a1d9ebd883efc5146ef4448e70a7e">removeItem</a> (const KFileItem *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#ad153b886ec13216d341077625e582897">listingCompleted</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a1d4070cc5b631efb2a362d713e515b93">setRight</a> (<a class="el" href="classKFileView.html">KFileView</a> *view)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac55d886ec70f3e36252db70362b6ebc8"></a><!-- doxytag: member="KCombiView::setSelectionMode" ref="ac55d886ec70f3e36252db70362b6ebc8" args="(KFile::SelectionMode sm)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>setSelectionMode</b> (KFile::SelectionMode sm)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a3ba05446c0b489941a4373506763bb3f">setSelected</a> (const KFileItem *, bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a01721d9dc0dd9df905220750da55c04a">isSelected</a> (const KFileItem *) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a20fa32fd4d9baeb0d609ae986cf1915f">clearSelection</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a57df7329f101ef610b6f91e773caa348">selectAll</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#adcb11efe60c55f0d0f63e23cd94beeb2">invertSelection</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a1c3776a0ef4a57a5d32d28b1f27b5dec">setCurrentItem</a> (const KFileItem *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual KFileItem *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a7c8eaa96a0ba3215b8808d03d6f2f4b5">currentFileItem</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aca918ce2c166ce8ddaca0c2741399634"></a><!-- doxytag: member="KCombiView::firstFileItem" ref="aca918ce2c166ce8ddaca0c2741399634" args="() const " -->
virtual KFileItem *&#160;</td><td class="memItemRight" valign="bottom"><b>firstFileItem</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab5db726f91d1901d32063692e63bdd5c"></a><!-- doxytag: member="KCombiView::nextItem" ref="ab5db726f91d1901d32063692e63bdd5c" args="(const KFileItem *) const " -->
virtual KFileItem *&#160;</td><td class="memItemRight" valign="bottom"><b>nextItem</b> (const KFileItem *) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd0dad58748f31e513aa77acf3728819"></a><!-- doxytag: member="KCombiView::prevItem" ref="afd0dad58748f31e513aa77acf3728819" args="(const KFileItem *) const " -->
virtual KFileItem *&#160;</td><td class="memItemRight" valign="bottom"><b>prevItem</b> (const KFileItem *) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a781d3b153b3eb105c8fa0ca11c3e54a9">insertItem</a> (KFileItem *i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a9266cc7f4e7a52eca5c0e162d098d87b">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a0142f88f93eab395b709dc40d322efb9">setSorting</a> (QDir::SortSpec sort)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35cc261fa0cbbca0247a7ca1c4b804ee"></a><!-- doxytag: member="KCombiView::readConfig" ref="a35cc261fa0cbbca0247a7ca1c4b804ee" args="(KConfig *, const QString &amp;group=QString::null)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>readConfig</b> (KConfig *, const <a class="elRef" href="qstring.html">QString</a> &amp;group=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe4c486b376064a63d2373eb9e187d6d"></a><!-- doxytag: member="KCombiView::writeConfig" ref="abe4c486b376064a63d2373eb9e187d6d" args="(KConfig *, const QString &amp;group=QString::null)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>writeConfig</b> (KConfig *, const <a class="elRef" href="qstring.html">QString</a> &amp;group=QString::null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#ad907c5cb7e5ab9d14eab648abcdc00a5">ensureItemVisible</a> (const KFileItem *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual KActionCollection *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKCombiView.html#a993496c56e094c79ac592ef9a35e18a1">actionCollection</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9cd7d9236e11173818533ff2766266fe"></a><!-- doxytag: member="KCombiView::setAcceptDrops" ref="a9cd7d9236e11173818533ff2766266fe" args="(bool b)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>setAcceptDrops</b> (bool b)</td></tr>
<tr><td colspan="2"><h2><a name="pro-slots"></a>
Protected Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afc1e1165770d73c0df21821814e5d51f"></a><!-- doxytag: member="KCombiView::slotSortingChanged" ref="afc1e1165770d73c0df21821814e5d51f" args="(QDir::SortSpec)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotSortingChanged</b> (QDir::SortSpec)</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acb2cf8d69c28d1d914f061ca08dd89ba"></a><!-- doxytag: member="KCombiView::eventFilter" ref="acb2cf8d69c28d1d914f061ca08dd89ba" args="(QObject *o, QEvent *e)" -->
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>eventFilter</b> (<a class="elRef" href="qobject.html">QObject</a> *o, <a class="elRef" href="qevent.html">QEvent</a> *e)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acd48f19a1077217c0f1165b112afc978"></a><!-- doxytag: member="KCombiView::setDropOptions_impl" ref="acd48f19a1077217c0f1165b112afc978" args="(int options)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setDropOptions_impl</b> (int options)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2502f9c52da61d5777fda903c98f2fc"></a><!-- doxytag: member="KCombiView::virtual_hook" ref="aa2502f9c52da61d5777fda903c98f2fc" args="(int id, void *data)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>virtual_hook</b> (int id, void *data)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a275fca389b6940237d9d73a10a2ed1ba"></a><!-- doxytag: member="KCombiView::left" ref="a275fca389b6940237d9d73a10a2ed1ba" args="" -->
<a class="el" href="classKFileIconView.html">KFileIconView</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>left</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab38b421ca0ad51ce3dbe504ccf89d5ae"></a><!-- doxytag: member="KCombiView::right" ref="ab38b421ca0ad51ce3dbe504ccf89d5ae" args="" -->
<a class="el" href="classKFileView.html">KFileView</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>right</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This view is designed to combine two KFileViews into one widget, to show directories on the left side and files on the right side. </p>
<p>Methods like <a class="el" href="classKFileView.html#a5ed59c1bfc6d18b0f6f05c333353dab2">selectedItems()</a> to query status _only_ work on the right side, i.e. on the files.</p>
<p>After creating the <a class="el" href="classKCombiView.html" title="This view is designed to combine two KFileViews into one widget, to show directories on the left side...">KCombiView</a>, you need to supply the view shown in the right, (see <a class="el" href="classKCombiView.html#a1d4070cc5b631efb2a362d713e515b93" title="Sets the view to be shown in the right.">setRight()</a>). Available <a class="el" href="classKFileView.html" title="This class defines an interface to all file views.">KFileView</a> implementations are <a class="el" href="classKFileIconView.html" title="An icon-view capable of showing KFileItem&#39;s.">KFileIconView</a> and <a class="el" href="classKFileDetailView.html" title="A list-view capable of showing KFileItem&#39;.">KFileDetailView</a>.</p>
<p>Most of the below methods are just implementations of the baseclass <a class="el" href="classKFileView.html" title="This class defines an interface to all file views.">KFileView</a>, so look there for documentation.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKFileView.html" title="This class defines an interface to all file views.">KFileView</a> </dd>
<dd>
<a class="el" href="classKFileIconView.html" title="An icon-view capable of showing KFileItem&#39;s.">KFileIconView</a> </dd>
<dd>
<a class="el" href="classKFileDetailView.html" title="A list-view capable of showing KFileItem&#39;.">KFileDetailView</a> </dd>
<dd>
<a class="el" href="classKDirOperator.html" title="This widget works as a network transparent filebrowser.">KDirOperator</a> </dd></dl>

<p>Definition at line <a class="el" href="kcombiview_8h_source.html#l00054">54</a> of file <a class="el" href="kcombiview_8h_source.html">kcombiview.h</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a993496c56e094c79ac592ef9a35e18a1"></a><!-- doxytag: member="KCombiView::actionCollection" ref="a993496c56e094c79ac592ef9a35e18a1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KActionCollection * KCombiView::actionCollection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the view-specific action-collection. Every view should add its actions here (if it has any) to make them available to e.g. the KDirOperator's popup-menu. </dd></dl>

<p>Reimplemented from <a class="el" href="classKFileView.html#a99e6d60e13d5c7a7e55069bc78c9cdc4">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00322">322</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9266cc7f4e7a52eca5c0e162d098d87b"></a><!-- doxytag: member="KCombiView::clear" ref="a9266cc7f4e7a52eca5c0e162d098d87b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clears the view and all item lists. </p>

<p>Reimplemented from <a class="el" href="classKFileView.html#ad57bf04c086bb1836aa6cc520e633024">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00147">147</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a20fa32fd4d9baeb0d609ae986cf1915f"></a><!-- doxytag: member="KCombiView::clearSelection" ref="a20fa32fd4d9baeb0d609ae986cf1915f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::clearSelection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clears any selection, unhighlights everything. </p>
<p>Must be implemented by the view. </p>

<p>Implements <a class="el" href="classKFileView.html#a0169239144438ec5e5f140f7a86671fc">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00155">155</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4b7060528e43efbe844e1304de23d413"></a><!-- doxytag: member="KCombiView::clearView" ref="a4b7060528e43efbe844e1304de23d413" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::clearView </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>pure virtual function, that should be implemented to clear the view. </p>
<p>At this moment the list is already empty </p>

<p>Implements <a class="el" href="classKFileView.html#afaa57af6126429aa86cd85b9776ffb08">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00111">111</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7c8eaa96a0ba3215b8808d03d6f2f4b5"></a><!-- doxytag: member="KCombiView::currentFileItem" ref="a7c8eaa96a0ba3215b8808d03d6f2f4b5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KFileItem * KCombiView::currentFileItem </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the "current" KFileItem, e.g. where the cursor is. Returns 0L when there is no current item (e.g. in an empty view). Subclasses have to implement this. </dd></dl>

<p>Implements <a class="el" href="classKFileView.html#a8cf89f905efe275df9a82d3a53bade58">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00206">206</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad907c5cb7e5ab9d14eab648abcdc00a5"></a><!-- doxytag: member="KCombiView::ensureItemVisible" ref="ad907c5cb7e5ab9d14eab648abcdc00a5" args="(const KFileItem *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::ensureItemVisible </td>
          <td>(</td>
          <td class="paramtype">const KFileItem *&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>pure virtual function, that should be implemented to make item i visible, i.e. </p>
<p>by scrolling the view appropriately. </p>

<p>Implements <a class="el" href="classKFileView.html#aafdaef218ffec44f8b66df39452e7b82">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00222">222</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a781d3b153b3eb105c8fa0ca11c3e54a9"></a><!-- doxytag: member="KCombiView::insertItem" ref="a781d3b153b3eb105c8fa0ca11c3e54a9" args="(KFileItem *i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::insertItem </td>
          <td>(</td>
          <td class="paramtype">KFileItem *&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The derived view must implement this function to add the file in the widget. </p>
<p>Make sure to call this implementation, i.e. KFileView::insertItem( i ); </p>

<p>Reimplemented from <a class="el" href="classKFileView.html#a10579affb6ac417e14d94fdf0b965851">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00087">87</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adcb11efe60c55f0d0f63e23cd94beeb2"></a><!-- doxytag: member="KCombiView::invertSelection" ref="adcb11efe60c55f0d0f63e23cd94beeb2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::invertSelection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Inverts the current selection, i.e. </p>
<p>selects all items, that were up to now not selected and deselects the other. </p>

<p>Reimplemented from <a class="el" href="classKFileView.html#afffdbef7c58468ceb2db74dc9e9da005">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00169">169</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a01721d9dc0dd9df905220750da55c04a"></a><!-- doxytag: member="KCombiView::isSelected" ref="a01721d9dc0dd9df905220750da55c04a" args="(const KFileItem *) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KCombiView::isSelected </td>
          <td>(</td>
          <td class="paramtype">const KFileItem *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>whether the given item is currently selected. Must be implemented by the view. </dd></dl>

<p>Implements <a class="el" href="classKFileView.html#afa23730f2a0f828b6ff4575510692cdc">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00176">176</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad153b886ec13216d341077625e582897"></a><!-- doxytag: member="KCombiView::listingCompleted" ref="ad153b886ec13216d341077625e582897" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::listingCompleted </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This hook is called when all items of the currently listed directory are listed and inserted into the view, i.e. </p>
<p>there won't come any new items anymore. </p>

<p>Reimplemented from <a class="el" href="classKFileView.html#a1b2881942e0f118a8c0dca545a1faa84">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00140">140</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a987a1d9ebd883efc5146ef4448e70a7e"></a><!-- doxytag: member="KCombiView::removeItem" ref="a987a1d9ebd883efc5146ef4448e70a7e" args="(const KFileItem *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::removeItem </td>
          <td>(</td>
          <td class="paramtype">const KFileItem *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes an item from the list; has to be implemented by the view. </p>
<p>Call KFileView::removeItem( item ) after removing it. </p>

<p>Reimplemented from <a class="el" href="classKFileView.html#aaa3a6c9ee8645ba61028f3dd86cab7e0">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00132">132</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a57df7329f101ef610b6f91e773caa348"></a><!-- doxytag: member="KCombiView::selectAll" ref="a57df7329f101ef610b6f91e773caa348" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::selectAll </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Selects all items. </p>
<p>You may want to override this, if you can implement it more efficiently than calling <a class="el" href="classKCombiView.html#a3ba05446c0b489941a4373506763bb3f" title="Tells the view that it should highlight the item.">setSelected()</a> with every item. This works only in Multiselection mode of course. </p>

<p>Reimplemented from <a class="el" href="classKFileView.html#ade383ac9c74aea6cb01e6674f820fb6e">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00162">162</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1c3776a0ef4a57a5d32d28b1f27b5dec"></a><!-- doxytag: member="KCombiView::setCurrentItem" ref="a1c3776a0ef4a57a5d32d28b1f27b5dec" args="(const KFileItem *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::setCurrentItem </td>
          <td>(</td>
          <td class="paramtype">const KFileItem *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplement this to set <code>item</code> the current item in the view, e.g. </p>
<p>the item having focus. </p>

<p>Implements <a class="el" href="classKFileView.html#a9f126f9b49a558a41861d2493d917aca">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00199">199</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1d4070cc5b631efb2a362d713e515b93"></a><!-- doxytag: member="KCombiView::setRight" ref="a1d4070cc5b631efb2a362d713e515b93" args="(KFileView *view)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::setRight </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKFileView.html">KFileView</a> *&#160;</td>
          <td class="paramname"><em>view</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the view to be shown in the right. </p>
<p>You need to call this before doing anything else with this widget. </p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00068">68</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3ba05446c0b489941a4373506763bb3f"></a><!-- doxytag: member="KCombiView::setSelected" ref="a3ba05446c0b489941a4373506763bb3f" args="(const KFileItem *, bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::setSelected </td>
          <td>(</td>
          <td class="paramtype">const KFileItem *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells the view that it should highlight the item. </p>
<p>This function must be implemented by the view. </p>

<p>Implements <a class="el" href="classKFileView.html#af1cf6ffa28a579e81d53f4195aa605d9">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00192">192</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0142f88f93eab395b709dc40d322efb9"></a><!-- doxytag: member="KCombiView::setSorting" ref="a0142f88f93eab395b709dc40d322efb9" args="(QDir::SortSpec sort)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::setSorting </td>
          <td>(</td>
          <td class="paramtype">QDir::SortSpec&#160;</td>
          <td class="paramname"><em>sort</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the sorting order of the view. </p>
<p>Default is QDir::Name | QDir::IgnoreCase | QDir::DirsFirst Override this in your subclass and sort accordingly (usually by setting the sorting-key for every item and telling <a class="elRef" href="qiconview.html">QIconView</a> or <a class="elRef" href="qlistview.html">QListView</a> to sort.</p>
<p>A view may choose to use a different sorting than QDir::Name, Time or Size. E.g. to sort by mimetype or any possible string. Set the sorting to QDir::Unsorted for that and do the rest internally.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKFileView.html#ab0c9a95b79786aa5c64a5f1ad9fdf89b" title="This method calculates a QString from the given parameters, that is suitable for sorting with e...">sortingKey</a> </dd></dl>

<p>Reimplemented from <a class="el" href="classKFileView.html#a414aded653fc3c9ccad51fc8a49b6150">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00101">101</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a98931715aed363d6c6a2d6655f178635"></a><!-- doxytag: member="KCombiView::updateView" ref="a98931715aed363d6c6a2d6655f178635" args="(bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KCombiView::updateView </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>does a repaint of the view. </p>
<p>The default implementation calls </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classKCombiView.html#a470b0c0e7f8591ffae4891fae40c044a" title="a pure virtual function to get a QWidget, that can be added to other widgets.">widget</a>()-&gt;<a class="codeRef" href="qwidget.html#repaint">repaint</a>(f)
</pre></div> 
<p>Reimplemented from <a class="el" href="classKFileView.html#a5f1dd7f78ce56195d567c000cd18ce8d">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8cpp_source.html#l00118">118</a> of file <a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a470b0c0e7f8591ffae4891fae40c044a"></a><!-- doxytag: member="KCombiView::widget" ref="a470b0c0e7f8591ffae4891fae40c044a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="elRef" href="qwidget.html">QWidget</a>* KCombiView::widget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>a pure virtual function to get a <a class="elRef" href="qwidget.html">QWidget</a>, that can be added to other widgets. </p>
<p>This function is needed to make it possible for derived classes to derive from other widgets. </p>

<p>Implements <a class="el" href="classKFileView.html#a0b5324a7ee0ee51fbd5dd5fd66099a90">KFileView</a>.</p>

<p>Definition at line <a class="el" href="kcombiview_8h_source.html#l00063">63</a> of file <a class="el" href="kcombiview_8h_source.html">kcombiview.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kcombiview_8h_source.html">kcombiview.h</a></li>
<li><a class="el" href="kcombiview_8cpp_source.html">kcombiview.cpp</a></li>
</ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kio/kfile</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</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="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="classKApplicationPropsPlugin.html">kapplicationpropsplugin</option>,  <option value="classKBindingPropsPlugin.html">kbindingpropsplugin</option>,  <option value="classKCombiView.html">kcombiview</option>,  <option value="classKDesktopPropsPlugin.html">kdesktoppropsplugin</option>,  <option value="classKDevicePropsPlugin.html">kdevicepropsplugin</option>,  <option value="classKDirOperator.html">kdiroperator</option>,  <option value="classKDirSelectDialog.html">kdirselectdialog</option>,  <option value="classKDirSize.html">kdirsize</option>,  <option value="classKDiskFreeSp.html">kdiskfreesp</option>,  <option value="classKEncodingFileDialog.html">kencodingfiledialog</option>,  <option value="classKExecPropsPlugin.html">kexecpropsplugin</option>,  <option value="classKFile.html">kfile</option>,  <option value="classKFileDetailView.html">kfiledetailview</option>,  <option value="classKFileDialog.html">kfiledialog</option>,  <option value="classKFileIconView.html">kfileiconview</option>,  <option value="classKFileIconViewItem.html">kfileiconviewitem</option>,  <option value="classKFileListViewItem.html">kfilelistviewitem</option>,  <option value="classKFileMetaInfoWidget.html">kfilemetainfowidget</option>,  <option value="classKFileMetaPropsPlugin.html">kfilemetapropsplugin</option>,  <option value="classKFileOpenWithHandler.html">kfileopenwithhandler</option>,  <option value="classKFilePermissionsPropsPlugin.html">kfilepermissionspropsplugin</option>,  <option value="classKFilePreview.html">kfilepreview</option>,  <option value="classKFilePropsPlugin.html">kfilepropsplugin</option>,  <option value="classKFileSharePropsPlugin.html">kfilesharepropsplugin</option>,  <option value="classKFileTreeBranch.html">kfiletreebranch</option>,  <option value="classKFileTreeView.html">kfiletreeview</option>,  <option value="classKFileTreeViewItem.html">kfiletreeviewitem</option>,  <option value="classKFileView.html">kfileview</option>,  <option value="classKFileViewSignaler.html">kfileviewsignaler</option>,  <option value="classKIconButton.html">kiconbutton</option>,  <option value="classKIconCanvas.html">kiconcanvas</option>,  <option value="classKIconDialog.html">kicondialog</option>,  <option value="classKImageFilePreview.html">kimagefilepreview</option>,  <option value="classKNotifyDialog.html">knotifydialog</option>,  <option value="classKOpenWithDlg.html">kopenwithdlg</option>,  <option value="classKPreviewPropsPlugin.html">kpreviewpropsplugin</option>,  <option value="classKPreviewWidgetBase.html">kpreviewwidgetbase</option>,  <option value="classKPropertiesDialog.html">kpropertiesdialog</option>,  <option value="classKPropsDlgPlugin.html">kpropsdlgplugin</option>,  <option value="classKRecentDirs.html">krecentdirs</option>,  <option value="classKRecentDocument.html">krecentdocument</option>,  <option value="classKURLBar.html">kurlbar</option>,  <option value="classKURLBarItem.html">kurlbaritem</option>,  <option value="classKURLBarItemDialog.html">kurlbaritemdialog</option>,  <option value="classKURLBarListBox.html">kurlbarlistbox</option>,  <option value="classKURLComboBox.html">kurlcombobox</option>,  <option value="classKURLComboRequester.html">kurlcomborequester</option>,  <option value="classKURLPropsPlugin.html">kurlpropsplugin</option>,  <option value="classKURLRequester.html">kurlrequester</option>,  <option value="classKURLRequesterDlg.html">kurlrequesterdlg</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>