• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KIO

  • kio
  • kio
global.h
Go to the documentation of this file.
1// -*- c-basic-offset: 2 -*-
2/* This file is part of the KDE libraries
3 Copyright (C) 2000-2005 David Faure <faure@kde.org>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License version 2 as published by the Free Software Foundation.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
18*/
19#ifndef KIO_GLOBAL_H
20#define KIO_GLOBAL_H
21
22#include <kio/kio_export.h>
23
24#include <QtCore/QString>
25#include <QtCore/QHash>
26#include <QtCore/QMap>
27#include <QtCore/QList>
28#include <QtCore/QVariant>
29#include <QtCore/QFile> // for QFile::Permissions
30
31#include <kiconloader.h>
32#include <QtGui/QPixmap> // for pixmapForUrl
33
34#include <sys/stat.h> // S_ISDIR
35#include <sys/types.h> // mode_t
36
37#include <kjob.h>
38
39#ifdef Q_CC_MSVC
40template class KDE_EXPORT QMap<QString, QString>;
41#endif
42
43class KUrl;
44class KJobTrackerInterface;
45
46class QTime;
47
52namespace KIO
53{
55 typedef qlonglong fileoffset_t;
57 typedef qulonglong filesize_t;
58
65 KIO_EXPORT QString convertSize( KIO::filesize_t size );
66
74 KIO_EXPORT QString number( KIO::filesize_t size );
75
82 KIO_EXPORT QString convertSizeFromKiB( KIO::filesize_t kibSize );
83
92 KIO_EXPORT unsigned int calculateRemainingSeconds( KIO::filesize_t totalSize,
93 KIO::filesize_t processedSize, KIO::filesize_t speed );
94
101 KIO_EXPORT QString convertSeconds( unsigned int seconds );
102
112#ifndef KDE_NO_DEPRECATED
113 KIO_EXPORT_DEPRECATED QTime calculateRemaining( KIO::filesize_t totalSize, KIO::filesize_t processedSize, KIO::filesize_t speed );
114#endif
115
125 KIO_EXPORT QString itemsSummaryString(uint items, uint files, uint dirs, KIO::filesize_t size, bool showSize);
126
134 KIO_EXPORT QString encodeFileName( const QString & str );
142 KIO_EXPORT QString decodeFileName( const QString & str );
143
150 enum Command {
151 CMD_HOST = '0', // 48
152 CMD_CONNECT = '1', // 49
153 CMD_DISCONNECT = '2', // 50
154 CMD_SLAVE_STATUS = '3', // 51
155 CMD_SLAVE_CONNECT = '4', // 52
156 CMD_SLAVE_HOLD = '5', // 53
157 CMD_NONE = 'A', // 65
158 CMD_TESTDIR = 'B', // 66
159 CMD_GET = 'C', // 67
160 CMD_PUT = 'D', // 68
161 CMD_STAT = 'E', // 69
162 CMD_MIMETYPE = 'F', // 70
163 CMD_LISTDIR = 'G', // 71
164 CMD_MKDIR = 'H', // 72
165 CMD_RENAME = 'I', // 73
166 CMD_COPY = 'J', // 74
167 CMD_DEL = 'K', // 75
168 CMD_CHMOD = 'L', // 76
169 CMD_SPECIAL = 'M', // 77
170 CMD_SETMODIFICATIONTIME = 'N', // 78
171 CMD_REPARSECONFIGURATION = 'O', // 79
172 CMD_META_DATA = 'P', // 80
173 CMD_SYMLINK = 'Q', // 81
174 CMD_SUBURL = 'R', // 82 Inform the slave about the url it is streaming on.
175 CMD_MESSAGEBOXANSWER = 'S', // 83
176 CMD_RESUMEANSWER = 'T', // 84
177 CMD_CONFIG = 'U', // 85
178 CMD_MULTI_GET = 'V', // 86
179 CMD_SETLINKDEST = 'W', // 87
180 CMD_OPEN = 'X', // 88
181 CMD_CHOWN = 'Y', // 89
182 CMD_READ = 'Z', // 90
183 CMD_WRITE = 91,
184 CMD_SEEK = 92,
185 CMD_CLOSE = 93,
186 CMD_HOST_INFO = 94
187 // Add new ones here once a release is done, to avoid breaking binary compatibility.
188 // Note that protocol-specific commands shouldn't be added here, but should use special.
189 };
190
194 enum Error {
195 ERR_CANNOT_OPEN_FOR_READING = KJob::UserDefinedError + 1,
196 ERR_CANNOT_OPEN_FOR_WRITING = KJob::UserDefinedError + 2,
197 ERR_CANNOT_LAUNCH_PROCESS = KJob::UserDefinedError + 3,
198 ERR_INTERNAL = KJob::UserDefinedError + 4,
199 ERR_MALFORMED_URL = KJob::UserDefinedError + 5,
200 ERR_UNSUPPORTED_PROTOCOL = KJob::UserDefinedError + 6,
201 ERR_NO_SOURCE_PROTOCOL = KJob::UserDefinedError + 7,
202 ERR_UNSUPPORTED_ACTION = KJob::UserDefinedError + 8,
203 ERR_IS_DIRECTORY = KJob::UserDefinedError + 9, // ... where a file was expected
204 ERR_IS_FILE = KJob::UserDefinedError + 10, // ... where a directory was expected (e.g. listing)
205 ERR_DOES_NOT_EXIST = KJob::UserDefinedError + 11,
206 ERR_FILE_ALREADY_EXIST = KJob::UserDefinedError + 12,
207 ERR_DIR_ALREADY_EXIST = KJob::UserDefinedError + 13,
208 ERR_UNKNOWN_HOST = KJob::UserDefinedError + 14,
209 ERR_ACCESS_DENIED = KJob::UserDefinedError + 15,
210 ERR_WRITE_ACCESS_DENIED = KJob::UserDefinedError + 16,
211 ERR_CANNOT_ENTER_DIRECTORY = KJob::UserDefinedError + 17,
212 ERR_PROTOCOL_IS_NOT_A_FILESYSTEM = KJob::UserDefinedError + 18,
213 ERR_CYCLIC_LINK = KJob::UserDefinedError + 19,
214 ERR_USER_CANCELED = KJob::KilledJobError,
215 ERR_CYCLIC_COPY = KJob::UserDefinedError + 21,
216 ERR_COULD_NOT_CREATE_SOCKET = KJob::UserDefinedError + 22, // KDE4: s/COULD_NOT/CANNOT/ or the other way round
217 ERR_COULD_NOT_CONNECT = KJob::UserDefinedError + 23,
218 ERR_CONNECTION_BROKEN = KJob::UserDefinedError + 24,
219 ERR_NOT_FILTER_PROTOCOL = KJob::UserDefinedError + 25,
220 ERR_COULD_NOT_MOUNT = KJob::UserDefinedError + 26,
221 ERR_COULD_NOT_UNMOUNT = KJob::UserDefinedError + 27,
222 ERR_COULD_NOT_READ = KJob::UserDefinedError + 28,
223 ERR_COULD_NOT_WRITE = KJob::UserDefinedError + 29,
224 ERR_COULD_NOT_BIND = KJob::UserDefinedError + 30,
225 ERR_COULD_NOT_LISTEN = KJob::UserDefinedError + 31,
226 ERR_COULD_NOT_ACCEPT = KJob::UserDefinedError + 32,
227 ERR_COULD_NOT_LOGIN = KJob::UserDefinedError + 33,
228 ERR_COULD_NOT_STAT = KJob::UserDefinedError + 34,
229 ERR_COULD_NOT_CLOSEDIR = KJob::UserDefinedError + 35,
230 ERR_COULD_NOT_MKDIR = KJob::UserDefinedError + 37,
231 ERR_COULD_NOT_RMDIR = KJob::UserDefinedError + 38,
232 ERR_CANNOT_RESUME = KJob::UserDefinedError + 39,
233 ERR_CANNOT_RENAME = KJob::UserDefinedError + 40,
234 ERR_CANNOT_CHMOD = KJob::UserDefinedError + 41,
235 ERR_CANNOT_DELETE = KJob::UserDefinedError + 42,
236 // The text argument is the protocol that the dead slave supported.
237 // This means for example: file, ftp, http, ...
238 ERR_SLAVE_DIED = KJob::UserDefinedError + 43,
239 ERR_OUT_OF_MEMORY = KJob::UserDefinedError + 44,
240 ERR_UNKNOWN_PROXY_HOST = KJob::UserDefinedError + 45,
241 ERR_COULD_NOT_AUTHENTICATE = KJob::UserDefinedError + 46,
242 ERR_ABORTED = KJob::UserDefinedError + 47, // Action got aborted from application side
243 ERR_INTERNAL_SERVER = KJob::UserDefinedError + 48,
244 ERR_SERVER_TIMEOUT = KJob::UserDefinedError + 49,
245 ERR_SERVICE_NOT_AVAILABLE = KJob::UserDefinedError + 50,
246 ERR_UNKNOWN = KJob::UserDefinedError + 51,
247 // (was a warning) ERR_CHECKSUM_MISMATCH = 52,
248 ERR_UNKNOWN_INTERRUPT = KJob::UserDefinedError + 53,
249 ERR_CANNOT_DELETE_ORIGINAL = KJob::UserDefinedError + 54,
250 ERR_CANNOT_DELETE_PARTIAL = KJob::UserDefinedError + 55,
251 ERR_CANNOT_RENAME_ORIGINAL = KJob::UserDefinedError + 56,
252 ERR_CANNOT_RENAME_PARTIAL = KJob::UserDefinedError + 57,
253 ERR_NEED_PASSWD = KJob::UserDefinedError + 58,
254 ERR_CANNOT_SYMLINK = KJob::UserDefinedError + 59,
255 ERR_NO_CONTENT = KJob::UserDefinedError + 60, // Action succeeded but no content will follow.
256 ERR_DISK_FULL = KJob::UserDefinedError + 61,
257 ERR_IDENTICAL_FILES = KJob::UserDefinedError + 62, // src==dest when moving/copying
258 ERR_SLAVE_DEFINED = KJob::UserDefinedError + 63, // for slave specified errors that can be
259 // rich text. Email links will be handled
260 // by the standard email app and all hrefs
261 // will be handled by the standard browser.
262 // <a href="exec:/khelpcenter ?" will be
263 // forked.
264 ERR_UPGRADE_REQUIRED = KJob::UserDefinedError + 64, // A transport upgrade is required to access this
265 // object. For instance, TLS is demanded by
266 // the server in order to continue.
267 ERR_POST_DENIED = KJob::UserDefinedError + 65, // Issued when trying to POST data to a certain Ports
268 // see job.cpp
269 ERR_COULD_NOT_SEEK = KJob::UserDefinedError + 66,
270 ERR_CANNOT_SETTIME = KJob::UserDefinedError + 67, // Emitted by setModificationTime
271 ERR_CANNOT_CHOWN = KJob::UserDefinedError + 68,
272 ERR_POST_NO_SIZE = KJob::UserDefinedError + 69
273 };
274
282 KIO_EXPORT QString buildErrorString(int errorCode, const QString &errorText);
283
294 KIO_EXPORT QString buildHTMLErrorString(int errorCode, const QString &errorText,
295 const KUrl *reqUrl = 0L, int method = -1 );
296
313 KIO_EXPORT QByteArray rawErrorDetail(int errorCode, const QString &errorText,
314 const KUrl *reqUrl = 0L, int method = -1 );
315
323 KIO_EXPORT QString unsupportedActionErrorString(const QString &protocol, int cmd);
324
330 enum CacheControl
331 {
332 CC_CacheOnly,
333 CC_Cache,
334 CC_Verify,
335 CC_Refresh,
336 CC_Reload
337 };
338
346 KIO_EXPORT KIO::CacheControl parseCacheControl(const QString &cacheControl);
347
355 KIO_EXPORT QString getCacheControlString(KIO::CacheControl cacheControl);
356
375 KIO_EXPORT QPixmap pixmapForUrl( const KUrl & _url, mode_t _mode = 0, KIconLoader::Group _group = KIconLoader::Desktop,
376 int _force_size = 0, int _state = 0, QString * _path = 0 );
377
378 KIO_EXPORT KJobTrackerInterface *getJobTracker();
379
391 KIO_EXPORT QFile::Permissions convertPermissions(int permissions);
392
396class KIO_EXPORT MetaData : public QMap<QString, QString>
397{
398public:
402 MetaData() : QMap<QString, QString>() { }
406 MetaData(const QMap<QString, QString>&metaData) :
407 QMap<QString, QString>(metaData) { }
408
413 MetaData(const QMap<QString,QVariant> &);
414
420 MetaData & operator += ( const QMap<QString,QString> &metaData )
421 {
422 QMap<QString,QString>::ConstIterator it;
423 for(it = metaData.constBegin(); it != metaData.constEnd(); ++it)
424 {
425 insert(it.key(), it.value());
426 }
427 return *this;
428 }
429
440 MetaData & operator += ( const QMap<QString,QVariant> &metaData );
441
448 MetaData & operator = ( const QMap<QString,QVariant> &metaData );
449
456 QVariant toVariant() const;
457};
458
459}
460#endif
KIO::MetaData
MetaData is a simple map of key/value strings.
Definition: global.h:397
KIO::MetaData::MetaData
MetaData()
Creates an empty meta data map.
Definition: global.h:402
KIO::MetaData::MetaData
MetaData(const QMap< QString, QString > &metaData)
Copy constructor.
Definition: global.h:406
KIconLoader::Group
Group
KIconLoader::Desktop
Desktop
KJobTrackerInterface
KJob::UserDefinedError
UserDefinedError
KJob::KilledJobError
KilledJobError
KUrl
QMap
kiconloader.h
kio_export.h
kjob.h
KIO
A namespace for KIO globals.
Definition: kbookmarkmenu.h:55
KIO::convertSize
QString convertSize(KIO::filesize_t size)
Converts size from bytes to the string representation.
Definition: global.cpp:53
KIO::itemsSummaryString
QString itemsSummaryString(uint items, uint files, uint dirs, KIO::filesize_t size, bool showSize)
Helper for showing information about a set of files and directories.
Definition: global.cpp:119
KIO::calculateRemainingSeconds
unsigned int calculateRemainingSeconds(KIO::filesize_t totalSize, KIO::filesize_t processedSize, KIO::filesize_t speed)
Calculates remaining time in seconds from total size, processed size and speed.
Definition: global.cpp:70
KIO::Command
Command
Definition: global.h:150
KIO::CMD_DISCONNECT
@ CMD_DISCONNECT
Definition: global.h:153
KIO::CMD_READ
@ CMD_READ
Definition: global.h:182
KIO::CMD_SUBURL
@ CMD_SUBURL
Definition: global.h:174
KIO::CMD_LISTDIR
@ CMD_LISTDIR
Definition: global.h:163
KIO::CMD_COPY
@ CMD_COPY
Definition: global.h:166
KIO::CMD_HOST
@ CMD_HOST
Definition: global.h:151
KIO::CMD_DEL
@ CMD_DEL
Definition: global.h:167
KIO::CMD_MULTI_GET
@ CMD_MULTI_GET
Definition: global.h:178
KIO::CMD_MESSAGEBOXANSWER
@ CMD_MESSAGEBOXANSWER
Definition: global.h:175
KIO::CMD_SETLINKDEST
@ CMD_SETLINKDEST
Definition: global.h:179
KIO::CMD_CONFIG
@ CMD_CONFIG
Definition: global.h:177
KIO::CMD_REPARSECONFIGURATION
@ CMD_REPARSECONFIGURATION
Definition: global.h:171
KIO::CMD_CHMOD
@ CMD_CHMOD
Definition: global.h:168
KIO::CMD_NONE
@ CMD_NONE
Definition: global.h:157
KIO::CMD_META_DATA
@ CMD_META_DATA
Definition: global.h:172
KIO::CMD_SLAVE_STATUS
@ CMD_SLAVE_STATUS
Definition: global.h:154
KIO::CMD_RESUMEANSWER
@ CMD_RESUMEANSWER
Definition: global.h:176
KIO::CMD_SLAVE_CONNECT
@ CMD_SLAVE_CONNECT
Definition: global.h:155
KIO::CMD_PUT
@ CMD_PUT
Definition: global.h:160
KIO::CMD_OPEN
@ CMD_OPEN
Definition: global.h:180
KIO::CMD_SYMLINK
@ CMD_SYMLINK
Definition: global.h:173
KIO::CMD_MKDIR
@ CMD_MKDIR
Definition: global.h:164
KIO::CMD_CHOWN
@ CMD_CHOWN
Definition: global.h:181
KIO::CMD_WRITE
@ CMD_WRITE
Definition: global.h:183
KIO::CMD_GET
@ CMD_GET
Definition: global.h:159
KIO::CMD_SEEK
@ CMD_SEEK
Definition: global.h:184
KIO::CMD_STAT
@ CMD_STAT
Definition: global.h:161
KIO::CMD_SLAVE_HOLD
@ CMD_SLAVE_HOLD
Definition: global.h:156
KIO::CMD_HOST_INFO
@ CMD_HOST_INFO
Definition: global.h:186
KIO::CMD_TESTDIR
@ CMD_TESTDIR
Definition: global.h:158
KIO::CMD_SPECIAL
@ CMD_SPECIAL
Definition: global.h:169
KIO::CMD_CONNECT
@ CMD_CONNECT
Definition: global.h:152
KIO::CMD_CLOSE
@ CMD_CLOSE
Definition: global.h:185
KIO::CMD_MIMETYPE
@ CMD_MIMETYPE
Definition: global.h:162
KIO::CMD_RENAME
@ CMD_RENAME
Definition: global.h:165
KIO::CMD_SETMODIFICATIONTIME
@ CMD_SETMODIFICATIONTIME
Definition: global.h:170
KIO::convertSizeFromKiB
QString convertSizeFromKiB(KIO::filesize_t kibSize)
Converts size from kibi-bytes (2^10) to the string representation.
Definition: global.cpp:58
KIO::encodeFileName
QString encodeFileName(const QString &str)
Encodes (from the text displayed to the real filename) This translates '/' into a "unicode fraction s...
Definition: global.cpp:146
KIO::buildHTMLErrorString
QString buildHTMLErrorString(int errorCode, const QString &errorText, const KUrl *reqUrl=0L, int method=-1)
Returns a translated html error message for errorCode using the additional error information provided...
KIO::decodeFileName
QString decodeFileName(const QString &str)
Decodes (from the filename to the text displayed) This doesn't do anything anymore,...
Definition: global.cpp:153
KIO::unsupportedActionErrorString
QString unsupportedActionErrorString(const QString &protocol, int cmd)
Returns an appropriate error message if the given command cmd is an unsupported action (ERR_UNSUPPORT...
Definition: global.cpp:376
KIO::calculateRemaining
QTime calculateRemaining(KIO::filesize_t totalSize, KIO::filesize_t processedSize, KIO::filesize_t speed)
Calculates remaining time from total size, processed size and speed.
Definition: global.cpp:95
KIO::CacheControl
CacheControl
Specifies how to use the cache.
Definition: global.h:331
KIO::CC_Cache
@ CC_Cache
Use cached entry if available.
Definition: global.h:333
KIO::CC_Verify
@ CC_Verify
Validate cached entry with remote site if expired.
Definition: global.h:334
KIO::CC_Reload
@ CC_Reload
Always fetch from remote site.
Definition: global.h:336
KIO::CC_CacheOnly
@ CC_CacheOnly
Fail request if not in cache.
Definition: global.h:332
KIO::CC_Refresh
@ CC_Refresh
Always validate cached entry with remote site.
Definition: global.h:335
KIO::rawErrorDetail
QByteArray rawErrorDetail(int errorCode, const QString &errorText, const KUrl *reqUrl=0L, int method=-1)
Returns translated error details for errorCode using the additional error information provided by err...
Definition: global.cpp:473
KIO::convertSeconds
QString convertSeconds(unsigned int seconds)
Convert seconds to a string representing number of days, hours, minutes and seconds.
Definition: global.cpp:79
KIO::fileoffset_t
qlonglong fileoffset_t
64-bit file offset
Definition: global.h:55
KIO::filesize_t
qulonglong filesize_t
64-bit file size
Definition: global.h:57
KIO::Error
Error
Error codes that can be emitted by KIO.
Definition: global.h:194
KIO::ERR_SLAVE_DIED
@ ERR_SLAVE_DIED
Definition: global.h:238
KIO::ERR_COULD_NOT_CLOSEDIR
@ ERR_COULD_NOT_CLOSEDIR
Definition: global.h:229
KIO::ERR_CANNOT_DELETE_PARTIAL
@ ERR_CANNOT_DELETE_PARTIAL
Definition: global.h:250
KIO::ERR_NO_CONTENT
@ ERR_NO_CONTENT
Definition: global.h:255
KIO::ERR_NEED_PASSWD
@ ERR_NEED_PASSWD
Definition: global.h:253
KIO::ERR_UNKNOWN_PROXY_HOST
@ ERR_UNKNOWN_PROXY_HOST
Definition: global.h:240
KIO::ERR_COULD_NOT_LISTEN
@ ERR_COULD_NOT_LISTEN
Definition: global.h:225
KIO::ERR_UNKNOWN
@ ERR_UNKNOWN
Definition: global.h:246
KIO::ERR_SLAVE_DEFINED
@ ERR_SLAVE_DEFINED
Definition: global.h:258
KIO::ERR_IDENTICAL_FILES
@ ERR_IDENTICAL_FILES
Definition: global.h:257
KIO::ERR_DOES_NOT_EXIST
@ ERR_DOES_NOT_EXIST
Definition: global.h:205
KIO::ERR_COULD_NOT_WRITE
@ ERR_COULD_NOT_WRITE
Definition: global.h:223
KIO::ERR_CANNOT_LAUNCH_PROCESS
@ ERR_CANNOT_LAUNCH_PROCESS
Definition: global.h:197
KIO::ERR_NO_SOURCE_PROTOCOL
@ ERR_NO_SOURCE_PROTOCOL
Definition: global.h:201
KIO::ERR_DIR_ALREADY_EXIST
@ ERR_DIR_ALREADY_EXIST
Definition: global.h:207
KIO::ERR_INTERNAL
@ ERR_INTERNAL
Definition: global.h:198
KIO::ERR_UNKNOWN_INTERRUPT
@ ERR_UNKNOWN_INTERRUPT
Definition: global.h:248
KIO::ERR_COULD_NOT_SEEK
@ ERR_COULD_NOT_SEEK
Definition: global.h:269
KIO::ERR_POST_DENIED
@ ERR_POST_DENIED
Definition: global.h:267
KIO::ERR_CONNECTION_BROKEN
@ ERR_CONNECTION_BROKEN
Definition: global.h:218
KIO::ERR_NOT_FILTER_PROTOCOL
@ ERR_NOT_FILTER_PROTOCOL
Definition: global.h:219
KIO::ERR_WRITE_ACCESS_DENIED
@ ERR_WRITE_ACCESS_DENIED
Definition: global.h:210
KIO::ERR_COULD_NOT_CONNECT
@ ERR_COULD_NOT_CONNECT
Definition: global.h:217
KIO::ERR_FILE_ALREADY_EXIST
@ ERR_FILE_ALREADY_EXIST
Definition: global.h:206
KIO::ERR_CANNOT_OPEN_FOR_READING
@ ERR_CANNOT_OPEN_FOR_READING
Definition: global.h:195
KIO::ERR_SERVICE_NOT_AVAILABLE
@ ERR_SERVICE_NOT_AVAILABLE
Definition: global.h:245
KIO::ERR_CANNOT_ENTER_DIRECTORY
@ ERR_CANNOT_ENTER_DIRECTORY
Definition: global.h:211
KIO::ERR_ABORTED
@ ERR_ABORTED
Definition: global.h:242
KIO::ERR_CANNOT_DELETE_ORIGINAL
@ ERR_CANNOT_DELETE_ORIGINAL
Definition: global.h:249
KIO::ERR_COULD_NOT_READ
@ ERR_COULD_NOT_READ
Definition: global.h:222
KIO::ERR_ACCESS_DENIED
@ ERR_ACCESS_DENIED
Definition: global.h:209
KIO::ERR_CANNOT_RESUME
@ ERR_CANNOT_RESUME
Definition: global.h:232
KIO::ERR_COULD_NOT_STAT
@ ERR_COULD_NOT_STAT
Definition: global.h:228
KIO::ERR_MALFORMED_URL
@ ERR_MALFORMED_URL
Definition: global.h:199
KIO::ERR_COULD_NOT_ACCEPT
@ ERR_COULD_NOT_ACCEPT
Definition: global.h:226
KIO::ERR_UPGRADE_REQUIRED
@ ERR_UPGRADE_REQUIRED
Definition: global.h:264
KIO::ERR_COULD_NOT_LOGIN
@ ERR_COULD_NOT_LOGIN
Definition: global.h:227
KIO::ERR_CANNOT_RENAME
@ ERR_CANNOT_RENAME
Definition: global.h:233
KIO::ERR_CYCLIC_LINK
@ ERR_CYCLIC_LINK
Definition: global.h:213
KIO::ERR_CANNOT_CHOWN
@ ERR_CANNOT_CHOWN
Definition: global.h:271
KIO::ERR_CANNOT_CHMOD
@ ERR_CANNOT_CHMOD
Definition: global.h:234
KIO::ERR_CANNOT_RENAME_ORIGINAL
@ ERR_CANNOT_RENAME_ORIGINAL
Definition: global.h:251
KIO::ERR_IS_FILE
@ ERR_IS_FILE
Definition: global.h:204
KIO::ERR_CANNOT_RENAME_PARTIAL
@ ERR_CANNOT_RENAME_PARTIAL
Definition: global.h:252
KIO::ERR_COULD_NOT_RMDIR
@ ERR_COULD_NOT_RMDIR
Definition: global.h:231
KIO::ERR_COULD_NOT_BIND
@ ERR_COULD_NOT_BIND
Definition: global.h:224
KIO::ERR_IS_DIRECTORY
@ ERR_IS_DIRECTORY
Definition: global.h:203
KIO::ERR_CANNOT_SYMLINK
@ ERR_CANNOT_SYMLINK
Definition: global.h:254
KIO::ERR_OUT_OF_MEMORY
@ ERR_OUT_OF_MEMORY
Definition: global.h:239
KIO::ERR_DISK_FULL
@ ERR_DISK_FULL
Definition: global.h:256
KIO::ERR_CANNOT_DELETE
@ ERR_CANNOT_DELETE
Definition: global.h:235
KIO::ERR_INTERNAL_SERVER
@ ERR_INTERNAL_SERVER
Definition: global.h:243
KIO::ERR_COULD_NOT_CREATE_SOCKET
@ ERR_COULD_NOT_CREATE_SOCKET
Definition: global.h:216
KIO::ERR_UNSUPPORTED_ACTION
@ ERR_UNSUPPORTED_ACTION
Definition: global.h:202
KIO::ERR_CYCLIC_COPY
@ ERR_CYCLIC_COPY
Definition: global.h:215
KIO::ERR_USER_CANCELED
@ ERR_USER_CANCELED
Definition: global.h:214
KIO::ERR_PROTOCOL_IS_NOT_A_FILESYSTEM
@ ERR_PROTOCOL_IS_NOT_A_FILESYSTEM
Definition: global.h:212
KIO::ERR_COULD_NOT_MKDIR
@ ERR_COULD_NOT_MKDIR
Definition: global.h:230
KIO::ERR_UNKNOWN_HOST
@ ERR_UNKNOWN_HOST
Definition: global.h:208
KIO::ERR_UNSUPPORTED_PROTOCOL
@ ERR_UNSUPPORTED_PROTOCOL
Definition: global.h:200
KIO::ERR_COULD_NOT_UNMOUNT
@ ERR_COULD_NOT_UNMOUNT
Definition: global.h:221
KIO::ERR_CANNOT_OPEN_FOR_WRITING
@ ERR_CANNOT_OPEN_FOR_WRITING
Definition: global.h:196
KIO::ERR_COULD_NOT_AUTHENTICATE
@ ERR_COULD_NOT_AUTHENTICATE
Definition: global.h:241
KIO::ERR_POST_NO_SIZE
@ ERR_POST_NO_SIZE
Definition: global.h:272
KIO::ERR_COULD_NOT_MOUNT
@ ERR_COULD_NOT_MOUNT
Definition: global.h:220
KIO::ERR_SERVER_TIMEOUT
@ ERR_SERVER_TIMEOUT
Definition: global.h:244
KIO::ERR_CANNOT_SETTIME
@ ERR_CANNOT_SETTIME
Definition: global.h:270
KIO::number
QString number(KIO::filesize_t size)
Converts a size to a string representation Not unlike QString::number(...)
Definition: global.cpp:63
insert
const KShortcut & insert()
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal