<?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: KFileIconView 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.4.4 --> <h1>KFileIconView Class Reference</h1><!-- doxytag: class="KFileIconView" --><!-- doxytag: inherits="KIconView,KFileView" --><code>#include <<a class="el" href="kfileiconview_8h-source.html">kfileiconview.h</a>></code> <p> <p>Inheritance diagram for KFileIconView: <p><center><img src="classKFileIconView.png" usemap="#KFileIconView_map" border="0" alt=""></center> <map name="KFileIconView_map"> <area href="classKFileView.html" alt="KFileView" shape="rect" coords="0,0,93,24"> </map> <a href="classKFileIconView-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> An icon-view capable of showing KFileItem's. <p> Used in the filedialog for example. Most of the documentation is in <a class="el" href="classKFileView.html">KFileView</a> class.<p> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKDirOperator.html">KDirOperator</a> <p> <a class="el" href="classKCombiView.html">KCombiView</a> <p> <a class="el" href="classKFileDetailView.html">KFileDetailView</a></dd></dl> <p> <p> Definition at line <a class="el" href="kfileiconview_8h-source.html#l00081">81</a> of file <a class="el" href="kfileiconview_8h-source.html">kfileiconview.h</a>.<table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Slots</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#i0">showPreviews</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="i1"></a><!-- doxytag: member="KFileIconView::zoomIn" ref="i1" args="()" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#i1">zoomIn</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="i2"></a><!-- doxytag: member="KFileIconView::zoomOut" ref="i2" args="()" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#i2">zoomOut</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#i3">arrangeItemsInGrid</a> (bool updated=true)</td></tr> <tr><td colspan="2"><br><h2>Signals</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#l0">dropped</a> (<a class="elRef" doxygen="qt.tag:" href="qdropevent.html">QDropEvent</a> *event, KFileItem *fileItem)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#l1">dropped</a> (<a class="elRef" doxygen="qt.tag:" href="qdropevent.html">QDropEvent</a> *event, const KURL::List &urls, const KURL &url)</td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0"></a><!-- doxytag: member="KFileIconView::KFileIconView" ref="a0" args="(QWidget *parent, const char *name)" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a0">KFileIconView</a> (<a class="elRef" doxygen="qt.tag:" href="qwidget.html">QWidget</a> *parent, const char *name)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1"></a><!-- doxytag: member="KFileIconView::~KFileIconView" ref="a1" args="()" --> virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a1">~KFileIconView</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="elRef" doxygen="qt.tag:" href="qwidget.html">QWidget</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a2">widget</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a3">clearView</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4"></a><!-- doxytag: member="KFileIconView::setAutoUpdate" ref="a4" args="(bool)" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a4">setAutoUpdate</a> (bool)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a5">updateView</a> (bool)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6"></a><!-- doxytag: member="KFileIconView::updateView" ref="a6" args="(const KFileItem *)" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a6">updateView</a> (const KFileItem *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a7">removeItem</a> (const KFileItem *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a8">listingCompleted</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a9">insertItem</a> (KFileItem *i)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a10"></a><!-- doxytag: member="KFileIconView::setSelectionMode" ref="a10" args="(KFile::SelectionMode sm)" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a10">setSelectionMode</a> (<a class="el" href="classKFile.html#w19">KFile::SelectionMode</a> sm)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a11">setSelected</a> (const KFileItem *, bool)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a12">isSelected</a> (const KFileItem *i) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a13">clearSelection</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a14">selectAll</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a15">invertSelection</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a16">setCurrentItem</a> (const KFileItem *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual KFileItem * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a17">currentFileItem</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a18"></a><!-- doxytag: member="KFileIconView::firstFileItem" ref="a18" args="() const " --> virtual KFileItem * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a18">firstFileItem</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a19"></a><!-- doxytag: member="KFileIconView::nextItem" ref="a19" args="(const KFileItem *) const " --> virtual KFileItem * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a19">nextItem</a> (const KFileItem *) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a20"></a><!-- doxytag: member="KFileIconView::prevItem" ref="a20" args="(const KFileItem *) const " --> virtual KFileItem * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a20">prevItem</a> (const KFileItem *) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a21">setIconSize</a> (int size)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a22">setPreviewSize</a> (int size)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a23">setIgnoreMaximumSize</a> (bool ignoreSize=true)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a24">iconSize</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a25">ensureItemVisible</a> (const KFileItem *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a26">setSorting</a> (QDir::SortSpec sort)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a27"></a><!-- doxytag: member="KFileIconView::readConfig" ref="a27" args="(KConfig *, const QString &group=QString::null)" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a27">readConfig</a> (KConfig *, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &group=QString::null)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a28"></a><!-- doxytag: member="KFileIconView::writeConfig" ref="a28" args="(KConfig *, const QString &group=QString::null)" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a28">writeConfig</a> (KConfig *, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &group=QString::null)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a29"></a><!-- doxytag: member="KFileIconView::mimeTypeDeterminationFinished" ref="a29" args="()" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a29">mimeTypeDeterminationFinished</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a30"></a><!-- doxytag: member="KFileIconView::determineIcon" ref="a30" args="(KFileIconViewItem *item)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a30">determineIcon</a> (<a class="el" href="classKFileIconViewItem.html">KFileIconViewItem</a> *item)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a31"></a><!-- doxytag: member="KFileIconView::scrollWidget" ref="a31" args="() const " --> <a class="elRef" doxygen="qt.tag:" href="qscrollview.html">QScrollView</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a31">scrollWidget</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a32"></a><!-- doxytag: member="KFileIconView::setAcceptDrops" ref="a32" args="(bool b)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#a32">setAcceptDrops</a> (bool b)</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#b0">keyPressEvent</a> (<a class="elRef" doxygen="qt.tag:" href="qkeyevent.html">QKeyEvent</a> *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#b1">hideEvent</a> (<a class="elRef" doxygen="qt.tag:" href="qhideevent.html">QHideEvent</a> *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b2"></a><!-- doxytag: member="KFileIconView::showEvent" ref="b2" args="(QShowEvent *)" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#b2">showEvent</a> (<a class="elRef" doxygen="qt.tag:" href="qshowevent.html">QShowEvent</a> *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b3"></a><!-- doxytag: member="KFileIconView::eventFilter" ref="b3" args="(QObject *o, QEvent *e)" --> virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#b3">eventFilter</a> (<a class="elRef" doxygen="qt.tag:" href="qobject.html">QObject</a> *o, <a class="elRef" doxygen="qt.tag:" href="qevent.html">QEvent</a> *e)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4"></a><!-- doxytag: member="KFileIconView::dragObject" ref="b4" args="()" --> virtual <a class="elRef" doxygen="qt.tag:" href="qdragobject.html">QDragObject</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#b4">dragObject</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b5"></a><!-- doxytag: member="KFileIconView::contentsDragEnterEvent" ref="b5" args="(QDragEnterEvent *e)" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#b5">contentsDragEnterEvent</a> (<a class="elRef" doxygen="qt.tag:" href="qdragenterevent.html">QDragEnterEvent</a> *e)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b6"></a><!-- doxytag: member="KFileIconView::contentsDragMoveEvent" ref="b6" args="(QDragMoveEvent *e)" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#b6">contentsDragMoveEvent</a> (<a class="elRef" doxygen="qt.tag:" href="qdragmoveevent.html">QDragMoveEvent</a> *e)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b7"></a><!-- doxytag: member="KFileIconView::contentsDragLeaveEvent" ref="b7" args="(QDragLeaveEvent *e)" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#b7">contentsDragLeaveEvent</a> (<a class="elRef" doxygen="qt.tag:" href="qdragleaveevent.html">QDragLeaveEvent</a> *e)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b8"></a><!-- doxytag: member="KFileIconView::contentsDropEvent" ref="b8" args="(QDropEvent *ev)" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#b8">contentsDropEvent</a> (<a class="elRef" doxygen="qt.tag:" href="qdropevent.html">QDropEvent</a> *ev)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b9"></a><!-- doxytag: member="KFileIconView::acceptDrag" ref="b9" args="(QDropEvent *e) const " --> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#b9">acceptDrag</a> (<a class="elRef" doxygen="qt.tag:" href="qdropevent.html">QDropEvent</a> *e) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b10"></a><!-- doxytag: member="KFileIconView::virtual_hook" ref="b10" args="(int id, void *data)" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileIconView.html#b10">virtual_hook</a> (int id, void *data)</td></tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="i3"></a><!-- doxytag: member="KFileIconView::arrangeItemsInGrid" ref="i3" args="(bool updated=true)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::arrangeItemsInGrid </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>updated</em> = <code>true</code> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual, slot]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Reimplemented for performance reasons. <p> <dl compact><dt><b>Since:</b></dt><dd>3.1</dd></dl> <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00791">791</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a13"></a><!-- doxytag: member="KFileIconView::clearSelection" ref="a13" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::clearSelection </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Clears any selection, unhighlights everything. <p> Must be implemented by the view. <p> Implements <a class="el" href="classKFileView.html#a30">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00317">317</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a3"></a><!-- doxytag: member="KFileIconView::clearView" ref="a3" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::clearView </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> pure virtual function, that should be implemented to clear the view. <p> At this moment the list is already empty <p> Implements <a class="el" href="classKFileView.html#a28">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00327">327</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a17"></a><!-- doxytag: member="KFileIconView::currentFileItem" ref="a17" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">KFileItem * KFileIconView::currentFileItem </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><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#a7">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00381">381</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="l1"></a><!-- doxytag: member="KFileIconView::dropped" ref="l1" args="(QDropEvent *event, const KURL::List &urls, const KURL &url)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::dropped </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qdropevent.html">QDropEvent</a> * </td> <td class="mdname" nowrap> <em>event</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const KURL::List & </td> <td class="mdname" nowrap> <em>urls</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const KURL & </td> <td class="mdname" nowrap> <em>url</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [signal]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> The user dropped the URLs <code>urls</code>. <p> <code>url</code> points to the item dropped on or can be empty if the user dropped on empty space. <dl compact><dt><b>Since:</b></dt><dd>3.2</dd></dl> </td> </tr> </table> <a class="anchor" name="l0"></a><!-- doxytag: member="KFileIconView::dropped" ref="l0" args="(QDropEvent *event, KFileItem *fileItem)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::dropped </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qdropevent.html">QDropEvent</a> * </td> <td class="mdname" nowrap> <em>event</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>KFileItem * </td> <td class="mdname" nowrap> <em>fileItem</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [signal]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> The user dropped something. <p> <code>fileItem</code> points to the item dropped on or can be 0 if the user dropped on empty space. <dl compact><dt><b>Since:</b></dt><dd>3.2</dd></dl> </td> </tr> </table> <a class="anchor" name="a25"></a><!-- doxytag: member="KFileIconView::ensureItemVisible" ref="a25" args="(const KFileItem *)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::ensureItemVisible </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const KFileItem * </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> pure virtual function, that should be implemented to make item i visible, i.e. <p> by scrolling the view appropriately. <p> Implements <a class="el" href="classKFileView.html#a29">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00508">508</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="b1"></a><!-- doxytag: member="KFileIconView::hideEvent" ref="b1" args="(QHideEvent *)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::hideEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qhideevent.html">QHideEvent</a> * </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Reimplemented to remove an eventual tooltip. <p> <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00285">285</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a24"></a><!-- doxytag: member="KFileIconView::iconSize" ref="a24" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int KFileIconView::iconSize </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>the current size used for icons.</dd></dl> <p> Definition at line <a class="el" href="kfileiconview_8h-source.html#l00136">136</a> of file <a class="el" href="kfileiconview_8h-source.html">kfileiconview.h</a>. </td> </tr> </table> <a class="anchor" name="a9"></a><!-- doxytag: member="KFileIconView::insertItem" ref="a9" args="(KFileItem *i)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::insertItem </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">KFileItem * </td> <td class="mdname1" valign="top" nowrap> <em>i</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> The derived view must implement this function to add the file in the widget. <p> Make sure to call this implementation, i.e. KFileView::insertItem( i ); <p> Reimplemented from <a class="el" href="classKFileView.html#a27">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00335">335</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a15"></a><!-- doxytag: member="KFileIconView::invertSelection" ref="a15" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::invertSelection </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Inverts the current selection, i.e. <p> selects all items, that were up to now not selected and deselects the other. <p> Reimplemented from <a class="el" href="classKFileView.html#a32">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00322">322</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a12"></a><!-- doxytag: member="KFileIconView::isSelected" ref="a12" args="(const KFileItem *i) const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool KFileIconView::isSelected </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const KFileItem * </td> <td class="mdname1" valign="top" nowrap> <em>i</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><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#a34">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00429">429</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="b0"></a><!-- doxytag: member="KFileIconView::keyPressEvent" ref="b0" args="(QKeyEvent *)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::keyPressEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qkeyevent.html">QKeyEvent</a> * </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Reimplemented to not let <a class="elRef" doxygen="qt.tag:" href="qiconview.html">QIconView</a> eat return-key events. <p> <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00291">291</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a8"></a><!-- doxytag: member="KFileIconView::listingCompleted" ref="a8" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::listingCompleted </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> This hook is called when all items of the currently listed directory are listed and inserted into the view, i.e. <p> there won't come any new items anymore. <p> Reimplemented from <a class="el" href="classKFileView.html#a12">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00717">717</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a7"></a><!-- doxytag: member="KFileIconView::removeItem" ref="a7" args="(const KFileItem *)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::removeItem </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const KFileItem * </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Removes an item from the list; has to be implemented by the view. <p> Call KFileView::removeItem( item ) after removing it. <p> Reimplemented from <a class="el" href="classKFileView.html#a11">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00466">466</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a14"></a><!-- doxytag: member="KFileIconView::selectAll" ref="a14" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::selectAll </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Selects all items. <p> You may want to override this, if you can implement it more efficiently than calling <a class="el" href="classKFileIconView.html#a11">setSelected()</a> with every item. This works only in Multiselection mode of course. <p> Reimplemented from <a class="el" href="classKFileView.html#a31">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00308">308</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a16"></a><!-- doxytag: member="KFileIconView::setCurrentItem" ref="a16" args="(const KFileItem *)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::setCurrentItem </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const KFileItem * </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Reimplement this to set <code>item</code> the current item in the view, e.g. <p> the item having focus. <p> Implements <a class="el" href="classKFileView.html#a6">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00374">374</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a21"></a><!-- doxytag: member="KFileIconView::setIconSize" ref="a21" args="(int size)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::setIconSize </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>size</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Sets the size of the icons to show. <p> Defaults to KIcon::SizeSmall. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00481">481</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a23"></a><!-- doxytag: member="KFileIconView::setIgnoreMaximumSize" ref="a23" args="(bool ignoreSize=true)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::setIgnoreMaximumSize </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>ignoreSize</em> = <code>true</code> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Disables the "Maximum file size" configuration option for previews. <p> Set this before calling <a class="el" href="classKFileIconView.html#i0">showPreviews()</a><p> <dl compact><dt><b>Since:</b></dt><dd>3.4</dd></dl> <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00497">497</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a22"></a><!-- doxytag: member="KFileIconView::setPreviewSize" ref="a22" args="(int size)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::setPreviewSize </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>size</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Sets the size of the previews. <p> Defaults to KIcon::SizeLarge. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00487">487</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a11"></a><!-- doxytag: member="KFileIconView::setSelected" ref="a11" args="(const KFileItem *, bool)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::setSelected </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const KFileItem * </td> <td class="mdname" nowrap>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Tells the view that it should highlight the item. <p> This function must be implemented by the view. <p> Implements <a class="el" href="classKFileView.html#a33">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00301">301</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a26"></a><!-- doxytag: member="KFileIconView::setSorting" ref="a26" args="(QDir::SortSpec sort)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::setSorting </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">QDir::SortSpec </td> <td class="mdname1" valign="top" nowrap> <em>sort</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Sets the sorting order of the view. <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" doxygen="qt.tag:" href="qiconview.html">QIconView</a> or <a class="elRef" doxygen="qt.tag:" href="qlistview.html">QListView</a> to sort.<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 compact><dt><b>See also:</b></dt><dd><a class="el" href="classKFileView.html#e0">sortingKey</a></dd></dl> <p> Reimplemented from <a class="el" href="classKFileView.html#a14">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00675">675</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="i0"></a><!-- doxytag: member="KFileIconView::showPreviews" ref="i0" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::showPreviews </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [slot]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Starts loading previews for all files shown and shows them. <p> Switches into 'large rows' mode, if that isn't the current mode yet.<p> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKFileIconView.html#a23">setIgnoreMaximumSize</a></dd></dl> <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00577">577</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a5"></a><!-- doxytag: member="KFileIconView::updateView" ref="a5" args="(bool)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KFileIconView::updateView </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> does a repaint of the view. <p> The default implementation calls <div class="fragment"><pre class="fragment"> <a class="code" href="classKFileIconView.html#a2">widget</a>()-><a class="codeRef" doxygen="qt.tag:" href="qwidget.html#repaint">repaint</a>(f) </pre></div> <p> Reimplemented from <a class="el" href="classKFileView.html#a9">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8cpp-source.html#l00435">435</a> of file <a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a>. </td> </tr> </table> <a class="anchor" name="a2"></a><!-- doxytag: member="KFileIconView::widget" ref="a2" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">virtual <a class="elRef" doxygen="qt.tag:" href="qwidget.html">QWidget</a>* KFileIconView::widget </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> a pure virtual function to get a <a class="elRef" doxygen="qt.tag:" href="qwidget.html">QWidget</a>, that can be added to other widgets. <p> This function is needed to make it possible for derived classes to derive from other widgets. <p> Implements <a class="el" href="classKFileView.html#a3">KFileView</a>. <p> Definition at line <a class="el" href="kfileiconview_8h-source.html#l00089">89</a> of file <a class="el" href="kfileiconview_8h-source.html">kfileiconview.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="kfileiconview_8h-source.html">kfileiconview.h</a><li><a class="el" href="kfileiconview_8cpp-source.html">kfileiconview.cpp</a></ul> </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="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="dirs.html">Directories</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="classKApplicationPropsPlugin.html">kapplicationpropsplugin</option>, <option value="classKBindingPropsPlugin.html">kbindingpropsplugin</option>, <option value="classKCombiView.html">kcombiview</option>, <option value="classKCustomMenuEditor.html">kcustommenueditor</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="classKEncodingFileDialog_1_1Result.html">kencodingfiledialog::result</option>, <option value="classKExecPropsPlugin.html">kexecpropsplugin</option>, <option value="classKFile.html">kfile</option>, <option value="classKFileBookmarkHandler.html">kfilebookmarkhandler</option>, <option value="classKFileDetailView.html">kfiledetailview</option>, <option value="classKFileDialog.html">kfiledialog</option>, <option value="classKFileFilterCombo.html">kfilefiltercombo</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="classKFileMetaPreview.html">kfilemetapreview</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="classKFileSpeedBar.html">kfilespeedbar</option>, <option value="classKFileTreeBranch.html">kfiletreebranch</option>, <option value="classKFileTreeView.html">kfiletreeview</option>, <option value="classKFileTreeViewItem.html">kfiletreeviewitem</option>, <option value="classKFileTreeViewToolTip.html">kfiletreeviewtooltip</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="classKNotify_1_1Application.html">knotify::application</option>, <option value="classKNotify_1_1ApplicationList.html">knotify::applicationlist</option>, <option value="classKNotify_1_1Event.html">knotify::event</option>, <option value="classKNotify_1_1KNotifyWidget.html">knotify::knotifywidget</option>, <option value="classKNotify_1_1ListViewItem.html">knotify::listviewitem</option>, <option value="classKNotifyDialog.html">knotifydialog</option>, <option value="classKNotifyWidgetBase.html">knotifywidgetbase</option>, <option value="classKOpenWithDlg.html">kopenwithdlg</option>, <option value="classKPreviewPropsPlugin.html">kpreviewpropsplugin</option>, <option value="classKPreviewWidgetBase.html">kpreviewwidgetbase</option>, <option value="classKPropertiesDesktopAdvBase.html">kpropertiesdesktopadvbase</option>, <option value="classKPropertiesDesktopBase.html">kpropertiesdesktopbase</option>, <option value="classKPropertiesDialog.html">kpropertiesdialog</option>, <option value="classKPropertiesMimetypeBase.html">kpropertiesmimetypebase</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> <a href="../../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li> <a href="../../../interfaces/kimproxy/library/html/index.html">library</a></li><li> <a href="../../../interfaces/kspeech/html/index.html">kspeech</a></li><li> <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> <a href="../../../kio/bookmarks/html/index.html">bookmarks</a></li><li> <a href="../../../kio/httpfilter/html/index.html">httpfilter</a></li><li> <a href="../../../kio/kfile/html/index.html">kfile</a></li><li> <a href="../../../kio/kio/html/index.html">kio</a></li><li> <a href="../../../kio/kioexec/html/index.html">kioexec</a></li><li> <a href="../../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li> <a href="../../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../../kioslave/html/index.html">kioslave</a></li><li> <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> <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="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">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>