<?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: global.h Source File (kio/kio)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org" r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org" r (n 0 s 0 v 0 l 0))' /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="shortcut icon" href="../../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" /> </head> <body> <div id="nav_header_top" align="right"> <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a> <a href="../../.."><img id="nav_header_logo" alt="Home" align="left" src="../../../kde_gear_64.png" border="0" /></a> <span class="doNotDisplay">::</span> <div id="nav_header_title" align="left">KDE API Reference</div> </div> <div id="nav_header_bottom" align="right"> <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span> <div id="nav_header_bottom_right" style="text-align: left;"> / <a href="../../..">API Reference</a> / <a href="../../html/index.html">kio</a> / <a href=".">kio</a> </div> </div> <table id="main" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="menuheader" height="0"></td> <td id="contentcolumn" valign="top" rowspan="2" > <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;"> <a name="content"></a> <!-- Generated by Doxygen 1.7.4 --> <div class="header"> <div class="headertitle"> <div class="title">global.h</div> </div> </div> <div class="contents"> <div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* This file is part of the KDE libraries</span> <a name="l00002"></a>00002 <span class="comment"> Copyright (C) 2000 David Faure <faure@kde.org></span> <a name="l00003"></a>00003 <span class="comment"></span> <a name="l00004"></a>00004 <span class="comment"> This library is free software; you can redistribute it and/or</span> <a name="l00005"></a>00005 <span class="comment"> modify it under the terms of the GNU Library General Public</span> <a name="l00006"></a>00006 <span class="comment"> License version 2 as published by the Free Software Foundation.</span> <a name="l00007"></a>00007 <span class="comment"></span> <a name="l00008"></a>00008 <span class="comment"> This library is distributed in the hope that it will be useful,</span> <a name="l00009"></a>00009 <span class="comment"> but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00010"></a>00010 <span class="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00011"></a>00011 <span class="comment"> Library General Public License for more details.</span> <a name="l00012"></a>00012 <span class="comment"></span> <a name="l00013"></a>00013 <span class="comment"> You should have received a copy of the GNU Library General Public License</span> <a name="l00014"></a>00014 <span class="comment"> along with this library; see the file COPYING.LIB. If not, write to</span> <a name="l00015"></a>00015 <span class="comment"> the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,</span> <a name="l00016"></a>00016 <span class="comment"> Boston, MA 02110-1301, USA.</span> <a name="l00017"></a>00017 <span class="comment">*/</span> <a name="l00018"></a>00018 <span class="preprocessor">#ifndef __kio_global_h__</span> <a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define __kio_global_h__</span> <a name="l00020"></a>00020 <span class="preprocessor"></span> <a name="l00021"></a>00021 <span class="preprocessor">#include <qstring.h></span> <a name="l00022"></a>00022 <span class="preprocessor">#include <qvaluelist.h></span> <a name="l00023"></a>00023 <span class="preprocessor">#include <qptrlist.h></span> <a name="l00024"></a>00024 <span class="preprocessor">#include <qdatastream.h></span> <a name="l00025"></a>00025 <span class="preprocessor">#include <qdatetime.h></span> <a name="l00026"></a>00026 <span class="preprocessor">#include <qmap.h></span> <a name="l00027"></a>00027 <a name="l00028"></a>00028 <span class="preprocessor">#include <kurl.h></span> <a name="l00029"></a>00029 <a name="l00034"></a>00034 <span class="keyword">namespace </span>KIO <a name="l00035"></a>00035 { <a name="l00037"></a><a class="code" href="namespaceKIO.html#afe8507b085f6f5918ba470f94ae16ead">00037</a> <span class="keyword">typedef</span> Q_LLONG <a class="code" href="namespaceKIO.html#afe8507b085f6f5918ba470f94ae16ead" title="64-bit file offset">fileoffset_t</a>; <a name="l00039"></a><a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43">00039</a> <span class="keyword">typedef</span> Q_ULLONG <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">filesize_t</a>; <a name="l00040"></a>00040 <a name="l00047"></a>00047 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#a350bd897f2425789f4fbd250882700f9" title="Converts size from bytes to the string representation.">convertSize</a>( <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> size ); <a name="l00048"></a>00048 <a name="l00056"></a>00056 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#a91a01d5b66fbfb35ca7d207750d6483d" title="Converts size from bytes to a string representation with includes the size in bytes.">convertSizeWithBytes</a>( <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> size ); <a name="l00064"></a>00064 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#a61e1ebe49305dcd7418b4692d56079b0" title="Converts a size to a string representation Not unlike QString::number(...)">number</a>( <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> size ); <a name="l00065"></a>00065 <a name="l00072"></a>00072 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#a2bd3a1c75f3bab5d0528aba34ed9f0f7" title="Converts size from kilo-bytes to the string representation.">convertSizeFromKB</a>( <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> kbSize ); <a name="l00073"></a>00073 <a name="l00084"></a>00084 KIO_EXPORT <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="namespaceKIO.html#afe6f790a8e6ee50dabe6cb11cc2b3023" title="Calculates remaining time in seconds from total size, processed size and speed.">calculateRemainingSeconds</a>( <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> totalSize, <a name="l00085"></a>00085 <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> processedSize, <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> speed ); <a name="l00086"></a>00086 <a name="l00095"></a>00095 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#a3f4a1f39cdec3c9ba6a1e65044d09bc4" title="Convert seconds to a string representing number of days, hours, minutes and seconds.">convertSeconds</a>( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> seconds ); <a name="l00096"></a>00096 <a name="l00106"></a>00106 KIO_EXPORT <a class="codeRef" href="qtime.html">QTime</a> <a class="code" href="namespaceKIO.html#a06dae97ddcb8a16ec87e0ecf1d527070" title="Calculates remaining time from total size, processed size and speed.">calculateRemaining</a>( <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> totalSize, <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> processedSize, <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> speed ) KDE_DEPRECATED; <a name="l00107"></a>00107 <a name="l00117"></a>00117 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#a7b2a0a462387518b478d6c031b80b739" title="Helper for showing information about a set of files and directories.">itemsSummaryString</a>(uint items, uint files, uint dirs, <a class="code" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43" title="64-bit file size">KIO::filesize_t</a> size, <span class="keywordtype">bool</span> showSize); <a name="l00118"></a>00118 <a name="l00126"></a>00126 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#aecca4fce010b784fd87ed6a6538fa52b" title="Encodes (from the text displayed to the real filename) This translates % into %% and / into %2f Used ...">encodeFileName</a>( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> & str ); <a name="l00133"></a>00133 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#ae9b548badbdfb20fa0c40350bc58b8e0" title="Decodes (from the filename to the text displayed) This translates %2[fF] into / and %% into %...">decodeFileName</a>( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> & str ); <a name="l00134"></a>00134 <a name="l00138"></a><a class="code" href="namespaceKIO.html#a4c1d93ea567b11755e113880b5136d52">00138</a> <span class="keyword">enum</span> <a class="code" href="namespaceKIO.html#a4c1d93ea567b11755e113880b5136d52" title="Commands that can be invoked by a job.">Command</a> { <a name="l00139"></a>00139 CMD_HOST = <span class="charliteral">'0'</span>, <span class="comment">// 48</span> <a name="l00140"></a>00140 CMD_CONNECT = <span class="charliteral">'1'</span>, <span class="comment">// 49</span> <a name="l00141"></a>00141 CMD_DISCONNECT = <span class="charliteral">'2'</span>, <span class="comment">// 50</span> <a name="l00142"></a>00142 CMD_SLAVE_STATUS = <span class="charliteral">'3'</span>, <span class="comment">// 51</span> <a name="l00143"></a>00143 CMD_SLAVE_CONNECT = <span class="charliteral">'4'</span>, <span class="comment">// 52</span> <a name="l00144"></a>00144 CMD_SLAVE_HOLD = <span class="charliteral">'5'</span>, <span class="comment">// 53</span> <a name="l00145"></a>00145 CMD_NONE = <span class="charliteral">'A'</span>, <span class="comment">// 65</span> <a name="l00146"></a>00146 CMD_TESTDIR = <span class="charliteral">'B'</span>, <span class="comment">// 66</span> <a name="l00147"></a>00147 CMD_GET = <span class="charliteral">'C'</span>, <span class="comment">// 67</span> <a name="l00148"></a>00148 CMD_PUT = <span class="charliteral">'D'</span>, <span class="comment">// 68</span> <a name="l00149"></a>00149 CMD_STAT = <span class="charliteral">'E'</span>, <span class="comment">// 69</span> <a name="l00150"></a>00150 CMD_MIMETYPE = <span class="charliteral">'F'</span>, <span class="comment">// 70</span> <a name="l00151"></a>00151 CMD_LISTDIR = <span class="charliteral">'G'</span>, <span class="comment">// 71</span> <a name="l00152"></a>00152 CMD_MKDIR = <span class="charliteral">'H'</span>, <span class="comment">// 72</span> <a name="l00153"></a>00153 CMD_RENAME = <span class="charliteral">'I'</span>, <span class="comment">// 73</span> <a name="l00154"></a>00154 CMD_COPY = <span class="charliteral">'J'</span>, <span class="comment">// 74</span> <a name="l00155"></a>00155 CMD_DEL = <span class="charliteral">'K'</span>, <span class="comment">// 75</span> <a name="l00156"></a>00156 CMD_CHMOD = <span class="charliteral">'L'</span>, <span class="comment">// 76</span> <a name="l00157"></a>00157 CMD_SPECIAL = <span class="charliteral">'M'</span>, <span class="comment">// 77</span> <a name="l00158"></a>00158 CMD_USERPASS = <span class="charliteral">'N'</span>, <span class="comment">// 78</span> <a name="l00159"></a>00159 CMD_REPARSECONFIGURATION = <span class="charliteral">'O'</span>, <span class="comment">// 79</span> <a name="l00160"></a>00160 CMD_META_DATA = <span class="charliteral">'P'</span>, <span class="comment">// 80</span> <a name="l00161"></a>00161 CMD_SYMLINK = <span class="charliteral">'Q'</span>, <span class="comment">// 81</span> <a name="l00162"></a>00162 CMD_SUBURL = <span class="charliteral">'R'</span>, <span class="comment">// 82 Inform the slave about the url it is streaming on.</span> <a name="l00163"></a>00163 CMD_MESSAGEBOXANSWER = <span class="charliteral">'S'</span>, <span class="comment">// 83</span> <a name="l00164"></a>00164 CMD_RESUMEANSWER = <span class="charliteral">'T'</span>, <span class="comment">// 84</span> <a name="l00165"></a>00165 CMD_CONFIG = <span class="charliteral">'U'</span>, <span class="comment">// 85</span> <a name="l00166"></a>00166 CMD_MULTI_GET = <span class="charliteral">'V'</span> <span class="comment">// 86</span> <a name="l00167"></a>00167 <span class="comment">// Add new ones here once a release is done, to avoid breaking binary compatibility.</span> <a name="l00168"></a>00168 <span class="comment">// Note that protocol-specific commands shouldn't be added here, but should use special.</span> <a name="l00169"></a>00169 }; <a name="l00170"></a>00170 <a name="l00174"></a><a class="code" href="namespaceKIO.html#ae3b43d88fc092c0f5380cf97ca4256a7">00174</a> <span class="keyword">enum</span> <a class="code" href="namespaceKIO.html#ae3b43d88fc092c0f5380cf97ca4256a7" title="Error codes that can be emitted by KIO.">Error</a> { <a name="l00175"></a>00175 ERR_CANNOT_OPEN_FOR_READING = 1, <a name="l00176"></a>00176 ERR_CANNOT_OPEN_FOR_WRITING = 2, <a name="l00177"></a>00177 ERR_CANNOT_LAUNCH_PROCESS = 3, <a name="l00178"></a>00178 ERR_INTERNAL = 4, <a name="l00179"></a>00179 ERR_MALFORMED_URL = 5, <a name="l00180"></a>00180 ERR_UNSUPPORTED_PROTOCOL = 6, <a name="l00181"></a>00181 ERR_NO_SOURCE_PROTOCOL = 7, <a name="l00182"></a>00182 ERR_UNSUPPORTED_ACTION = 8, <a name="l00183"></a>00183 ERR_IS_DIRECTORY = 9, <span class="comment">// ... where a file was expected</span> <a name="l00184"></a>00184 ERR_IS_FILE = 10, <span class="comment">// ... where a directory was expected (e.g. listing)</span> <a name="l00185"></a>00185 ERR_DOES_NOT_EXIST = 11, <a name="l00186"></a>00186 ERR_FILE_ALREADY_EXIST = 12, <a name="l00187"></a>00187 ERR_DIR_ALREADY_EXIST = 13, <a name="l00188"></a>00188 ERR_UNKNOWN_HOST = 14, <a name="l00189"></a>00189 ERR_ACCESS_DENIED = 15, <a name="l00190"></a>00190 ERR_WRITE_ACCESS_DENIED = 16, <a name="l00191"></a>00191 ERR_CANNOT_ENTER_DIRECTORY = 17, <a name="l00192"></a>00192 ERR_PROTOCOL_IS_NOT_A_FILESYSTEM = 18, <a name="l00193"></a>00193 ERR_CYCLIC_LINK = 19, <a name="l00194"></a>00194 ERR_USER_CANCELED = 20, <a name="l00195"></a>00195 ERR_CYCLIC_COPY = 21, <a name="l00196"></a>00196 ERR_COULD_NOT_CREATE_SOCKET = 22, <span class="comment">// KDE4: s/COULD_NOT/CANNOT/ or the other way round</span> <a name="l00197"></a>00197 ERR_COULD_NOT_CONNECT = 23, <a name="l00198"></a>00198 ERR_CONNECTION_BROKEN = 24, <a name="l00199"></a>00199 ERR_NOT_FILTER_PROTOCOL = 25, <a name="l00200"></a>00200 ERR_COULD_NOT_MOUNT = 26, <a name="l00201"></a>00201 ERR_COULD_NOT_UNMOUNT = 27, <a name="l00202"></a>00202 ERR_COULD_NOT_READ = 28, <a name="l00203"></a>00203 ERR_COULD_NOT_WRITE = 29, <a name="l00204"></a>00204 ERR_COULD_NOT_BIND = 30, <a name="l00205"></a>00205 ERR_COULD_NOT_LISTEN = 31, <a name="l00206"></a>00206 ERR_COULD_NOT_ACCEPT = 32, <a name="l00207"></a>00207 ERR_COULD_NOT_LOGIN = 33, <a name="l00208"></a>00208 ERR_COULD_NOT_STAT = 34, <a name="l00209"></a>00209 ERR_COULD_NOT_CLOSEDIR = 35, <a name="l00210"></a>00210 ERR_COULD_NOT_MKDIR = 37, <a name="l00211"></a>00211 ERR_COULD_NOT_RMDIR = 38, <a name="l00212"></a>00212 ERR_CANNOT_RESUME = 39, <a name="l00213"></a>00213 ERR_CANNOT_RENAME = 40, <a name="l00214"></a>00214 ERR_CANNOT_CHMOD = 41, <a name="l00215"></a>00215 ERR_CANNOT_DELETE = 42, <a name="l00216"></a>00216 <span class="comment">// The text argument is the protocol that the dead slave supported.</span> <a name="l00217"></a>00217 <span class="comment">// This means for example: file, ftp, http, ...</span> <a name="l00218"></a>00218 ERR_SLAVE_DIED = 43, <a name="l00219"></a>00219 ERR_OUT_OF_MEMORY = 44, <a name="l00220"></a>00220 ERR_UNKNOWN_PROXY_HOST = 45, <a name="l00221"></a>00221 ERR_COULD_NOT_AUTHENTICATE = 46, <a name="l00222"></a>00222 ERR_ABORTED = 47, <span class="comment">// Action got aborted from application side</span> <a name="l00223"></a>00223 ERR_INTERNAL_SERVER = 48, <a name="l00224"></a>00224 ERR_SERVER_TIMEOUT = 49, <a name="l00225"></a>00225 ERR_SERVICE_NOT_AVAILABLE = 50, <a name="l00226"></a>00226 ERR_UNKNOWN = 51, <a name="l00227"></a>00227 <span class="comment">// (was a warning) ERR_CHECKSUM_MISMATCH = 52,</span> <a name="l00228"></a>00228 ERR_UNKNOWN_INTERRUPT = 53, <a name="l00229"></a>00229 ERR_CANNOT_DELETE_ORIGINAL = 54, <a name="l00230"></a>00230 ERR_CANNOT_DELETE_PARTIAL = 55, <a name="l00231"></a>00231 ERR_CANNOT_RENAME_ORIGINAL = 56, <a name="l00232"></a>00232 ERR_CANNOT_RENAME_PARTIAL = 57, <a name="l00233"></a>00233 ERR_NEED_PASSWD = 58, <a name="l00234"></a>00234 ERR_CANNOT_SYMLINK = 59, <a name="l00235"></a>00235 ERR_NO_CONTENT = 60, <span class="comment">// Action succeeded but no content will follow.</span> <a name="l00236"></a>00236 ERR_DISK_FULL = 61, <a name="l00237"></a>00237 ERR_IDENTICAL_FILES = 62, <span class="comment">// src==dest when moving/copying</span> <a name="l00238"></a>00238 ERR_SLAVE_DEFINED = 63, <span class="comment">// for slave specified errors that can be</span> <a name="l00239"></a>00239 <span class="comment">// rich text. Email links will be handled</span> <a name="l00240"></a>00240 <span class="comment">// by the standard email app and all hrefs</span> <a name="l00241"></a>00241 <span class="comment">// will be handled by the standard browser.</span> <a name="l00242"></a>00242 <span class="comment">// <a href="exec:/khelpcenter ?" will be</span> <a name="l00243"></a>00243 <span class="comment">// forked.</span> <a name="l00244"></a>00244 ERR_UPGRADE_REQUIRED = 64, <span class="comment">// A transport upgrade is required to access this</span> <a name="l00245"></a>00245 <span class="comment">// object. For instance, TLS is demanded by</span> <a name="l00246"></a>00246 <span class="comment">// the server in order to continue.</span> <a name="l00247"></a>00247 ERR_POST_DENIED = 65 <span class="comment">// Issued when trying to POST data to a certain Ports</span> <a name="l00248"></a>00248 <span class="comment">// see job.cpp</span> <a name="l00249"></a>00249 }; <a name="l00250"></a>00250 <a name="l00258"></a>00258 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#a46521cadccc2b2e81a7469c61e413e52" title="Returns a translated error message for errorCode using the additional error information provided by e...">buildErrorString</a>(<span class="keywordtype">int</span> errorCode, <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &errorText); <a name="l00259"></a>00259 <a name="l00270"></a>00270 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#acb3969c3ff0dd5b5f98ceef051df98bd" title="Returns a translated html error message for errorCode using the additional error information provided...">buildHTMLErrorString</a>(<span class="keywordtype">int</span> errorCode, <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &errorText, <a name="l00271"></a>00271 <span class="keyword">const</span> KURL *reqUrl = 0L, <span class="keywordtype">int</span> method = -1 ); <a name="l00272"></a>00272 <a name="l00289"></a>00289 KIO_EXPORT <a class="codeRef" href="qbytearray.html">QByteArray</a> <a class="code" href="namespaceKIO.html#a06f9820cadf1f8d80bbc5b72c7138221" title="Returns translated error details for errorCode using the additional error information provided by err...">rawErrorDetail</a>(<span class="keywordtype">int</span> errorCode, <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &errorText, <a name="l00290"></a>00290 <span class="keyword">const</span> KURL *reqUrl = 0L, <span class="keywordtype">int</span> method = -1 ); <a name="l00291"></a>00291 <a name="l00300"></a>00300 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#a1757c6533ace2e8bad19d3b636d61065" title="Returns an appropriate error message if the given command cmd is an unsupported action (ERR_UNSUPPORT...">unsupportedActionErrorString</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &protocol, <span class="keywordtype">int</span> cmd); <a name="l00301"></a>00301 <a name="l00305"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31f">00305</a> <span class="keyword">enum</span> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31f" title="Constants used to specify the type of a KUDSAtom.">UDSAtomTypes</a> { <a name="l00307"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec">00307</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a> = 1, <a name="l00308"></a>00308 UDS_LONG = 2, <a name="l00309"></a>00309 UDS_TIME = 4 | UDS_LONG, <a name="l00310"></a>00310 <a name="l00311"></a>00311 <span class="comment">// To add new UDS entries below, you can use a step of 8</span> <a name="l00312"></a>00312 <span class="comment">// (i.e. 8, 16, 24, 32, etc.) Only the last 3 bits are a bitfield,</span> <a name="l00313"></a>00313 <span class="comment">// the rest isn't.</span> <a name="l00314"></a>00314 <a name="l00316"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa5a03d6c96cd6c9b7aa5d6fbc5c989deb">00316</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa5a03d6c96cd6c9b7aa5d6fbc5c989deb" title="Size of the file.">UDS_SIZE</a> = 8 | UDS_LONG, <a name="l00317"></a>00317 UDS_SIZE_LARGE = 32768 | UDS_LONG, <span class="comment">// For internal use only</span> <a name="l00319"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa4c7df384be883aec80ad883562a794de">00319</a> <span class="comment"></span> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa4c7df384be883aec80ad883562a794de" title="User ID of the file owner.">UDS_USER</a> = 16 | <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a>, <a name="l00323"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31facd20a6f9f2968cc29c366664c425f523">00323</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31facd20a6f9f2968cc29c366664c425f523" title="Name of the icon, that should be used for displaying.">UDS_ICON_NAME</a> = 24 | <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a>, <a name="l00325"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa3f6d30183bf075ef698abbca27fdb4fb">00325</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa3f6d30183bf075ef698abbca27fdb4fb" title="Group ID of the file owner.">UDS_GROUP</a> = 32 | <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a>, <a name="l00329"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fae2877651be66eebd02fb1bdb4c63abee">00329</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fae2877651be66eebd02fb1bdb4c63abee" title="Extra data (used only if you specified Columns/ColumnsTypes) This is the only UDS entry that can be r...">UDS_EXTRA</a> = 48 | <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a>, <a name="l00332"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa94e07a8780517ea4b39a276e31f8c34c">00332</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa94e07a8780517ea4b39a276e31f8c34c" title="Filename - as displayed in directory listings etc.">UDS_NAME</a> = 64 | <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a>, <a name="l00335"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa8c80e3448e660ec63ab98ae043711188">00335</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa8c80e3448e660ec63ab98ae043711188" title="A local file path if the ioslave display files sitting on the local filesystem (but in another hierar...">UDS_LOCAL_PATH</a> = 72 | <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a>, <a name="l00338"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa6d64d46661eeb18357cd9379ae2bd36c">00338</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa6d64d46661eeb18357cd9379ae2bd36c" title="Treat the file as a hidden file or as a normal file, regardless of (the absence of) a leading dot in ...">UDS_HIDDEN</a> = 80 | UDS_LONG, <a name="l00341"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa8506a0f7a5e67874101594fbcfdd528e">00341</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa8506a0f7a5e67874101594fbcfdd528e" title="Indicates that the entry has extended ACL entries.">UDS_EXTENDED_ACL</a> = 88 | UDS_LONG, <a name="l00344"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa0b5a0fffe6ff27f187a1c4e2d8795fc2">00344</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa0b5a0fffe6ff27f187a1c4e2d8795fc2" title="The access control list serialized into a single string.">UDS_ACL_STRING</a> = 96 | <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a>, <a name="l00348"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fae7a3f8caa1572f2a62ce2c20ce0d17c4">00348</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fae7a3f8caa1572f2a62ce2c20ce0d17c4" title="The default access control list serialized into a single string.">UDS_DEFAULT_ACL_STRING</a> = 104 | <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a>, <a name="l00349"></a>00349 <a name="l00350"></a>00350 <span class="comment">// available: 112, 120 </span> <a name="l00351"></a>00351 <a name="l00353"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fab031d28b4167ef62f3ee443a6a9faad8">00353</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fab031d28b4167ef62f3ee443a6a9faad8" title="Access permissions (part of the mode returned by stat)">UDS_ACCESS</a> = 128 | UDS_LONG, <a name="l00355"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa2870258f5a68f7dd13a18703c7144d10">00355</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa2870258f5a68f7dd13a18703c7144d10" title="The last time the file was modified.">UDS_MODIFICATION_TIME</a> = 256 | UDS_TIME, <a name="l00357"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa26b4cb0f839e572b3f1158e3e08cda21">00357</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa26b4cb0f839e572b3f1158e3e08cda21" title="The last time the file was opened.">UDS_ACCESS_TIME</a> = 512 | UDS_TIME, <a name="l00359"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa3554c1700aa5a0095249db6a67a643a5">00359</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa3554c1700aa5a0095249db6a67a643a5" title="The time the file was created.">UDS_CREATION_TIME</a> = 1024 | UDS_TIME, <a name="l00363"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa4590810bdb9f536e059b4b56d20eaa80">00363</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa4590810bdb9f536e059b4b56d20eaa80" title="File type, part of the mode returned by stat (for a link, this returns the file type of the pointed i...">UDS_FILE_TYPE</a> = 2048 | UDS_LONG, <a name="l00366"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa3956eae3bdc1a21c6b5f41945d9fe391">00366</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa3956eae3bdc1a21c6b5f41945d9fe391" title="Name of the file where the link points to Allows to check for a symlink (don't use S_ISLNK !)...">UDS_LINK_DEST</a> = 4096 | <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a>, <a name="l00368"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa13f881c377fd2b93883a0eab616ab372">00368</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa13f881c377fd2b93883a0eab616ab372" title="An alternative URL (If different from the caption)">UDS_URL</a> = 8192 | <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a>, <a name="l00370"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa395a47a2c972e9f25892b0d36f801f05">00370</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa395a47a2c972e9f25892b0d36f801f05" title="A mime type; prevents guessing.">UDS_MIME_TYPE</a> = 16384 | <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a>, <a name="l00373"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa74b94fc1ee16c0890d33ec52a862221f">00373</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fa74b94fc1ee16c0890d33ec52a862221f" title="A mime type to be used for displaying only.">UDS_GUESSED_MIME_TYPE</a> = 16392 | <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a>, <a name="l00376"></a><a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fad21a3601d60d5a57195fa8cd6d3f2520">00376</a> <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fad21a3601d60d5a57195fa8cd6d3f2520" title="XML properties, e.g.">UDS_XML_PROPERTIES</a> = 0x8000 | <a class="code" href="namespaceKIO.html#ab329df4f691911c03bce444a035fd31fac458ea52b433738e53899298872068ec" title="First let's define the item types.">UDS_STRING</a> <a name="l00377"></a>00377 }; <a name="l00378"></a>00378 <a name="l00384"></a><a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfa">00384</a> <span class="keyword">enum</span> <a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfa" title="Specifies how to use the cache.">CacheControl</a> <a name="l00385"></a>00385 { <a name="l00386"></a><a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfaacab88b8216aff964794daca3dc772c30">00386</a> <a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfaacab88b8216aff964794daca3dc772c30" title="Fail request if not in cache.">CC_CacheOnly</a>, <a name="l00387"></a><a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfaa6a79c42ad227352ab2c78ca1e4017a4d">00387</a> <a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfaa6a79c42ad227352ab2c78ca1e4017a4d" title="Use cached entry if available.">CC_Cache</a>, <a name="l00388"></a><a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfaac299ce838226abed1ee825ccd502384b">00388</a> <a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfaac299ce838226abed1ee825ccd502384b" title="Validate cached entry with remote site if expired.">CC_Verify</a>, <a name="l00389"></a><a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfaae5c474eea2850f8f82753effb443179d">00389</a> <a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfaae5c474eea2850f8f82753effb443179d" title="Always validate cached entry with remote site.">CC_Refresh</a>, <a name="l00390"></a>00390 <a name="l00391"></a><a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfaac9b9eefd414118d7af567b642a8ebf5e">00391</a> <a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfaac9b9eefd414118d7af567b642a8ebf5e" title="Always fetch from remote site.">CC_Reload</a> <a name="l00392"></a>00392 }; <a name="l00393"></a>00393 <a name="l00401"></a>00401 KIO_EXPORT <a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfa" title="Specifies how to use the cache.">KIO::CacheControl</a> <a class="code" href="namespaceKIO.html#afb75a9dbf9762227d26af4c67356ec46" title="Parses the string representation of the cache control option.">parseCacheControl</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> &cacheControl); <a name="l00402"></a>00402 <a name="l00410"></a>00410 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#a62e4d73be11c5f2aefcdfffcdca859eb" title="Returns a string representation of the given cache control method.">getCacheControlString</a>(<a class="code" href="namespaceKIO.html#ab5bfb111419deab71b65dce326c73dfa" title="Specifies how to use the cache.">KIO::CacheControl</a> cacheControl); <a name="l00411"></a>00411 <a name="l00417"></a>00417 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#af425927b2894a7bd5c5b890d2508edd2" title="Returns the mount point where device is mounted right now.">findDeviceMountPoint</a>( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& device ); <a name="l00418"></a>00418 <a name="l00426"></a>00426 KIO_EXPORT <a class="codeRef" href="qstring.html">QString</a> <a class="code" href="namespaceKIO.html#a757e4b3d0ec58940564fc3f35e7f7940" title="Returns the mount point on which resides filename.">findPathMountPoint</a>( <span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a> & filename ); <a name="l00427"></a>00427 <a name="l00435"></a>00435 KIO_EXPORT <span class="keywordtype">bool</span> <a class="code" href="namespaceKIO.html#a72e962147780f74e7c44f9c4ea533778" title="Checks if the path belongs to a filesystem that is probably slow.">probably_slow_mounted</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& filename); <a name="l00436"></a>00436 <a name="l00443"></a>00443 KIO_EXPORT <span class="keywordtype">bool</span> <a class="code" href="namespaceKIO.html#a9311ebcd9c733a92cab7d62466bca0cf" title="Checks if the path belongs to a filesystem that is manually mounted.">manually_mounted</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& filename); <a name="l00444"></a>00444 <a name="l00445"></a>00445 <span class="keyword">enum</span> FileSystemFlag { SupportsChmod, SupportsChown, SupportsUTime, <a name="l00446"></a>00446 SupportsSymlinks, CaseInsensitive }; <a name="l00467"></a>00467 KIO_EXPORT <span class="keywordtype">bool</span> <a class="code" href="namespaceKIO.html#ac5244964e95bd83fc1000ec6f5a84306" title="Checks the capabilities of the filesystem to which a given file belongs.">testFileSystemFlag</a>(<span class="keyword">const</span> <a class="codeRef" href="qstring.html">QString</a>& filename, FileSystemFlag flag); <a name="l00468"></a>00468 <a name="l00469"></a>00469 <a name="l00470"></a>00470 <span class="comment">/************</span> <a name="l00471"></a>00471 <span class="comment"> *</span> <a name="l00472"></a>00472 <span class="comment"> * Universal Directory Service</span> <a name="l00473"></a>00473 <span class="comment"> *</span> <a name="l00474"></a>00474 <span class="comment"> * Any file or URL can be represented by the UDSEntry type below</span> <a name="l00475"></a>00475 <span class="comment"> * A UDSEntry is a list of atoms</span> <a name="l00476"></a>00476 <span class="comment"> * Each atom contains a specific bit of information for the file</span> <a name="l00477"></a>00477 <span class="comment"> *</span> <a name="l00478"></a>00478 <span class="comment"> * The following UDS constants represent the different possible values</span> <a name="l00479"></a>00479 <span class="comment"> * for m_uds in the UDS atom structure below</span> <a name="l00480"></a>00480 <span class="comment"> *</span> <a name="l00481"></a>00481 <span class="comment"> * Each atom contains a specific bit of information for the file</span> <a name="l00482"></a>00482 <span class="comment"> */</span> <a name="l00483"></a>00483 <span class="keyword">class </span>KIO_EXPORT UDSAtom <a name="l00484"></a>00484 { <a name="l00485"></a>00485 <span class="keyword">public</span>: <a name="l00489"></a>00489 <a class="codeRef" href="qstring.html">QString</a> m_str; <a name="l00493"></a>00493 <span class="keywordtype">long</span> <span class="keywordtype">long</span> m_long; <a name="l00494"></a>00494 <a name="l00498"></a>00498 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_uds; <a name="l00499"></a>00499 }; <a name="l00500"></a>00500 <a name="l00504"></a><a class="code" href="namespaceKIO.html#a945f50df5ed41e069e346b4833572b4e">00504</a> <span class="keyword">typedef</span> <a class="codeRef" href="qvaluelist.html">QValueList<UDSAtom></a> <a class="code" href="namespaceKIO.html#a945f50df5ed41e069e346b4833572b4e" title="An entry is the list of atoms containing all the informations for a file or URL.">UDSEntry</a>; <a name="l00505"></a>00505 <span class="keyword">typedef</span> <a class="codeRef" href="qvaluelist.html">QValueList<UDSEntry></a> <a class="codeRef" href="qvaluelist.html">UDSEntryList</a>; <a name="l00506"></a>00506 <span class="keyword">typedef</span> <a class="codeRef" href="qvaluelistiterator.html">QValueListIterator<UDSEntry></a> <a class="codeRef" href="qvaluelistiterator.html">UDSEntryListIterator</a>; <a name="l00507"></a>00507 <span class="keyword">typedef</span> <a class="codeRef" href="qvaluelistconstiterator.html">QValueListConstIterator<UDSEntry></a> <a class="codeRef" href="qvaluelistconstiterator.html">UDSEntryListConstIterator</a>; <a name="l00508"></a>00508 <a name="l00512"></a><a class="code" href="classKIO_1_1MetaData.html">00512</a> <span class="keyword">class </span>KIO_EXPORT <a class="code" href="classKIO_1_1MetaData.html" title="MetaData is a simple map of key/value strings.">MetaData</a> : <span class="keyword">public</span> <a class="codeRef" href="qmap.html">QMap</a><QString, QString> <a name="l00513"></a>00513 { <a name="l00514"></a>00514 <span class="keyword">public</span>: <a name="l00518"></a><a class="code" href="classKIO_1_1MetaData.html#a25dfac0de653b64a1536d07391cf2db8">00518</a> <a class="code" href="classKIO_1_1MetaData.html#a25dfac0de653b64a1536d07391cf2db8" title="Creates an empty meta data map.">MetaData</a>() : <a class="codeRef" href="qmap.html">QMap</a><<a class="codeRef" href="qstring.html">QString</a>, <a class="codeRef" href="qstring.html">QString</a>>() { }; <a name="l00522"></a><a class="code" href="classKIO_1_1MetaData.html#adb070afc7511f303d1642de21f03e1c2">00522</a> <a class="code" href="classKIO_1_1MetaData.html" title="MetaData is a simple map of key/value strings.">MetaData</a>(<span class="keyword">const</span> <a class="codeRef" href="qmap.html">QMap<QString, QString></a>&metaData) : <a name="l00523"></a>00523 <a class="codeRef" href="qmap.html">QMap</a><<a class="codeRef" href="qstring.html">QString</a>, <a class="codeRef" href="qstring.html">QString</a>>(metaData) { }; <a name="l00524"></a>00524 <a name="l00530"></a><a class="code" href="classKIO_1_1MetaData.html#abd57b329ff13e1e2ebff567f38580ee9">00530</a> <a class="code" href="classKIO_1_1MetaData.html" title="MetaData is a simple map of key/value strings.">MetaData</a> & operator+= ( <span class="keyword">const</span> <a class="codeRef" href="qmap.html">QMap<QString,QString></a> &metaData ) <a name="l00531"></a>00531 { <a name="l00532"></a>00532 <a class="codeRef" href="qmap.html">QMap<QString,QString>::ConstIterator</a> it; <a name="l00533"></a>00533 <span class="keywordflow">for</span>( it = metaData.<a class="codeRef" href="qmap.html#begin">begin</a>(); <a name="l00534"></a>00534 it != metaData.<a class="codeRef" href="qmap.html#end">end</a>(); <a name="l00535"></a>00535 ++it) <a name="l00536"></a>00536 { <a name="l00537"></a>00537 replace(it.key(), it.data()); <a name="l00538"></a>00538 } <a name="l00539"></a>00539 <span class="keywordflow">return</span> *<span class="keyword">this</span>; <a name="l00540"></a>00540 } <a name="l00541"></a>00541 }; <a name="l00542"></a>00542 <a name="l00543"></a>00543 } <a name="l00544"></a>00544 <span class="preprocessor">#endif</span> </pre></div></div> </div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>kio/kio</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</a></li><li><a href="modules.html">Modules</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul> <!-- <h2>Class Picker</h2> <div style="text-align: center;"> <form name="guideform"> <select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value"> <option value="annotated.html">-- Choose --</option> <option value="classKACL.html">kacl</option>, <option value="classKAr.html">kar</option>, <option value="classKArchive.html">karchive</option>, <option value="classKArchiveDirectory.html">karchivedirectory</option>, <option value="classKArchiveEntry.html">karchiveentry</option>, <option value="classKArchiveFile.html">karchivefile</option>, <option value="classKAutoMount.html">kautomount</option>, <option value="classKAutoUnmount.html">kautounmount</option>, <option value="classKDataTool.html">kdatatool</option>, <option value="classKDataToolAction.html">kdatatoolaction</option>, <option value="classKDataToolInfo.html">kdatatoolinfo</option>, <option value="classKDCOPServiceStarter.html">kdcopservicestarter</option>, <option value="classKDEDesktopMimeType.html">kdedesktopmimetype</option>, <option value="classKDirLister.html">kdirlister</option>, <option value="classKDirNotify.html">kdirnotify</option>, <option value="classKDirWatch.html">kdirwatch</option>, <option value="classKEMailSettings.html">kemailsettings</option>, <option value="classKExecMimeType.html">kexecmimetype</option>, <option value="classKFileFilter.html">kfilefilter</option>, <option value="classKFileItem.html">kfileitem</option>, <option value="classKFileMetaInfo.html">kfilemetainfo</option>, <option value="classKFileMetaInfoGroup.html">kfilemetainfogroup</option>, <option value="classKFileMetaInfoItem.html">kfilemetainfoitem</option>, <option value="classKFileMimeTypeInfo.html">kfilemimetypeinfo</option>, <option value="classKFileMimeTypeInfo_1_1GroupInfo.html">kfilemimetypeinfo::groupinfo</option>, <option value="classKFileMimeTypeInfo_1_1ItemInfo.html">kfilemimetypeinfo::iteminfo</option>, <option value="classKFilePlugin.html">kfileplugin</option>, <option value="classKFileShare.html">kfileshare</option>, <option value="classKFilterBase.html">kfilterbase</option>, <option value="classKFilterDev.html">kfilterdev</option>, <option value="classKFolderType.html">kfoldertype</option>, <option value="classKImageIO.html">kimageio</option>, <option value="classKIO_1_1AuthInfo.html">kio::authinfo</option>, <option value="classKIO_1_1ChmodJob.html">kio::chmodjob</option>, <option value="classKIO_1_1Connection.html">kio::connection</option>, <option value="classKIO_1_1CopyJob.html">kio::copyjob</option>, <option value="classKIO_1_1DataProtocol.html">kio::dataprotocol</option>, <option value="classKIO_1_1DataSlave.html">kio::dataslave</option>, <option value="classKIO_1_1DavJob.html">kio::davjob</option>, <option value="classKIO_1_1DeleteJob.html">kio::deletejob</option>, <option value="classKIO_1_1FileCopyJob.html">kio::filecopyjob</option>, <option value="classKIO_1_1ForwardingSlaveBase.html">kio::forwardingslavebase</option>, <option value="classKIO_1_1Job.html">kio::job</option>, <option value="classKIO_1_1ListJob.html">kio::listjob</option>, <option value="classKIO_1_1MetaData.html">kio::metadata</option>, <option value="classKIO_1_1MetaInfoJob.html">kio::metainfojob</option>, <option value="classKIO_1_1MimetypeJob.html">kio::mimetypejob</option>, <option value="classKIO_1_1MkdirJob.html">kio::mkdirjob</option>, <option value="classKIO_1_1MultiGetJob.html">kio::multigetjob</option>, <option value="classKIO_1_1NetAccess.html">kio::netaccess</option>, <option value="classKIO_1_1NetRC.html">kio::netrc</option>, <option value="classKIO_1_1PasswordDialog.html">kio::passworddialog</option>, <option value="classKIO_1_1PreviewJob.html">kio::previewjob</option>, <option value="classKIO_1_1ProgressBase.html">kio::progressbase</option>, <option value="classKIO_1_1RenameDlg.html">kio::renamedlg</option>, <option value="classKIO_1_1Scheduler.html">kio::scheduler</option>, <option value="classKIO_1_1SimpleJob.html">kio::simplejob</option>, <option value="classKIO_1_1Slave.html">kio::slave</option>, <option value="classKIO_1_1SlaveBase.html">kio::slavebase</option>, <option value="classKIO_1_1SlaveConfig.html">kio::slaveconfig</option>, <option value="classKIO_1_1SlaveInterface.html">kio::slaveinterface</option>, <option value="classKIO_1_1StatJob.html">kio::statjob</option>, <option value="classKIO_1_1StatusbarProgress.html">kio::statusbarprogress</option>, <option value="classKIO_1_1StoredTransferJob.html">kio::storedtransferjob</option>, <option value="classKIO_1_1TCPSlaveBase.html">kio::tcpslavebase</option>, <option value="classKIO_1_1TransferJob.html">kio::transferjob</option>, <option value="classKLimitedIODevice.html">klimitediodevice</option>, <option value="classKMimeMagic.html">kmimemagic</option>, <option value="classKMimeMagicResult.html">kmimemagicresult</option>, <option value="classKMimeType.html">kmimetype</option>, <option value="classKMimeTypeChooser.html">kmimetypechooser</option>, <option value="classKMimeTypeChooserDialog.html">kmimetypechooserdialog</option>, <option value="classKMimeTypeResolver.html">kmimetyperesolver</option>, <option value="classKNFSShare.html">knfsshare</option>, <option value="classKOCRDialog.html">kocrdialog</option>, <option value="classKOCRDialogFactory.html">kocrdialogfactory</option>, <option value="classKOpenWithHandler.html">kopenwithhandler</option>, <option value="classKProtocolInfo.html">kprotocolinfo</option>, <option value="classKProtocolManager.html">kprotocolmanager</option>, <option value="classKRemoteEncoding.html">kremoteencoding</option>, <option value="classKRun.html">krun</option>, <option value="classKSambaShare.html">ksambashare</option>, <option value="classKScanDialog.html">kscandialog</option>, <option value="classKScanDialogFactory.html">kscandialogfactory</option>, <option value="classKService.html">kservice</option>, <option value="classKServiceGroup.html">kservicegroup</option>, <option value="classKServiceOffer.html">kserviceoffer</option>, <option value="classKServiceType.html">kservicetype</option>, <option value="classKServiceTypeProfile.html">kservicetypeprofile</option>, <option value="classKShellCompletion.html">kshellcompletion</option>, <option value="classKShred.html">kshred</option>, <option value="classKSimpleFileFilter.html">ksimplefilefilter</option>, <option value="classKTar.html">ktar</option>, <option value="classKTrader.html">ktrader</option>, <option value="classKURIFilter.html">kurifilter</option>, <option value="classKURIFilterData.html">kurifilterdata</option>, <option value="classKURIFilterPlugin.html">kurifilterplugin</option>, <option value="classKURIFilterPluginList.html">kurifilterpluginlist</option>, <option value="classKURLCompletion.html">kurlcompletion</option>, <option value="classKURLPixmapProvider.html">kurlpixmapprovider</option>, <option value="classKZip.html">kzip</option>, <option value="classObserver.html">observer</option>, <option value="classRenameDlgPlugin.html">renamedlgplugin</option>, <option value="classThumbCreator.html">thumbcreator</option>, </select> </form> </div> --> </div></div> <div class="menu_box"><h2>API Dox</h2> <div class="nav_list"> <ul> <li><a href="../../../arts/html/index.html">arts</a></li><li><a href="../../../dcop/html/index.html">dcop</a></li><li><a href="../../../dnssd/html/index.html">dnssd</a></li><li><a href="../../../interfaces/html/index.html">interfaces</a></li><li> <a href="../../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li> <a href="../../../interfaces/kimproxy/library/html/index.html">library</a></li><li> <a href="../../../interfaces/kspeech/html/index.html">kspeech</a></li><li> <a href="../../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../../kabc/html/index.html">kabc</a></li><li><a href="../../../kate/html/index.html">kate</a></li><li><a href="../../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../../kdecore/html/index.html">kdecore</a></li><li><a href="../../../kded/html/index.html">kded</a></li><li><a href="../../../kdefx/html/index.html">kdefx</a></li><li><a href="../../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../../kdesu/html/index.html">kdesu</a></li><li><a href="../../../kdeui/html/index.html">kdeui</a></li><li><a href="../../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../../khtml/html/index.html">khtml</a></li><li><a href="../../../kimgio/html/index.html">kimgio</a></li><li><a href="../../../kinit/html/index.html">kinit</a></li><li><a href="../../../kio/html/index.html">kio</a></li><li> <a href="../../../kio/bookmarks/html/index.html">bookmarks</a></li><li> <a href="../../../kio/httpfilter/html/index.html">httpfilter</a></li><li> <a href="../../../kio/kfile/html/index.html">kfile</a></li><li> <a href="../../../kio/kio/html/index.html">kio</a></li><li> <a href="../../../kio/kioexec/html/index.html">kioexec</a></li><li> <a href="../../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li> <a href="../../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../../kioslave/html/index.html">kioslave</a></li><li> <a href="../../../kioslave/http/html/index.html">http</a></li><li><a href="../../../kjs/html/index.html">kjs</a></li><li><a href="../../../kmdi/html/index.html">kmdi</a></li><li> <a href="../../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../../kparts/html/index.html">kparts</a></li><li><a href="../../../kresources/html/index.html">kresources</a></li><li><a href="../../../kspell2/html/index.html">kspell2</a></li><li><a href="../../../kunittest/html/index.html">kunittest</a></li><li><a href="../../../kutils/html/index.html">kutils</a></li><li><a href="../../../kwallet/html/index.html">kwallet</a></li><li><a href="../../../libkmid/html/index.html">libkmid</a></li><li><a href="../../../libkscreensaver/html/index.html">libkscreensaver</a></li> </ul></div></div> </td> </tr> </table> <span class="doNotDisplay"> <a href="http://www.kde.org/" accesskey="8">KDE Home</a> | <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a> </span> <div style="height: 8px"></div> <div id="footer"> <div id="footer_left"> Maintained by <a href="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">Allen Winter</a>. <br/> KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a> </div> <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a> WARNING END --> </body> </html>