<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> <head> <title>kio/kio: KFileItem Class Reference (kio/kio)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org" r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org" r (n 0 s 0 v 0 l 0))' /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="shortcut icon" href="../../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" /> </head> <body> <div id="nav_header_top" align="right"> <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a> <a href="../../.."><img id="nav_header_logo" alt="Home" align="left" src="../../../kde_gear_64.png" border="0" /></a> <span class="doNotDisplay">::</span> <div id="nav_header_title" align="left">KDE API Reference</div> </div> <div id="nav_header_bottom" align="right"> <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span> <div id="nav_header_bottom_right" style="text-align: left;"> / <a href="../../..">API Reference</a> / <a href="../../html/index.html">kio</a> / <a href=".">kio</a> </div> </div> <table id="main" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="menuheader" height="0"></td> <td id="contentcolumn" valign="top" rowspan="2" > <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;"> <a name="content"></a> <!-- Generated by Doxygen 1.4.7 --> <h1>KFileItem Class Reference</h1><!-- doxytag: class="KFileItem" --><code>#include <<a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>></code> <p> <a href="classKFileItem-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> A <a class="el" href="classKFileItem.html">KFileItem</a> is a generic class to handle a file, local or remote. <p> In particular, it makes it easier to handle the result of <a class="el" href="namespaceKIO.html#c36b0d77b04f9cba8ed32bb1355514ac">KIO::listDir</a> (UDSEntry isn't very friendly to use). It includes many file attributes such as mimetype, icon, text, mode, link... <p> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00041">41</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>.<table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c3d85dc1318b1fe9ded4c0dd52f1ac44d272732aac0ff6c95e4e8b7780bf3008"></a><!-- doxytag: member="KFileItem::Unknown" ref="c3d85dc1318b1fe9ded4c0dd52f1ac44d272732aac0ff6c95e4e8b7780bf3008" args="" --> </td><td class="memItemRight" valign="bottom"><b>Unknown</b> = (mode_t) - 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom">{ <b>Unknown</b> = (mode_t) - 1 }</td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#56106c566fa11a9f3ceae33407ac7710">KFileItem</a> (const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">KIO::UDSEntry</a> &_entry, const KURL &_url, bool _determineMimeTypeOnDemand=false, bool _urlIsDirectory=false)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#beb77f5976012616b24919241e9a4afc">KFileItem</a> (mode_t _mode, mode_t _permissions, const KURL &_url, bool _determineMimeTypeOnDemand=false)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#8c178dc51ab8b4177b924992c70946a4">KFileItem</a> (const KURL &url, const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &mimeType, mode_t mode)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#00c6f3d2af7c051717af236c48bcbf99">KFileItem</a> (const <a class="el" href="classKFileItem.html">KFileItem</a> &item)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#2c8b439cd4d86b1a68a51a3d6fdb4831">~KFileItem</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#fcd50458f3068076a1101c5b6a3b140a">refresh</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#c156df49d355c2d9b1039ace72fa25cd">refreshMimeType</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const KURL & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#04813dcf686795b8854034b0165ccdc0">url</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#62fe8d1866b48322b1f2cd1114d0c143">setURL</a> (const KURL &url)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#ffc9e408d0140daf4a87f56646a20627">setName</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &name)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">mode_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#3db815f0ee321b4b6095b3265f48ab34">permissions</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#1f9b474339d38a1c96424ed9f4c9bc39">permissionsString</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#7b7aa7baf5c1b4b4e4fd1716709bc489">hasExtendedACL</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKACL.html">KACL</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#8fb34b5708180e210f915caa925d801f">ACL</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKACL.html">KACL</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#b23718ce8eb1d9da21589480a61ff005">defaultACL</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">mode_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#f506df34a95e060e42e792321e8babc3">mode</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#4aea36ab5a5b94d1582c10eaf2a2f3c6">user</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#740d81934f194d2154e239f7f0cfff9a">group</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#fe8c8d470b642f9b2a754279c634adcf">isLink</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#4a42f3c3babb4ecb19c3c1c330b3c1bc">isDir</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#edcbb6854fc04cb078a185fc3cef8bff">isFile</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#4c5c7907daa4098876a1753f52023bdb">isReadable</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#1bce6507895e40bbffaaa2d108f8188c">isWritable</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#634254ded940b344506a79093459ac8c">isHidden</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#297821bebb5d81dfe379553277be512d">linkDest</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#a0ea703232934902e9132073da38037e">localPath</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceKIO.html#90b418366ba9052c97d4dca845026f43">KIO::filesize_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#46f839aae7de57343cc6718763e13f8e">size</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceKIO.html#90b418366ba9052c97d4dca845026f43">KIO::filesize_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#0c6087141d904cfac4454e737c4d12ba">size</a> (bool &hasSize) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#ef9ef4084472ac89dd1317f6b7f81936">time</a> (unsigned int which) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#655f1a5b11f99e83cdd97214f1c25615">time</a> (unsigned int which, bool &hasTime) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#96b0adc58a0ac2a4f76fbe0762d4420e">timeString</a> (unsigned int which=KIO::UDS_MODIFICATION_TIME) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#adad0539639d65932be3a02ee42cc2c3">isLocalFile</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#81c3ba0690812cb8eae807de50470a00">text</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#6974c0e2d9e74c77a8bed531bc1e7b34">name</a> (bool lowerCase=false) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#f0dff9baf66407473b41d63065a93567">mimetype</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKMimeType.html#7d3dec70482784d3ef5ee28d5a8f8942">KMimeType::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#9056645c465d70969814e755794a4432">determineMimeType</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKMimeType.html#7d3dec70482784d3ef5ee28d5a8f8942">KMimeType::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#942ad14decac480824627ef77f214ed5">mimeTypePtr</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1f20bf3c802fca551330ccce6ca20999"></a><!-- doxytag: member="KFileItem::isMimeTypeKnown" ref="1f20bf3c802fca551330ccce6ca20999" args="() const " --> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#1f20bf3c802fca551330ccce6ca20999">isMimeTypeKnown</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#b8dafbaf6e09c6c34bac7c5aa8537eb6">mimeComment</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#e9bca1f9843f11ac8e1aabe909f646d6">iconName</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qpixmap.html">QPixmap</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#f754b3c66bac1d1823fcaf224fc5f8aa">pixmap</a> (int _size, int _state=0) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#7b52afe0fdea1b1c52a3a064bc43a6df">overlays</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#2745b8fb8fc08e8f5e5d2f4be74992fd">getStatusBarInfo</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#0294aef2840c0642304eec9547a43171">getToolTipText</a> (int maxcount=6)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#a96a44aec31f0e7261d9e268c001521b">acceptsDrops</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#78529e83540c44492e4ceaa4db32bbb2">run</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">KIO::UDSEntry</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#db66986c1db0dd5694a5d3d702f915fd">entry</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#7054582e0d3c21f3649bf254e141815d">isMarked</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#59bbf08495ca0f6d141ae37f9da8b2dc">mark</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#9798ca9a2a6337d4732288fc71603cd5">unmark</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#c022d0f7e92ff4932064674d45299bb5">cmp</a> (const <a class="el" href="classKFileItem.html">KFileItem</a> &item)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#42007c59b49d91f034737db562b27a8e">setExtraData</a> (const void *key, void *value)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#815bb31dc2bca41f2ce6843423e3f185">extraData</a> (const void *key) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#6e3c414b7b9a5217d8a40466712c8872">extraData</a> (const void *key)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#7d1752bff43ff941ae71e6a93ce446d8">removeExtraData</a> (const void *key)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#a369114fce4b365d7b227fe89fb3ef77">setMetaInfo</a> (const <a class="el" href="classKFileMetaInfo.html">KFileMetaInfo</a> &info)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#a8c939fa906aee2e1211d33794ea273c">setFileMode</a> (mode_t m)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#f9e9276497057b04da0c6c65cb31a790">setMimeType</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &mimetype)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classKFileMetaInfo.html">KFileMetaInfo</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#1f4678617c71875593ce78bc20fb6734">metaInfo</a> (bool autoget=true, int what=KFileMetaInfo::Fastest) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#6adc540938a5c4d2851a8adf05b56b91">assign</a> (const <a class="el" href="classKFileItem.html">KFileItem</a> &item)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#5f1e3795584052dc537a91645f88005b">setUDSEntry</a> (const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">KIO::UDSEntry</a> &entry, const KURL &url, bool determineMimeTypeOnDemand=false, bool urlIsDirectory=false)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKFileItem.html">KFileItem</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#1230aeeda96269f906c82455423fc7f8">operator=</a> (const <a class="el" href="classKFileItem.html">KFileItem</a> &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">KURL </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#2535aa6403077ab064566d60aa6b4048">mostLocalURL</a> (bool &local) const </td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#e1bc218528f8f7e9f7108ecc11ae9f2f">init</a> (bool _determineMimeTypeOnDemand)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#eabdbd8b43ef82f91903f28496b143b5">readUDSEntry</a> (bool _urlIsDirectory)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#a0c52ae585bef69d441f2d2f7770420d">parsePermissions</a> (mode_t perm) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e1e035f860a8abef57570ecc564716bc"></a><!-- doxytag: member="KFileItem::virtual_hook" ref="e1e035f860a8abef57570ecc564716bc" args="(int id, void *data)" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#e1e035f860a8abef57570ecc564716bc">virtual_hook</a> (int id, void *data)</td></tr> <tr><td colspan="2"><br><h2>Friends</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae1f94d251b268e5c756771bcad54977"></a><!-- doxytag: member="KFileItem::operator<<" ref="ae1f94d251b268e5c756771bcad54977" args="(QDataStream &s, const KFileItem &a)" --> KIO_EXPORT friend <a class="elRef" doxygen="qt.tag:" href="qdatastream.html">QDataStream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#ae1f94d251b268e5c756771bcad54977">operator<<</a> (<a class="elRef" doxygen="qt.tag:" href="qdatastream.html">QDataStream</a> &s, const <a class="el" href="classKFileItem.html">KFileItem</a> &a)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2c148baddd746b071e4c706b13a6cc45"></a><!-- doxytag: member="KFileItem::operator>>" ref="2c148baddd746b071e4c706b13a6cc45" args="(QDataStream &s, KFileItem &a)" --> KIO_EXPORT friend <a class="elRef" doxygen="qt.tag:" href="qdatastream.html">QDataStream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFileItem.html#2c148baddd746b071e4c706b13a6cc45">operator>></a> (<a class="elRef" doxygen="qt.tag:" href="qdatastream.html">QDataStream</a> &s, <a class="el" href="classKFileItem.html">KFileItem</a> &a)</td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="56106c566fa11a9f3ceae33407ac7710"></a><!-- doxytag: member="KFileItem::KFileItem" ref="56106c566fa11a9f3ceae33407ac7710" args="(const KIO::UDSEntry &_entry, const KURL &_url, bool _determineMimeTypeOnDemand=false, bool _urlIsDirectory=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KFileItem::KFileItem </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">KIO::UDSEntry</a> & </td> <td class="paramname"> <em>_entry</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const KURL & </td> <td class="paramname"> <em>_url</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>_determineMimeTypeOnDemand</em> = <code>false</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>_urlIsDirectory</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Creates an item representing a file, from a UDSEntry. <p> This is the preferred constructor when using <a class="el" href="namespaceKIO.html#c36b0d77b04f9cba8ed32bb1355514ac">KIO::listDir()</a>.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>_entry</em> </td><td>the <a class="el" href="namespaceKIO.html">KIO</a> entry used to get the file, contains info about it </td></tr> <tr><td valign="top"></td><td valign="top"><em>_url</em> </td><td>the file url </td></tr> <tr><td valign="top"></td><td valign="top"><em>_determineMimeTypeOnDemand</em> </td><td>specifies if the mimetype of the given URL should be determined immediately or on demand </td></tr> <tr><td valign="top"></td><td valign="top"><em>_urlIsDirectory</em> </td><td>specifies if the url is just the directory of the fileitem and the filename from the UDSEntry should be used. </td></tr> </table> </dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00054">54</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="beb77f5976012616b24919241e9a4afc"></a><!-- doxytag: member="KFileItem::KFileItem" ref="beb77f5976012616b24919241e9a4afc" args="(mode_t _mode, mode_t _permissions, const KURL &_url, bool _determineMimeTypeOnDemand=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KFileItem::KFileItem </td> <td>(</td> <td class="paramtype">mode_t </td> <td class="paramname"> <em>_mode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">mode_t </td> <td class="paramname"> <em>_permissions</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const KURL & </td> <td class="paramname"> <em>_url</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>_determineMimeTypeOnDemand</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Creates an item representing a file, from all the necessary info for it. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>_mode</em> </td><td>the file mode (according to stat() (e.g. S_IFDIR...) Set to KFileItem::Unknown if unknown. For local files, <a class="el" href="classKFileItem.html">KFileItem</a> will use stat(). </td></tr> <tr><td valign="top"></td><td valign="top"><em>_permissions</em> </td><td>the access permissions If you set both the mode and the permissions, you save a stat() for local files. Set to KFileItem::Unknown if you don't know the mode or the permission. </td></tr> <tr><td valign="top"></td><td valign="top"><em>_url</em> </td><td>the file url</td></tr> <tr><td valign="top"></td><td valign="top"><em>_determineMimeTypeOnDemand</em> </td><td>specify if the mimetype of the given URL should be determined immediately or on demand </td></tr> </table> </dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00072">72</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="8c178dc51ab8b4177b924992c70946a4"></a><!-- doxytag: member="KFileItem::KFileItem" ref="8c178dc51ab8b4177b924992c70946a4" args="(const KURL &url, const QString &mimeType, mode_t mode)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KFileItem::KFileItem </td> <td>(</td> <td class="paramtype">const KURL & </td> <td class="paramname"> <em>url</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td> <td class="paramname"> <em>mimeType</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">mode_t </td> <td class="paramname"> <em>mode</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Creates an item representing a file, for which the mimetype is already known. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>url</em> </td><td>the file url </td></tr> <tr><td valign="top"></td><td valign="top"><em>mimeType</em> </td><td>the name of the file's mimetype </td></tr> <tr><td valign="top"></td><td valign="top"><em>mode</em> </td><td>the mode (S_IFDIR...) </td></tr> </table> </dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00090">90</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="00c6f3d2af7c051717af236c48bcbf99"></a><!-- doxytag: member="KFileItem::KFileItem" ref="00c6f3d2af7c051717af236c48bcbf99" args="(const KFileItem &item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KFileItem::KFileItem </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKFileItem.html">KFileItem</a> & </td> <td class="paramname"> <em>item</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Copy constructor. <p> Note that extra-data set via <a class="el" href="classKFileItem.html#42007c59b49d91f034737db562b27a8e">setExtraData()</a> is not deeply copied -- just the pointers are copied. <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00110">110</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="2c8b439cd4d86b1a68a51a3d6fdb4831"></a><!-- doxytag: member="KFileItem::~KFileItem" ref="2c8b439cd4d86b1a68a51a3d6fdb4831" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KFileItem::~KFileItem </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Destructs the <a class="el" href="classKFileItem.html">KFileItem</a>. <p> Extra data set via <a class="el" href="classKFileItem.html#42007c59b49d91f034737db562b27a8e">setExtraData()</a> is not deleted. <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00122">122</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="a96a44aec31f0e7261d9e268c001521b"></a><!-- doxytag: member="KFileItem::acceptsDrops" ref="a96a44aec31f0e7261d9e268c001521b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KFileItem::acceptsDrops </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if files can be dropped over this item. <p> Contrary to popular belief, not only dirs will return true :) Executables, .desktop files, will do so as well. <dl compact><dt><b>Returns:</b></dt><dd>true if you can drop files over the item </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00692">692</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="8fb34b5708180e210f915caa925d801f"></a><!-- doxytag: member="KFileItem::ACL" ref="8fb34b5708180e210f915caa925d801f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKACL.html">KACL</a> KFileItem::ACL </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns the access control list for the file. <p> <dl compact><dt><b>Returns:</b></dt><dd>the access control list as a <a class="el" href="classKACL.html">KACL</a> </dd></dl> <dl compact><dt><b>Since:</b></dt><dd>3.5 </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00370">370</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="6adc540938a5c4d2851a8adf05b56b91"></a><!-- doxytag: member="KFileItem::assign" ref="6adc540938a5c4d2851a8adf05b56b91" args="(const KFileItem &item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::assign </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKFileItem.html">KFileItem</a> & </td> <td class="paramname"> <em>item</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Somewhat like an assignment operator, but more explicit. <p> Note: extra-data set with <a class="el" href="classKFileItem.html#42007c59b49d91f034737db562b27a8e">setExtraData()</a> is not copied, so be careful what you do!<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>item</em> </td><td>the item to copy </td></tr> </table> </dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00863">863</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="c022d0f7e92ff4932064674d45299bb5"></a><!-- doxytag: member="KFileItem::cmp" ref="c022d0f7e92ff4932064674d45299bb5" args="(const KFileItem &item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KFileItem::cmp </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKFileItem.html">KFileItem</a> & </td> <td class="paramname"> <em>item</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Somewhat like a comparison operator, but more explicit. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>item</em> </td><td>the item to compare </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>true if all values are equal </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00841">841</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="b23718ce8eb1d9da21589480a61ff005"></a><!-- doxytag: member="KFileItem::defaultACL" ref="b23718ce8eb1d9da21589480a61ff005" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKACL.html">KACL</a> KFileItem::defaultACL </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns the default access control list for the directory. <p> <dl compact><dt><b>Returns:</b></dt><dd>the default access control list as a <a class="el" href="classKACL.html">KACL</a> </dd></dl> <dl compact><dt><b>Since:</b></dt><dd>3.5 </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00383">383</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="9056645c465d70969814e755794a4432"></a><!-- doxytag: member="KFileItem::determineMimeType" ref="9056645c465d70969814e755794a4432" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKMimeType.html#7d3dec70482784d3ef5ee28d5a8f8942">KMimeType::Ptr</a> KFileItem::determineMimeType </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the mimetype of the file item. <p> If _determineMimeTypeOnDemand was used in the constructor, this will determine the mimetype first. <dl compact><dt><b>Returns:</b></dt><dd>the mime type </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00498">498</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="db66986c1db0dd5694a5d3d702f915fd"></a><!-- doxytag: member="KFileItem::entry" ref="db66986c1db0dd5694a5d3d702f915fd" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">KIO::UDSEntry</a>& KFileItem::entry </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the UDS entry. <p> Used by the tree view to access all details by position. <dl compact><dt><b>Returns:</b></dt><dd>the UDS entry </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00399">399</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>. </div> </div><p> <a class="anchor" name="6e3c414b7b9a5217d8a40466712c8872"></a><!-- doxytag: member="KFileItem::extraData" ref="6e3c414b7b9a5217d8a40466712c8872" args="(const void *key)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void * KFileItem::extraData </td> <td>(</td> <td class="paramtype">const void * </td> <td class="paramname"> <em>key</em> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Retrieves the extra data with the given <code>key</code>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>the key of the extra data </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>the extra data associated to an item with <code>key</code> via setExtraData. 0L if nothing was associated with <code>key</code>. </dd></dl> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKFileItem.html#815bb31dc2bca41f2ce6843423e3f185">extraData</a> </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00957">957</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="815bb31dc2bca41f2ce6843423e3f185"></a><!-- doxytag: member="KFileItem::extraData" ref="815bb31dc2bca41f2ce6843423e3f185" args="(const void *key) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const void * KFileItem::extraData </td> <td>(</td> <td class="paramtype">const void * </td> <td class="paramname"> <em>key</em> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Retrieves the extra data with the given <code>key</code>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>the key of the extra data </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>the extra data associated to an item with <code>key</code> via setExtraData. 0L if nothing was associated with <code>key</code>. </dd></dl> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKFileItem.html#815bb31dc2bca41f2ce6843423e3f185">extraData</a> </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00949">949</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="2745b8fb8fc08e8f5e5d2f4be74992fd"></a><!-- doxytag: member="KFileItem::getStatusBarInfo" ref="2745b8fb8fc08e8f5e5d2f4be74992fd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KFileItem::getStatusBarInfo </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the string to be displayed in the statusbar, e.g. <p> when the mouse is over this item <dl compact><dt><b>Returns:</b></dt><dd>the status bar information </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00713">713</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="0294aef2840c0642304eec9547a43171"></a><!-- doxytag: member="KFileItem::getToolTipText" ref="0294aef2840c0642304eec9547a43171" args="(int maxcount=6)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KFileItem::getToolTipText </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>maxcount</em> = <code>6</code> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the string to be displayed in the tool tip when the mouse is over this item. <p> This may load a plugin to determine additional information specific to the mimetype of the file.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>maxcount</em> </td><td>the maximum number of entries shown </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>the tool tip string </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00751">751</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="740d81934f194d2154e239f7f0cfff9a"></a><!-- doxytag: member="KFileItem::group" ref="740d81934f194d2154e239f7f0cfff9a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KFileItem::group </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns the group of the file. <p> <dl compact><dt><b>Returns:</b></dt><dd>the file's group </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00471">471</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="7b7aa7baf5c1b4b4e4fd1716709bc489"></a><!-- doxytag: member="KFileItem::hasExtendedACL" ref="7b7aa7baf5c1b4b4e4fd1716709bc489" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KFileItem::hasExtendedACL </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Tells if the file has extended access level information ( Posix ACL ). <p> <dl compact><dt><b>Returns:</b></dt><dd>true if the file has extend ACL information or false if it hasn't </dd></dl> <dl compact><dt><b>Since:</b></dt><dd>3.5 </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00360">360</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="e9bca1f9843f11ac8e1aabe909f646d6"></a><!-- doxytag: member="KFileItem::iconName" ref="e9bca1f9843f11ac8e1aabe909f646d6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KFileItem::iconName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the full path name to the icon that represents this mime type. <p> <dl compact><dt><b>Returns:</b></dt><dd>iconName the name of the file's icon </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00536">536</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="e1bc218528f8f7e9f7108ecc11ae9f2f"></a><!-- doxytag: member="KFileItem::init" ref="e1bc218528f8f7e9f7108ecc11ae9f2f" args="(bool _determineMimeTypeOnDemand)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::init </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>_determineMimeTypeOnDemand</em> </td> <td> ) </td> <td width="100%"><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Computes the text, mode, and mimetype from the UDSEntry Called by constructor, but can be called again later. <p> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00127">127</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="4a42f3c3babb4ecb19c3c1c330b3c1bc"></a><!-- doxytag: member="KFileItem::isDir" ref="4a42f3c3babb4ecb19c3c1c330b3c1bc" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KFileItem::isDir </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if this item represents a directory. <p> <dl compact><dt><b>Returns:</b></dt><dd>true if the item is a directory </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00674">674</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="edcbb6854fc04cb078a185fc3cef8bff"></a><!-- doxytag: member="KFileItem::isFile" ref="edcbb6854fc04cb078a185fc3cef8bff" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KFileItem::isFile </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if this item represents a file (and not a a directory). <p> <dl compact><dt><b>Returns:</b></dt><dd>true if the item is a file </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00198">198</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>. </div> </div><p> <a class="anchor" name="634254ded940b344506a79093459ac8c"></a><!-- doxytag: member="KFileItem::isHidden" ref="634254ded940b344506a79093459ac8c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KFileItem::isHidden </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Checks whether the file is hidden. <p> <dl compact><dt><b>Returns:</b></dt><dd>true if the file is hidden. </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00663">663</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="fe8c8d470b642f9b2a754279c634adcf"></a><!-- doxytag: member="KFileItem::isLink" ref="fe8c8d470b642f9b2a754279c634adcf" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KFileItem::isLink </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if this item represents a link in the UNIX sense of a link. <p> <dl compact><dt><b>Returns:</b></dt><dd>true if the file is a link </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00186">186</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>. </div> </div><p> <a class="anchor" name="adad0539639d65932be3a02ee42cc2c3"></a><!-- doxytag: member="KFileItem::isLocalFile" ref="adad0539639d65932be3a02ee42cc2c3" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KFileItem::isLocalFile </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if the file is a local file. <p> <dl compact><dt><b>Returns:</b></dt><dd>true if the file is local, false otherwise </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00282">282</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>. </div> </div><p> <a class="anchor" name="7054582e0d3c21f3649bf254e141815d"></a><!-- doxytag: member="KFileItem::isMarked" ref="7054582e0d3c21f3649bf254e141815d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KFileItem::isMarked </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Used when updating a directory. <p> marked == seen when refreshing. <dl compact><dt><b>Returns:</b></dt><dd>true if the file item is marked </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00405">405</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>. </div> </div><p> <a class="anchor" name="4c5c7907daa4098876a1753f52023bdb"></a><!-- doxytag: member="KFileItem::isReadable" ref="4c5c7907daa4098876a1753f52023bdb" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KFileItem::isReadable </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Checks whether the file or directory is readable. <p> In some cases (remote files), we may return true even though it can't be read. <dl compact><dt><b>Returns:</b></dt><dd>true if the file can be read - more precisely, false if we know for sure it can't </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00621">621</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="1bce6507895e40bbffaaa2d108f8188c"></a><!-- doxytag: member="KFileItem::isWritable" ref="1bce6507895e40bbffaaa2d108f8188c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KFileItem::isWritable </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Checks whether the file or directory is writable. <p> In some cases (remote files), we may return true even though it can't be written to. <dl compact><dt><b>Returns:</b></dt><dd>true if the file or directory can be written to - more precisely, false if we know for sure it can't </dd></dl> <dl compact><dt><b>Since:</b></dt><dd>3.4 </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00642">642</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="297821bebb5d81dfe379553277be512d"></a><!-- doxytag: member="KFileItem::linkDest" ref="297821bebb5d81dfe379553277be512d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KFileItem::linkDest </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns the link destination if <a class="el" href="classKFileItem.html#fe8c8d470b642f9b2a754279c634adcf">isLink()</a> == true. <p> <dl compact><dt><b>Returns:</b></dt><dd>the link destination. QString::null if the item is not a link </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00296">296</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="a0ea703232934902e9132073da38037e"></a><!-- doxytag: member="KFileItem::localPath" ref="a0ea703232934902e9132073da38037e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KFileItem::localPath </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns the local path if <a class="el" href="classKFileItem.html#adad0539639d65932be3a02ee42cc2c3">isLocalFile()</a> == true or the <a class="el" href="namespaceKIO.html">KIO</a> item has a UDS_LOCAL_PATH atom. <p> <dl compact><dt><b>Returns:</b></dt><dd>the item local path, or QString::null if not known </dd></dl> <dl compact><dt><b>Since:</b></dt><dd>3.4 </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00317">317</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="59bbf08495ca0f6d141ae37f9da8b2dc"></a><!-- doxytag: member="KFileItem::mark" ref="59bbf08495ca0f6d141ae37f9da8b2dc" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::mark </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Marks the item. <p> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKFileItem.html#7054582e0d3c21f3649bf254e141815d">isMarked()</a> </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00410">410</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>. </div> </div><p> <a class="anchor" name="1f4678617c71875593ce78bc20fb6734"></a><!-- doxytag: member="KFileItem::metaInfo" ref="1f4678617c71875593ce78bc20fb6734" args="(bool autoget=true, int what=KFileMetaInfo::Fastest) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classKFileMetaInfo.html">KFileMetaInfo</a> & KFileItem::metaInfo </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>autoget</em> = <code>true</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>what</em> = <code>KFileMetaInfo::Fastest</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns the metainfo of this item. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>autoget</em> </td><td>if true, the metainfo will automatically be created </td></tr> <tr><td valign="top"></td><td valign="top"><em>what</em> </td><td>ignored </td></tr> </table> </dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l01034">1034</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="b8dafbaf6e09c6c34bac7c5aa8537eb6"></a><!-- doxytag: member="KFileItem::mimeComment" ref="b8dafbaf6e09c6c34bac7c5aa8537eb6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KFileItem::mimeComment </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the descriptive comment for this mime type, or the mime type itself if none is present. <p> <dl compact><dt><b>Returns:</b></dt><dd>the mime type description, or the mime type itself </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00521">521</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="f0dff9baf66407473b41d63065a93567"></a><!-- doxytag: member="KFileItem::mimetype" ref="f0dff9baf66407473b41d63065a93567" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KFileItem::mimetype </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns the mimetype of the file item. <p> If <code>_determineMimeTypeOnDemand</code> was used in the constructor, this will determine the mimetype first. Equivalent to <a class="el" href="classKFileItem.html#9056645c465d70969814e755794a4432">determineMimeType()</a>-><a class="el" href="classKFileItem.html#6974c0e2d9e74c77a8bed531bc1e7b34">name()</a> <dl compact><dt><b>Returns:</b></dt><dd>the mime type of the file </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00492">492</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="942ad14decac480824627ef77f214ed5"></a><!-- doxytag: member="KFileItem::mimeTypePtr" ref="942ad14decac480824627ef77f214ed5" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKMimeType.html#7d3dec70482784d3ef5ee28d5a8f8942">KMimeType::Ptr</a> KFileItem::mimeTypePtr </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the currently known mimetype of the file item. <p> This will not try to determine the mimetype if unknown. <dl compact><dt><b>Returns:</b></dt><dd>the known mime type </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00328">328</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>. </div> </div><p> <a class="anchor" name="f506df34a95e060e42e792321e8babc3"></a><!-- doxytag: member="KFileItem::mode" ref="f506df34a95e060e42e792321e8babc3" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mode_t KFileItem::mode </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the file type (stat.st_mode containing only S_IFDIR, S_IFLNK, . <p> ..). <dl compact><dt><b>Returns:</b></dt><dd>the file type </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00167">167</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>. </div> </div><p> <a class="anchor" name="2535aa6403077ab064566d60aa6b4048"></a><!-- doxytag: member="KFileItem::mostLocalURL" ref="2535aa6403077ab064566d60aa6b4048" args="(bool &local) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KURL KFileItem::mostLocalURL </td> <td>(</td> <td class="paramtype">bool & </td> <td class="paramname"> <em>local</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Tries to give a local URL for this file item if possible. <p> The given boolean indicates if the returned url is local or not. <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l01048">1048</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="6974c0e2d9e74c77a8bed531bc1e7b34"></a><!-- doxytag: member="KFileItem::name" ref="6974c0e2d9e74c77a8bed531bc1e7b34" args="(bool lowerCase=false) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a>& KFileItem::name </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>lowerCase</em> = <code>false</code> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return the name of the file item (without a path). <p> Similar to <a class="el" href="classKFileItem.html#81c3ba0690812cb8eae807de50470a00">text()</a>, but unencoded, i.e. the original name. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>lowerCase</em> </td><td>if true, the name will be returned in lower case, which is useful to speed up sorting by name, case insensitively. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>the file's name </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00298">298</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>. </div> </div><p> <a class="anchor" name="1230aeeda96269f906c82455423fc7f8"></a><!-- doxytag: member="KFileItem::operator=" ref="1230aeeda96269f906c82455423fc7f8" args="(const KFileItem &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classKFileItem.html">KFileItem</a> & KFileItem::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKFileItem.html">KFileItem</a> & </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Assignment operator, calls <a class="el" href="classKFileItem.html#6adc540938a5c4d2851a8adf05b56b91">assign()</a>. <p> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00116">116</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="7b52afe0fdea1b1c52a3a064bc43a6df"></a><!-- doxytag: member="KFileItem::overlays" ref="7b52afe0fdea1b1c52a3a064bc43a6df" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int KFileItem::overlays </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns the overlays (bitfield of KIcon::*Overlay flags) that are used for this item's pixmap. <p> Overlays are used to show for example, whether a file can be modified. <dl compact><dt><b>Returns:</b></dt><dd>the overlays of the pixmap </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00547">547</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="a0c52ae585bef69d441f2d2f7770420d"></a><!-- doxytag: member="KFileItem::parsePermissions" ref="a0c52ae585bef69d441f2d2f7770420d" args="(mode_t perm) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KFileItem::parsePermissions </td> <td>(</td> <td class="paramtype">mode_t </td> <td class="paramname"> <em>perm</em> </td> <td> ) </td> <td width="100%"> const<code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Parses the given permission set and provides it for access(). <p> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00978">978</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="3db815f0ee321b4b6095b3265f48ab34"></a><!-- doxytag: member="KFileItem::permissions" ref="3db815f0ee321b4b6095b3265f48ab34" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mode_t KFileItem::permissions </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the permissions of the file (stat.st_mode containing only permissions). <p> <dl compact><dt><b>Returns:</b></dt><dd>the permissions of the file </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00134">134</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>. </div> </div><p> <a class="anchor" name="1f9b474339d38a1c96424ed9f4c9bc39"></a><!-- doxytag: member="KFileItem::permissionsString" ref="1f9b474339d38a1c96424ed9f4c9bc39" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KFileItem::permissionsString </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns the access permissions for the file as a string. <p> <dl compact><dt><b>Returns:</b></dt><dd>the access persmission as string </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00970">970</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="f754b3c66bac1d1823fcaf224fc5f8aa"></a><!-- doxytag: member="KFileItem::pixmap" ref="f754b3c66bac1d1823fcaf224fc5f8aa" args="(int _size, int _state=0) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qpixmap.html">QPixmap</a> KFileItem::pixmap </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>_size</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>_state</em> = <code>0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns a pixmap representing the file. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>_size</em> </td><td>Size for the pixmap in pixels. Zero will return the globally configured default size. </td></tr> <tr><td valign="top"></td><td valign="top"><em>_state</em> </td><td>The state of the icon: KIcon::DefaultState, KIcon::ActiveState or KIcon::DisabledState. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>the pixmap </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00575">575</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="eabdbd8b43ef82f91903f28496b143b5"></a><!-- doxytag: member="KFileItem::readUDSEntry" ref="eabdbd8b43ef82f91903f28496b143b5" args="(bool _urlIsDirectory)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::readUDSEntry </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>_urlIsDirectory</em> </td> <td> ) </td> <td width="100%"><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Extracts the data from the UDSEntry member and updates the <a class="el" href="classKFileItem.html">KFileItem</a> accordingly. <p> <dl compact><dt><b>Since:</b></dt><dd>3.4.1 </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00189">189</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="fcd50458f3068076a1101c5b6a3b140a"></a><!-- doxytag: member="KFileItem::refresh" ref="fcd50458f3068076a1101c5b6a3b140a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::refresh </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Throw away and re-read (for local files) all information about the file. <p> This is called when the _file_ changes. <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00260">260</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="c156df49d355c2d9b1039ace72fa25cd"></a><!-- doxytag: member="KFileItem::refreshMimeType" ref="c156df49d355c2d9b1039ace72fa25cd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::refreshMimeType </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Re-reads mimetype information. <p> This is called when the mimetype database changes. <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00278">278</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="7d1752bff43ff941ae71e6a93ce446d8"></a><!-- doxytag: member="KFileItem::removeExtraData" ref="7d1752bff43ff941ae71e6a93ce446d8" args="(const void *key)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::removeExtraData </td> <td>(</td> <td class="paramtype">const void * </td> <td class="paramname"> <em>key</em> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Removes the extra data associated with an item via <code>key</code>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>the key of the extra data to remove </td></tr> </table> </dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00965">965</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="78529e83540c44492e4ceaa4db32bbb2"></a><!-- doxytag: member="KFileItem::run" ref="78529e83540c44492e4ceaa4db32bbb2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::run </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Let's "KRun" this file ! (e.g. <p> when file is clicked or double-clicked or return is pressed) <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00833">833</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="42007c59b49d91f034737db562b27a8e"></a><!-- doxytag: member="KFileItem::setExtraData" ref="42007c59b49d91f034737db562b27a8e" args="(const void *key, void *value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::setExtraData </td> <td>(</td> <td class="paramtype">const void * </td> <td class="paramname"> <em>key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> This allows to associate some "extra" data to a <a class="el" href="classKFileItem.html">KFileItem</a>. <p> As one <a class="el" href="classKFileItem.html">KFileItem</a> can be used by several objects (often views) which all need to add some data, you have to use a key to reference your extra data within the <a class="el" href="classKFileItem.html">KFileItem</a>.<p> That way a <a class="el" href="classKFileItem.html">KFileItem</a> can hold and provide access to all those views separately.<p> I.e. a KFileIconView that associates a KFileIconViewItem (an item suitable for use with <a class="elRef" doxygen="qt.tag:" href="qiconview.html">QIconView</a>) does<p> <div class="fragment"><pre class="fragment"> kfileItem->setExtraData( <span class="keyword">this</span>, iconViewItem ); </pre></div><p> and can later access the iconViewItem by doing<p> <div class="fragment"><pre class="fragment"> KFileIconViewItem *iconViewItem = static_cast<KFileIconViewItem*>( kfileItem->extraData( <span class="keyword">this</span> )); </pre></div><p> This is usually more efficient then having every view associate data to items by using a separate <a class="elRef" doxygen="qt.tag:" href="qdict.html">QDict</a> or <a class="elRef" doxygen="qt.tag:" href="qmap.html">QMap</a>.<p> Note: you have to remove and destroy the data you associated yourself when you don't need it anymore!<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>the key of the extra data </td></tr> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>the value of the extra data </td></tr> </table> </dl> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKFileItem.html#815bb31dc2bca41f2ce6843423e3f185">extraData</a> <p> <a class="el" href="classKFileItem.html#7d1752bff43ff941ae71e6a93ce446d8">removeExtraData</a> </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00941">941</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="a8c939fa906aee2e1211d33794ea273c"></a><!-- doxytag: member="KFileItem::setFileMode" ref="a8c939fa906aee2e1211d33794ea273c" args="(mode_t m)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::setFileMode </td> <td>(</td> <td class="paramtype">mode_t </td> <td class="paramname"> <em>m</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the file type (stat.st_mode containing only S_IFDIR, S_IFLNK, . <p> ..). <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>m</em> </td><td>the new file type </td></tr> </table> </dl> <dl compact><dt><b>Since:</b></dt><dd>3.5.0 </dd></dl> <dl compact><dt><b><a class="el" href="todo.html#_todo000009">Todo:</a></b></dt><dd>Actually explain what this does -- does setting S_IFDIR mean the file type is set to Directory? </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00931">931</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="a369114fce4b365d7b227fe89fb3ef77"></a><!-- doxytag: member="KFileItem::setMetaInfo" ref="a369114fce4b365d7b227fe89fb3ef77" args="(const KFileMetaInfo &info)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::setMetaInfo </td> <td>(</td> <td class="paramtype">const <a class="el" href="classKFileMetaInfo.html">KFileMetaInfo</a> & </td> <td class="paramname"> <em>info</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the metainfo of this item to <code>info</code>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>info</em> </td><td>the new meta info </td></tr> </table> </dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l01029">1029</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="f9e9276497057b04da0c6c65cb31a790"></a><!-- doxytag: member="KFileItem::setMimeType" ref="f9e9276497057b04da0c6c65cb31a790" args="(const QString &mimetype)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::setMimeType </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td> <td class="paramname"> <em>mimetype</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets new mimetype for item. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>mimetype</em> </td><td>the new mimetype </td></tr> </table> </dl> <dl compact><dt><b>Since:</b></dt><dd>3.5.0 </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00936">936</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="ffc9e408d0140daf4a87f56646a20627"></a><!-- doxytag: member="KFileItem::setName" ref="ffc9e408d0140daf4a87f56646a20627" args="(const QString &name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::setName </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the item's name (i.e. <p> the filename). This is automatically done by setURL, to set the name from the URL's fileName(). This method is provided for some special cases like relative paths as names (KFindPart) <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>the item's name </td></tr> </table> </dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00290">290</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="5f1e3795584052dc537a91645f88005b"></a><!-- doxytag: member="KFileItem::setUDSEntry" ref="5f1e3795584052dc537a91645f88005b" args="(const KIO::UDSEntry &entry, const KURL &url, bool determineMimeTypeOnDemand=false, bool urlIsDirectory=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::setUDSEntry </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="qt.tag:" href="qvaluelist.html">KIO::UDSEntry</a> & </td> <td class="paramname"> <em>entry</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const KURL & </td> <td class="paramname"> <em>url</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>determineMimeTypeOnDemand</em> = <code>false</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>urlIsDirectory</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Reinitialize <a class="el" href="classKFileItem.html">KFileItem</a> with a new UDSEntry. <p> Note: extra-data set with <a class="el" href="classKFileItem.html#42007c59b49d91f034737db562b27a8e">setExtraData()</a> is not changed or deleted, so be careful what you do!<p> KDirListerCache uses it to save new/delete calls by updating existing items that are otherwise not needed anymore.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>entry</em> </td><td>the UDSEntry to assign to this <a class="el" href="classKFileItem.html">KFileItem</a> </td></tr> <tr><td valign="top"></td><td valign="top"><em>url</em> </td><td>the file url </td></tr> <tr><td valign="top"></td><td valign="top"><em>determineMimeTypeOnDemand</em> </td><td>specifies if the mimetype of the given URL should be determined immediately or on demand </td></tr> <tr><td valign="top"></td><td valign="top"><em>urlIsDirectory</em> </td><td>specifies if the url is just the directory of the fileitem and the filename from the UDSEntry should be used. </td></tr> </table> </dl> <dl compact><dt><b>Since:</b></dt><dd>3.4.1 </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00903">903</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="62fe8d1866b48322b1f2cd1114d0c143"></a><!-- doxytag: member="KFileItem::setURL" ref="62fe8d1866b48322b1f2cd1114d0c143" args="(const KURL &url)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::setURL </td> <td>(</td> <td class="paramtype">const KURL & </td> <td class="paramname"> <em>url</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the item's URL. <p> Do not call unless you know what you are doing! (used for example when an item got renamed). <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>url</em> </td><td>the item's URL </td></tr> </table> </dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00284">284</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="0c6087141d904cfac4454e737c4d12ba"></a><!-- doxytag: member="KFileItem::size" ref="0c6087141d904cfac4454e737c4d12ba" args="(bool &hasSize) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceKIO.html#90b418366ba9052c97d4dca845026f43">KIO::filesize_t</a> KFileItem::size </td> <td>(</td> <td class="paramtype">bool & </td> <td class="paramname"> <em>hasSize</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns the size of the file, if known, and sets <code>hasSize</code> to false if not known. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>@hasSize</em> </td><td>This is set to true if the size is known, and false if not known </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>the file size, or 0 if not known </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00336">336</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="46f839aae7de57343cc6718763e13f8e"></a><!-- doxytag: member="KFileItem::size" ref="46f839aae7de57343cc6718763e13f8e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceKIO.html#90b418366ba9052c97d4dca845026f43">KIO::filesize_t</a> KFileItem::size </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns the size of the file, if known. <p> <dl compact><dt><b>Returns:</b></dt><dd>the file size, or 0 if not known </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00393">393</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="81c3ba0690812cb8eae807de50470a00"></a><!-- doxytag: member="KFileItem::text" ref="81c3ba0690812cb8eae807de50470a00" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a>& KFileItem::text </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the text of the file item. <p> It's not exactly the filename since some decoding happens ('2F'->'/'). <dl compact><dt><b>Returns:</b></dt><dd>the text of the file item </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00289">289</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>. </div> </div><p> <a class="anchor" name="655f1a5b11f99e83cdd97214f1c25615"></a><!-- doxytag: member="KFileItem::time" ref="655f1a5b11f99e83cdd97214f1c25615" args="(unsigned int which, bool &hasTime) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">time_t KFileItem::time </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>which</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool & </td> <td class="paramname"> <em>hasTime</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Requests the modification, access or creation time, depending on <code>which</code>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>which</em> </td><td>UDS_MODIFICATION_TIME, UDS_ACCESS_TIME or UDS_CREATION_TIME </td></tr> <tr><td valign="top"></td><td valign="top"><em>hasTime</em> </td><td>This is set to true is the time is known, and false if not known </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>the time asked for, (time_t)0 if not known/available </dd></dl> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKFileItem.html#96b0adc58a0ac2a4f76fbe0762d4420e">timeString()</a> </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00404">404</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="ef9ef4084472ac89dd1317f6b7f81936"></a><!-- doxytag: member="KFileItem::time" ref="ef9ef4084472ac89dd1317f6b7f81936" args="(unsigned int which) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">time_t KFileItem::time </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>which</em> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Requests the modification, access or creation time, depending on <code>which</code>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>which</em> </td><td>UDS_MODIFICATION_TIME, UDS_ACCESS_TIME or UDS_CREATION_TIME </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>the time asked for, (time_t)0 if not available </dd></dl> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKFileItem.html#96b0adc58a0ac2a4f76fbe0762d4420e">timeString()</a> </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00399">399</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="96b0adc58a0ac2a4f76fbe0762d4420e"></a><!-- doxytag: member="KFileItem::timeString" ref="96b0adc58a0ac2a4f76fbe0762d4420e" args="(unsigned int which=KIO::UDS_MODIFICATION_TIME) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KFileItem::timeString </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>which</em> = <code>KIO::UDS_MODIFICATION_TIME</code> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Requests the modification, access or creation time as a string, depending on <code>which</code>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>which</em> </td><td>UDS_MODIFICATION_TIME, UDS_ACCESS_TIME or UDS_CREATION_TIME </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>a formatted string of the requested time, QString::null if time is not known </dd></dl> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKFileItem.html#ef9ef4084472ac89dd1317f6b7f81936">time</a> </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l01018">1018</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <a class="anchor" name="9798ca9a2a6337d4732288fc71603cd5"></a><!-- doxytag: member="KFileItem::unmark" ref="9798ca9a2a6337d4732288fc71603cd5" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KFileItem::unmark </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Unmarks the item. <p> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classKFileItem.html#7054582e0d3c21f3649bf254e141815d">isMarked()</a> </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00415">415</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>. </div> </div><p> <a class="anchor" name="04813dcf686795b8854034b0165ccdc0"></a><!-- doxytag: member="KFileItem::url" ref="04813dcf686795b8854034b0165ccdc0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const KURL& KFileItem::url </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the url of the file. <p> <dl compact><dt><b>Returns:</b></dt><dd>the url of the file </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8h-source.html#l00113">113</a> of file <a class="el" href="kfileitem_8h-source.html">kfileitem.h</a>. </div> </div><p> <a class="anchor" name="4aea36ab5a5b94d1582c10eaf2a2f3c6"></a><!-- doxytag: member="KFileItem::user" ref="4aea36ab5a5b94d1582c10eaf2a2f3c6" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KFileItem::user </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns the owner of the file. <p> <dl compact><dt><b>Returns:</b></dt><dd>the file's owner </dd></dl> <p> Definition at line <a class="el" href="kfileitem_8cpp-source.html#l00456">456</a> of file <a class="el" href="kfileitem_8cpp-source.html">kfileitem.cpp</a>. </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="kfileitem_8h-source.html">kfileitem.h</a><li><a class="el" href="kfileitem_8cpp-source.html">kfileitem.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/kio</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</a></li><li><a href="modules.html">Modules</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul> <!-- <h2>Class Picker</h2> <div style="text-align: center;"> <form name="guideform"> <select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value"> <option value="annotated.html">-- Choose --</option> <option value="classKACL.html">kacl</option>, <option value="classKAr.html">kar</option>, <option value="classKArchive.html">karchive</option>, <option value="classKArchiveDirectory.html">karchivedirectory</option>, <option value="classKArchiveEntry.html">karchiveentry</option>, <option value="classKArchiveFile.html">karchivefile</option>, <option value="classKAutoMount.html">kautomount</option>, <option value="classKAutoUnmount.html">kautounmount</option>, <option value="classKDataTool.html">kdatatool</option>, <option value="classKDataToolAction.html">kdatatoolaction</option>, <option value="classKDataToolInfo.html">kdatatoolinfo</option>, <option value="classKDCOPServiceStarter.html">kdcopservicestarter</option>, <option value="classKDEDesktopMimeType.html">kdedesktopmimetype</option>, <option value="classKDirLister.html">kdirlister</option>, <option value="classKDirNotify.html">kdirnotify</option>, <option value="classKDirNotify__stub.html">kdirnotify__stub</option>, <option value="classKDirWatch.html">kdirwatch</option>, <option value="classKEMailSettings.html">kemailsettings</option>, <option value="classKExecMimeType.html">kexecmimetype</option>, <option value="classKFileFilter.html">kfilefilter</option>, <option value="classKFileItem.html">kfileitem</option>, <option value="classKFileMetaInfo.html">kfilemetainfo</option>, <option value="classKFileMetaInfoGroup.html">kfilemetainfogroup</option>, <option value="classKFileMetaInfoItem.html">kfilemetainfoitem</option>, <option value="classKFileMetaInfoProvider.html">kfilemetainfoprovider</option>, <option value="classKFileMimeTypeInfo.html">kfilemimetypeinfo</option>, <option value="classKFileMimeTypeInfo_1_1GroupInfo.html">kfilemimetypeinfo::groupinfo</option>, <option value="classKFileMimeTypeInfo_1_1ItemInfo.html">kfilemimetypeinfo::iteminfo</option>, <option value="classKFilePlugin.html">kfileplugin</option>, <option value="classKFileShare.html">kfileshare</option>, <option value="classKFileSharePrivate.html">kfileshareprivate</option>, <option value="classKFilterBase.html">kfilterbase</option>, <option value="classKFilterDev.html">kfilterdev</option>, <option value="classKFolderType.html">kfoldertype</option>, <option value="classKImageIO.html">kimageio</option>, <option value="classKImageIOFactory.html">kimageiofactory</option>, <option value="classKImageIOFormat.html">kimageioformat</option>, <option value="classKImageIOFormatList.html">kimageioformatlist</option>, <option value="classKIO_1_1AuthInfo.html">kio::authinfo</option>, <option value="classKIO_1_1ChmodJob.html">kio::chmodjob</option>, <option value="classKIO_1_1Connection.html">kio::connection</option>, <option value="classKIO_1_1CopyJob.html">kio::copyjob</option>, <option value="classKIO_1_1DataProtocol.html">kio::dataprotocol</option>, <option value="classKIO_1_1DataSlave.html">kio::dataslave</option>, <option value="classKIO_1_1DavJob.html">kio::davjob</option>, <option value="classKIO_1_1DefaultProgress.html">kio::defaultprogress</option>, <option value="classKIO_1_1DeleteJob.html">kio::deletejob</option>, <option value="classKIO_1_1DirectCopyJob.html">kio::directcopyjob</option>, <option value="classKIO_1_1FileCopyJob.html">kio::filecopyjob</option>, <option value="classKIO_1_1ForwardingSlaveBase.html">kio::forwardingslavebase</option>, <option value="classKIO_1_1Job.html">kio::job</option>, <option value="classKIO_1_1ListJob.html">kio::listjob</option>, <option value="classKIO_1_1MetaData.html">kio::metadata</option>, <option value="classKIO_1_1MetaInfoJob.html">kio::metainfojob</option>, <option value="classKIO_1_1MimetypeJob.html">kio::mimetypejob</option>, <option value="classKIO_1_1MkdirJob.html">kio::mkdirjob</option>, <option value="classKIO_1_1MultiGetJob.html">kio::multigetjob</option>, <option value="classKIO_1_1NetAccess.html">kio::netaccess</option>, <option value="classKIO_1_1NetRC.html">kio::netrc</option>, <option value="classKIO_1_1ParseContext.html">kio::parsecontext</option>, <option value="classKIO_1_1ParseTreeAND.html">kio::parsetreeand</option>, <option value="classKIO_1_1ParseTreeBase.html">kio::parsetreebase</option>, <option value="classKIO_1_1ParseTreeBOOL.html">kio::parsetreebool</option>, <option value="classKIO_1_1ParseTreeBRACKETS.html">kio::parsetreebrackets</option>, <option value="classKIO_1_1ParseTreeCALC.html">kio::parsetreecalc</option>, <option value="classKIO_1_1ParseTreeCMP.html">kio::parsetreecmp</option>, <option value="classKIO_1_1ParseTreeDOUBLE.html">kio::parsetreedouble</option>, <option value="classKIO_1_1ParseTreeEXIST.html">kio::parsetreeexist</option>, <option value="classKIO_1_1ParseTreeID.html">kio::parsetreeid</option>, <option value="classKIO_1_1ParseTreeIN.html">kio::parsetreein</option>, <option value="classKIO_1_1ParseTreeMATCH.html">kio::parsetreematch</option>, <option value="classKIO_1_1ParseTreeMAX2.html">kio::parsetreemax2</option>, <option value="classKIO_1_1ParseTreeMIN2.html">kio::parsetreemin2</option>, <option value="classKIO_1_1ParseTreeNOT.html">kio::parsetreenot</option>, <option value="classKIO_1_1ParseTreeNUM.html">kio::parsetreenum</option>, <option value="classKIO_1_1ParseTreeOR.html">kio::parsetreeor</option>, <option value="classKIO_1_1ParseTreeSTRING.html">kio::parsetreestring</option>, <option value="classKIO_1_1PasswordDialog.html">kio::passworddialog</option>, <option value="classKIO_1_1PasteDialog.html">kio::pastedialog</option>, <option value="classKIO_1_1PreviewJob.html">kio::previewjob</option>, <option value="classKIO_1_1ProgressBase.html">kio::progressbase</option>, <option value="classKIO_1_1RenameDlg.html">kio::renamedlg</option>, <option value="classKIO_1_1Scheduler.html">kio::scheduler</option>, <option value="classKIO_1_1SessionData.html">kio::sessiondata</option>, <option value="classKIO_1_1SimpleJob.html">kio::simplejob</option>, <option value="classKIO_1_1SkipDlg.html">kio::skipdlg</option>, <option value="classKIO_1_1Slave.html">kio::slave</option>, <option value="classKIO_1_1SlaveBase.html">kio::slavebase</option>, <option value="classKIO_1_1SlaveConfig.html">kio::slaveconfig</option>, <option value="classKIO_1_1SlaveInterface.html">kio::slaveinterface</option>, <option value="classKIO_1_1StatJob.html">kio::statjob</option>, <option value="classKIO_1_1StatusbarProgress.html">kio::statusbarprogress</option>, <option value="classKIO_1_1StoredTransferJob.html">kio::storedtransferjob</option>, <option value="classKIO_1_1TCPSlaveBase.html">kio::tcpslavebase</option>, <option value="classKIO_1_1TransferJob.html">kio::transferjob</option>, <option value="classKIO_1_1UDSAtom.html">kio::udsatom</option>, <option value="classKLimitedIODevice.html">klimitediodevice</option>, <option value="classKMessageBoxWrapper.html">kmessageboxwrapper</option>, <option value="classKMimeMagic.html">kmimemagic</option>, <option value="classKMimeMagicResult.html">kmimemagicresult</option>, <option value="classKMimeType.html">kmimetype</option>, <option value="classKMimeTypeChooser.html">kmimetypechooser</option>, <option value="classKMimeTypeChooserDialog.html">kmimetypechooserdialog</option>, <option value="classKMimeTypeResolver.html">kmimetyperesolver</option>, <option value="classKMimeTypeResolverBase.html">kmimetyperesolverbase</option>, <option value="classKMimeTypeResolverHelper.html">kmimetyperesolverhelper</option>, <option value="classKNFSShare.html">knfsshare</option>, <option value="classKOCRDialog.html">kocrdialog</option>, <option value="classKOCRDialogFactory.html">kocrdialogfactory</option>, <option value="classKOpenWithHandler.html">kopenwithhandler</option>, <option value="classKProcessRunner.html">kprocessrunner</option>, <option value="classKProtocolInfo.html">kprotocolinfo</option>, <option value="classKProtocolManager.html">kprotocolmanager</option>, <option value="classKRemoteEncoding.html">kremoteencoding</option>, <option value="classKRun.html">krun</option>, <option value="classKSambaShare.html">ksambashare</option>, <option value="classKScanDialog.html">kscandialog</option>, <option value="classKScanDialogFactory.html">kscandialogfactory</option>, <option value="classKService.html">kservice</option>, <option value="classKServiceFactory.html">kservicefactory</option>, <option value="classKServiceGroup.html">kservicegroup</option>, <option value="classKServiceGroupFactory.html">kservicegroupfactory</option>, <option value="classKServiceOffer.html">kserviceoffer</option>, <option value="classKServiceSeparator.html">kserviceseparator</option>, <option value="classKServiceType.html">kservicetype</option>, <option value="classKServiceTypeFactory.html">kservicetypefactory</option>, <option value="classKServiceTypeProfile.html">kservicetypeprofile</option>, <option value="classKShellCompletion.html">kshellcompletion</option>, <option value="classKShred.html">kshred</option>, <option value="classKSimpleFileFilter.html">ksimplefilefilter</option>, <option value="classKTar.html">ktar</option>, <option value="classKTrader.html">ktrader</option>, <option value="classKURIFilter.html">kurifilter</option>, <option value="classKURIFilterData.html">kurifilterdata</option>, <option value="classKURIFilterPlugin.html">kurifilterplugin</option>, <option value="classKURIFilterPluginList.html">kurifilterpluginlist</option>, <option value="classKURLCompletion.html">kurlcompletion</option>, <option value="classKURLPixmapProvider.html">kurlpixmapprovider</option>, <option value="classKZip.html">kzip</option>, <option value="classKZipFileEntry.html">kzipfileentry</option>, <option value="classObserver.html">observer</option>, <option value="classObserver__stub.html">observer__stub</option>, <option value="classRenameDlgPlugin.html">renamedlgplugin</option>, <option value="classThumbCreator.html">thumbcreator</option>, <option value="classUIServer__stub.html">uiserver__stub</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:wintert@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>