KIO Namespace Reference
A namespace for KIO globals. More...
Classes | |
class | KIO::AuthInfo |
This class is intended to make it easier to prompt for, cache and retrieve authorization information. A two way messaging class for passing authentication information. More... | |
class | KIO::NetRC |
A Singleton class that provides access to passwords stored in .netrc files for automatic login purposes. An interface to the ftp .netrc files. More... | |
struct | KIO::NetRC::AutoLogin |
Contains auto login information. More... | |
class | KIO::ChmodJob |
This job changes permissions on a list of files or directories, optionally in a recursive manner. More... | |
class | KIO::Connection |
This class provides a simple means for IPC between two applications via a pipe. More... | |
class | KIO::DataProtocol |
This kioslave provides support of data urls as specified by rfc 2397. More... | |
class | KIO::DataSlave |
This class provides a high performance implementation for the data url scheme (rfc2397). More... | |
struct | KIO::DataSlave::QueueStruct |
structure for queueing. More... | |
class | KIO::DavJob |
The transfer job pumps data into and/or out of a Slave. More... | |
class | KIO::MetaData |
MetaData is a simple map of key/value strings. More... | |
class | KIO::Job |
The base class for all jobs. More... | |
class | KIO::SimpleJob |
A simple job (one url and one command). More... | |
class | KIO::StatJob |
A KIO job that retrieves information about a file or directory. More... | |
class | KIO::MkdirJob |
A KIO job that creates a directory. More... | |
class | KIO::TransferJob |
The transfer job pumps data into and/or out of a Slave. More... | |
class | KIO::StoredTransferJob |
StoredTransferJob is a TransferJob (for downloading or uploading data) that also stores a QByteArray with the data, making it simpler to use than the standard TransferJob. More... | |
class | KIO::MultiGetJob |
The MultiGetJob is a TransferJob that allows you to get several files from a single server. More... | |
class | KIO::MimetypeJob |
A MimetypeJob is a TransferJob that allows you to get the mime type of an URL. More... | |
class | KIO::FileCopyJob |
The FileCopyJob copies data from one place to another. More... | |
class | KIO::ListJob |
A ListJob is allows you to get the get the content of a directory. More... | |
class | KIO::CopyJob |
CopyJob is used to move, copy or symlink files and directories. More... | |
class | KIO::DeleteJob |
A more complex Job to delete files and directories. More... | |
class | KIO::MetaInfoJob |
MetaInfoJob is a KIO Job to retrieve meta information from files. KIO Job to retrieve meta information from files.
| |
class | KIO::NetAccess |
Net Transparency. Provides an easy, synchronous interface to KIO file operations. More... | |
class | KIO::PasswordDialog |
A dialog for requesting a login and a password from the end user. dialog for requesting login and password from the end user. More... | |
class | KIO::PreviewJob |
KIO Job to get a thumbnail picture. More... | |
class | KIO::ProgressBase |
This class does all initialization stuff for progress, like connecting signals to slots. Base class for IO progress dialogs. More... | |
class | KIO::RenameDlg |
A dialog for the options to rename two files. A dialog for renaming files.
| |
class | KIO::Scheduler |
The KIO::Scheduler manages io-slaves for the application. More... | |
class | KIO::SlaveBase |
There are two classes that specifies the protocol between application (job) and kioslave. More... | |
class | KIO::SlaveConfig |
SlaveConfig. More... | |
class | KIO::SlaveInterface |
There are two classes that specifies the protocol between application ( KIO::Job) and kioslave. More... | |
class | KIO::StatusbarProgress |
This is a special IO progress widget. IO progress widget for embedding in a statusbar. More... | |
class | KIO::TCPSlaveBase |
There are two classes that specifies the protocol between application (job) and kioslave. More... | |
Typedefs | |
typedef signed long long int | fileoffset_t |
typedef unsigned long long int | filesize_t |
typedef QValueList< UDSAtom > | UDSEntry |
typedef QValueList< UDSEntry > | UDSEntryList |
typedef QValueListIterator< UDSEntry > | UDSEntryListIterator |
typedef QValueListConstIterator< UDSEntry > | UDSEntryListConstIterator |
Enumerations | |
enum | Command { CMD_HOST = '0', CMD_CONNECT = '1', CMD_DISCONNECT = '2', CMD_SLAVE_STATUS = '3', CMD_SLAVE_CONNECT = '4', CMD_SLAVE_HOLD = '5', CMD_NONE = 'A', CMD_TESTDIR = 'B', CMD_GET = 'C', CMD_PUT = 'D', CMD_STAT = 'E', CMD_MIMETYPE = 'F', CMD_LISTDIR = 'G', CMD_MKDIR = 'H', CMD_RENAME = 'I', CMD_COPY = 'J', CMD_DEL = 'K', CMD_CHMOD = 'L', CMD_SPECIAL = 'M', CMD_USERPASS = 'N', CMD_REPARSECONFIGURATION = 'O', CMD_META_DATA = 'P', CMD_SYMLINK = 'Q', CMD_SUBURL = 'R', CMD_MESSAGEBOXANSWER = 'S', CMD_RESUMEANSWER = 'T', CMD_CONFIG = 'U', CMD_MULTI_GET = 'V' } |
enum | Error { ERR_CANNOT_OPEN_FOR_READING = 1, ERR_CANNOT_OPEN_FOR_WRITING = 2, ERR_CANNOT_LAUNCH_PROCESS = 3, ERR_INTERNAL = 4, ERR_MALFORMED_URL = 5, ERR_UNSUPPORTED_PROTOCOL = 6, ERR_NO_SOURCE_PROTOCOL = 7, ERR_UNSUPPORTED_ACTION = 8, ERR_IS_DIRECTORY = 9, ERR_IS_FILE = 10, ERR_DOES_NOT_EXIST = 11, ERR_FILE_ALREADY_EXIST = 12, ERR_DIR_ALREADY_EXIST = 13, ERR_UNKNOWN_HOST = 14, ERR_ACCESS_DENIED = 15, ERR_WRITE_ACCESS_DENIED = 16, ERR_CANNOT_ENTER_DIRECTORY = 17, ERR_PROTOCOL_IS_NOT_A_FILESYSTEM = 18, ERR_CYCLIC_LINK = 19, ERR_USER_CANCELED = 20, ERR_CYCLIC_COPY = 21, ERR_COULD_NOT_CREATE_SOCKET = 22, ERR_COULD_NOT_CONNECT = 23, ERR_CONNECTION_BROKEN = 24, ERR_NOT_FILTER_PROTOCOL = 25, ERR_COULD_NOT_MOUNT = 26, ERR_COULD_NOT_UNMOUNT = 27, ERR_COULD_NOT_READ = 28, ERR_COULD_NOT_WRITE = 29, ERR_COULD_NOT_BIND = 30, ERR_COULD_NOT_LISTEN = 31, ERR_COULD_NOT_ACCEPT = 32, ERR_COULD_NOT_LOGIN = 33, ERR_COULD_NOT_STAT = 34, ERR_COULD_NOT_CLOSEDIR = 35, ERR_COULD_NOT_MKDIR = 37, ERR_COULD_NOT_RMDIR = 38, ERR_CANNOT_RESUME = 39, ERR_CANNOT_RENAME = 40, ERR_CANNOT_CHMOD = 41, ERR_CANNOT_DELETE = 42, ERR_SLAVE_DIED = 43, ERR_OUT_OF_MEMORY = 44, ERR_UNKNOWN_PROXY_HOST = 45, ERR_COULD_NOT_AUTHENTICATE = 46, ERR_ABORTED = 47, ERR_INTERNAL_SERVER = 48, ERR_SERVER_TIMEOUT = 49, ERR_SERVICE_NOT_AVAILABLE = 50, ERR_UNKNOWN = 51, ERR_UNKNOWN_INTERRUPT = 53, ERR_CANNOT_DELETE_ORIGINAL = 54, ERR_CANNOT_DELETE_PARTIAL = 55, ERR_CANNOT_RENAME_ORIGINAL = 56, ERR_CANNOT_RENAME_PARTIAL = 57, ERR_NEED_PASSWD = 58, ERR_CANNOT_SYMLINK = 59, ERR_NO_CONTENT = 60, ERR_DISK_FULL = 61, ERR_IDENTICAL_FILES = 62, ERR_SLAVE_DEFINED = 63, ERR_UPGRADE_REQUIRED = 64, ERR_POST_DENIED = 65 } |
enum | UDSAtomTypes { UDS_STRING = 1, UDS_LONG = 2, UDS_TIME = 4 | UDS_LONG, UDS_SIZE = 8 | UDS_LONG, UDS_SIZE_LARGE = 32768 | UDS_LONG, UDS_USER = 16 | UDS_STRING, UDS_ICON_NAME = 24 | UDS_STRING, UDS_GROUP = 32 | UDS_STRING, UDS_EXTRA = 48 | UDS_STRING, UDS_NAME = 64 | UDS_STRING, UDS_ACCESS = 128 | UDS_LONG, UDS_MODIFICATION_TIME = 256 | UDS_TIME, UDS_ACCESS_TIME = 512 | UDS_TIME, UDS_CREATION_TIME = 1024 | UDS_TIME, UDS_FILE_TYPE = 2048 | UDS_LONG, UDS_LINK_DEST = 4096 | UDS_STRING, UDS_URL = 8192 | UDS_STRING, UDS_MIME_TYPE = 16384 | UDS_STRING, UDS_GUESSED_MIME_TYPE = 16392 | UDS_STRING, UDS_XML_PROPERTIES = 32768 | UDS_STRING } |
enum | CacheControl { CC_CacheOnly, CC_Cache, CC_Verify, CC_Refresh, CC_Reload } |
enum | FileSystemFlag { SupportsChmod, SupportsChown, SupportsUTime, SupportsSymlinks, CaseInsensitive } |
enum | Progress { DEFAULT = 1, STATUSBAR = 2, LIST = 3 } |
enum | RenameDlg_Mode { M_OVERWRITE = 1, M_OVERWRITE_ITSELF = 2, M_SKIP = 4, M_SINGLE = 8, M_MULTI = 16, M_RESUME = 32, M_NORENAME = 64 } |
enum | RenameDlg_Result { R_RESUME = 6, R_RESUME_ALL = 7, R_OVERWRITE = 4, R_OVERWRITE_ALL = 5, R_SKIP = 2, R_AUTO_SKIP = 3, R_RENAME = 1, R_CANCEL = 0 } |
enum | SkipDlg_Result { S_SKIP = 1, S_AUTO_SKIP = 2, S_CANCEL = 0 } |
enum | Info { INF_TOTAL_SIZE = 10, INF_PROCESSED_SIZE = 11, INF_SPEED, INF_REDIRECTION = 20, INF_MIME_TYPE = 21, INF_ERROR_PAGE = 22, INF_WARNING = 23, INF_GETTING_FILE, INF_NEED_PASSWD = 25, INF_INFOMESSAGE, INF_META_DATA, INF_NETWORK_STATUS, INF_MESSAGEBOX } |
enum | Message { MSG_DATA = 100, MSG_DATA_REQ, MSG_ERROR, MSG_CONNECTED, MSG_FINISHED, MSG_STAT_ENTRY, MSG_LIST_ENTRIES, MSG_RENAMED, MSG_RESUME, MSG_SLAVE_STATUS, MSG_SLAVE_ACK, MSG_NET_REQUEST, MSG_NET_DROP, MSG_NEED_SUBURL_DATA, MSG_CANRESUME, MSG_AUTH_KEY, MSG_DEL_AUTH_KEY } |
Functions | |
QDataStream & | operator<< (QDataStream &s, const AuthInfo &a) |
QDataStream & | operator>> (QDataStream &s, AuthInfo &a) |
ChmodJob * | chmod (const KFileItemList &lstItems, int permissions, int mask, QString newOwner, QString newGroup, bool recursive, bool showProgressInfo=true) |
DavJob * | davPropFind (const KURL &url, const QDomDocument &properties, QString depth, bool showProgressInfo=true) |
DavJob * | davPropPatch (const KURL &url, const QDomDocument &properties, bool showProgressInfo=true) |
DavJob * | davSearch (const KURL &url, const QString &nsURI, const QString &qName, const QString &query, bool showProgressInfo=true) |
QString | convertSize (KIO::filesize_t size) |
QString | number (KIO::filesize_t size) |
QString | convertSizeFromKB (KIO::filesize_t kbSize) |
QTime | calculateRemaining (KIO::filesize_t totalSize, KIO::filesize_t processedSize, KIO::filesize_t speed) |
QString | itemsSummaryString (uint items, uint files, uint dirs, KIO::filesize_t size, bool showSize) |
QString | encodeFileName (const QString &str) |
QString | decodeFileName (const QString &str) |
QString | buildErrorString (int errorCode, const QString &errorText) |
QString | buildHTMLErrorString (int errorCode, const QString &errorText, const KURL *reqUrl=0L, int method=-1) |
QByteArray | rawErrorDetail (int errorCode, const QString &errorText, const KURL *reqUrl=0L, int method=-1) |
QString | unsupportedActionErrorString (const QString &protocol, int cmd) |
KIO::CacheControl | parseCacheControl (const QString &cacheControl) |
QString | getCacheControlString (KIO::CacheControl cacheControl) |
QString | findDeviceMountPoint (const QString &device) |
QString | findPathMountPoint (const QString &filename) |
bool | probably_slow_mounted (const QString &filename) |
bool | manually_mounted (const QString &filename) |
bool | testFileSystemFlag (const QString &filename, FileSystemFlag flag) |
SimpleJob * | mkdir (const KURL &url, int permissions=-1) |
SimpleJob * | rmdir (const KURL &url) |
SimpleJob * | chmod (const KURL &url, int permissions) |
SimpleJob * | rename (const KURL &src, const KURL &dest, bool overwrite) |
SimpleJob * | symlink (const QString &target, const KURL &dest, bool overwrite, bool showProgressInfo=true) |
SimpleJob * | special (const KURL &url, const QByteArray &data, bool showProgressInfo=true) |
SimpleJob * | mount (bool ro, const char *fstype, const QString &dev, const QString &point, bool showProgressInfo=true) |
SimpleJob * | unmount (const QString &point, bool showProgressInfo=true) |
SimpleJob * | http_update_cache (const KURL &url, bool no_cache, time_t expireDate) |
StatJob * | stat (const KURL &url, bool showProgressInfo=true) |
StatJob * | stat (const KURL &url, bool sideIsSource, short int details, bool showProgressInfo=true) |
TransferJob * | get (const KURL &url, bool reload=false, bool showProgressInfo=true) |
TransferJob * | put (const KURL &url, int permissions, bool overwrite, bool resume, bool showProgressInfo=true) |
TransferJob * | http_post (const KURL &url, const QByteArray &postData, bool showProgressInfo=true) |
StoredTransferJob * | storedGet (const KURL &url, bool reload=false, bool showProgressInfo=true) |
StoredTransferJob * | storedPut (const QByteArray &arr, const KURL &url, int permissions, bool overwrite, bool resume, bool showProgressInfo=true) |
MultiGetJob * | multi_get (long id, const KURL &url, const MetaData &metaData) |
MimetypeJob * | mimetype (const KURL &url, bool showProgressInfo=true) |
FileCopyJob * | file_copy (const KURL &src, const KURL &dest, int permissions=-1, bool overwrite=false, bool resume=false, bool showProgressInfo=true) |
FileCopyJob * | file_move (const KURL &src, const KURL &dest, int permissions=-1, bool overwrite=false, bool resume=false, bool showProgressInfo=true) |
SimpleJob * | file_delete (const KURL &src, bool showProgressInfo=true) |
ListJob * | listDir (const KURL &url, bool showProgressInfo=true, bool includeHidden=true) |
ListJob * | listRecursive (const KURL &url, bool showProgressInfo=true, bool includeHidden=true) |
CopyJob * | copy (const KURL &src, const KURL &dest, bool showProgressInfo=true) |
CopyJob * | copyAs (const KURL &src, const KURL &dest, bool showProgressInfo=true) |
CopyJob * | copy (const KURL::List &src, const KURL &dest, bool showProgressInfo=true) |
CopyJob * | move (const KURL &src, const KURL &dest, bool showProgressInfo=true) |
CopyJob * | moveAs (const KURL &src, const KURL &dest, bool showProgressInfo=true) |
CopyJob * | move (const KURL::List &src, const KURL &dest, bool showProgressInfo=true) |
CopyJob * | link (const KURL &src, const KURL &destDir, bool showProgressInfo=true) |
CopyJob * | link (const KURL::List &src, const KURL &destDir, bool showProgressInfo=true) |
CopyJob * | linkAs (const KURL &src, const KURL &dest, bool showProgressInfo=true) |
DeleteJob * | del (const KURL &src, bool shred=false, bool showProgressInfo=true) |
DeleteJob * | del (const KURL::List &src, bool shred=false, bool showProgressInfo=true) |
int | matchConstraint (const ParseTreeBase *_tree, const KService::Ptr &_service, const KServiceTypeProfile::OfferList &_list) |
PreferencesReturn | matchPreferences (const ParseTreeBase *_tree, const KService::Ptr &_service, const KServiceTypeProfile::OfferList &_list) |
ParseTreeBase::Ptr | parseConstraints (const QString &_constr) |
ParseTreeBase::Ptr | parsePreferences (const QString &_prefs) |
MetaInfoJob * | fileMetaInfo (const KFileItemList &items) |
MetaInfoJob * | fileMetaInfo (const KURL::List &items) |
Job * | pasteClipboard (const KURL &_dest_url, bool move=false) |
void | pasteData (const KURL &_dest_url, const QByteArray &_data) |
CopyJob * | pasteDataAsync (const KURL &_dest_url, const QByteArray &_data) |
CopyJob * | pasteDataAsync (const KURL &_dest_url, const QByteArray &_data, const QString &text) |
bool | isClipboardEmpty () |
PreviewJob * | filePreview (const KFileItemList &items, int width, int height=0, int iconSize=0, int iconAlpha=70, bool scale=true, bool save=true, const QStringList *enabledPlugins=0) |
PreviewJob * | filePreview (const KURL::List &items, int width, int height=0, int iconSize=0, int iconAlpha=70, bool scale=true, bool save=true, const QStringList *enabledPlugins=0) |
RenameDlg_Result | open_RenameDlg (const QString &caption, const QString &src, const QString &dest, RenameDlg_Mode mode, QString &newDestPath, KIO::filesize_t sizeSrc=(KIO::filesize_t)-1, KIO::filesize_t sizeDest=(KIO::filesize_t)-1, time_t ctimeSrc=(time_t)-1, time_t ctimeDest=(time_t)-1, time_t mtimeSrc=(time_t)-1, time_t mtimeDest=(time_t)-1) |
SkipDlg_Result | open_SkipDlg (bool _multi, const QString &_error_text=QString::null) |
void | readConfig (KConfig *config, const QString &group, MetaData *metaData) |
Variables | |
KStaticDeleter< SlaveConfig > | slaveconfigsd |
Detailed Description
A namespace for KIO globals.Typedef Documentation
|
64-bit file offset
|
|
|
An entry is the list of atoms containing all the informations for a file or URL.
Definition at line 448 of file global.h. Referenced by KFileItem::KFileItem(), KPropertiesDialog::KPropertiesDialog(), KIO::SlaveBase::listEntry(), KFileItem::refresh(), KIO::PreviewJob::slotResult(), KIO::DeleteJob::slotResult(), KIO::NetAccess::stat(), KIO::SlaveBase::statEntry(), and KIO::StatJob::statResult(). |
Enumeration Type Documentation
|
Commands that can be invoked by a job.
|
|
Error codes that can be emitted by KIO.
|
|
|
Specifies how to use the cache.
|
|
The result of open_RenameDlg().
Definition at line 40 of file renamedlg.h. |
|
Identifiers for KIO informational messages.
Definition at line 46 of file slaveinterface.h. |
|
Identifiers for KIO data messages.
Definition at line 66 of file slaveinterface.h. |
Function Documentation
|
Creates a job that changes permissions/ownership on several files or directories, optionally recursively. This version of chmod uses a KFileItemList so that it directly knows what to do with the items. TODO: a version that takes a KURL::List, and a general job that stats each url and returns a KFileItemList. Note that change of ownership is only supported for local files. Inside directories, the "x" bits will only be changed for files that had at least one "x" bit before, and for directories. This emulates the behavior of chmod +X.
Definition at line 237 of file chmodjob.cpp. References kdError(). Referenced by KFilePermissionsPropsPlugin::applyChanges(). |
|
Creates a new DavJob that issues a PROPFIND command.
PROPFIND retrieves the properties of the resource identified by the given
Definition at line 114 of file davjob.cpp. References KIO::Job::addMetaData(). |
|
Creates a new DavJob that issues a PROPPATCH command.
PROPPATCH sets the properties of the resource identified by the given
Definition at line 122 of file davjob.cpp. |
|
Creates a new DavJob that issues a SEARCH command.
Definition at line 127 of file davjob.cpp. |
|
Converts
Definition at line 46 of file global.cpp. References filesize_t. Referenced by convertSizeFromKB(), KFileItem::getToolTipText(), and KFileMimeTypeInfo::ItemInfo::string(). |
|
Converts a size to a string representation Not unlike QString::number(...).
Definition at line 84 of file global.cpp. References filesize_t. Referenced by KIO::SlaveBase::canResume(), and KFileView::sortingKey(). |
|
Converts size from kilo-bytes to the string representation.
Definition at line 79 of file global.cpp. References convertSize(), and filesize_t. Referenced by KFileMimeTypeInfo::ItemInfo::string(). |
|
Calculates remaining time from total size, processed size and speed.
Definition at line 91 of file global.cpp. References filesize_t. |
|
Helper for showing information about a set of files and directories.
Definition at line 114 of file global.cpp. References filesize_t. |
|
Encodes (from the text displayed to the real filename) This translates into % and / into 2f Used by KIO::link, for instance.
Definition at line 129 of file global.cpp. Referenced by KFilePropsPlugin::applyChanges(). |
|
Decodes (from the filename to the text displayed) This translates 2[fF] into / and % into .
Definition at line 144 of file global.cpp. Referenced by KFileItem::KFileItem(), and KFileItem::setName(). |
|
Returns a translated error message for
Definition at line 177 of file global.cpp. Referenced by KIO::Job::errorString(), and rawErrorDetail(). |
|
Returns a translated html error message for
|
|
Returns translated error details for
Definition at line 471 of file global.cpp. References buildErrorString(), KURL::fileName(), KLocale::formatDateTime(), KURL::host(), KGlobal::locale(), KURL::path(), KURL::prettyURL(), and KURL::protocol(). Referenced by KIO::Job::detailedErrorStrings(). |
|
Returns an appropriate error message if the given command
Definition at line 382 of file global.cpp. Referenced by KIO::SlaveBase::chmod(), KIO::SlaveBase::copy(), KIO::SlaveBase::del(), KIO::SlaveBase::get(), KIO::SlaveBase::listDir(), KIO::SlaveBase::mkdir(), KIO::SlaveBase::multiGet(), KIO::SlaveBase::openConnection(), KIO::SlaveBase::put(), KIO::SlaveBase::rename(), KIO::SlaveBase::setSubURL(), KIO::SlaveBase::special(), KIO::SlaveBase::stat(), and KIO::SlaveBase::symlink(). |
|
Parses the string representation of the cache control option.
Definition at line 1899 of file global.cpp. References kdDebug(). Referenced by KProtocolManager::cacheControl(). |
|
Returns a string representation of the given cache control method.
Definition at line 1918 of file global.cpp. References kdDebug(). |
|
Returns the mount point where This means, it has to be mounted, not just defined in fstab. Definition at line 1325 of file global.cpp. References kdDebug(), and perror(). Referenced by KDEDesktopMimeType::builtinServices(), KDEDesktopMimeType::executeService(), and KDEDesktopMimeType::icon(). |
|
Returns the mount point on which resides For instance if /home is a separate partition, findPathMountPoint("/home/user/blah") will return /home
Definition at line 1855 of file global.cpp. Referenced by KDiskFreeSp::findUsageInfo(), and KFilePropsPlugin::KFilePropsPlugin(). |
|
Checks if the path belongs to a filesystem that is probably slow. It checks for NFS or for paths belonging to automounted paths not yet mounted
Definition at line 1870 of file global.cpp. |
|
Checks if the path belongs to a filesystem that is manually mounted.
Definition at line 1862 of file global.cpp. |
|
Checks the capabilities of the filesystem to which a given file belongs. given feature (e.g. chmod).
Definition at line 1878 of file global.cpp. References kdDebug(). |
|
Creates a single directory.
|
|
Removes a single directory. The directory is assumed to be empty.
|
|
Changes permissions on a file or directory. See the other chmod below for changing many files or directories.
|
|
Rename a file or directory. Warning: this operation fails if a direct renaming is not possible (like with files or dirs on separate partitions) Use move or file_move in this case.
|
|
Create or move a symlink. This is the lowlevel operation, similar to file_copy and file_move. It doesn't do any check (other than those the slave does) and it doesn't show rename and skip dialogs - use KIO::link for that.
|
|
Execute any command that is specific to one slave (protocol). Examples are : HTTP POST, mount and unmount (kio_file)
|
|
Mount filesystem.
Special job for
Definition at line 705 of file job.cpp. References Observer::mounting(), Observer::self(), and special(). Referenced by KAutoMount::KAutoMount(). |
|
Unmount filesystem.
Special job for
Definition at line 715 of file job.cpp. References Observer::self(), special(), and Observer::unmounting(). Referenced by KAutoUnmount::KAutoUnmount(). |
|
HTTP cache update.
Definition at line 817 of file job.cpp. References KURL::protocol(), and KIO::Scheduler::scheduleJob(). |
|
Find all details for one file or directory.
|
|
Find all details for one file or directory.
This version of the call includes two additional booleans,
Definition at line 805 of file job.cpp. References kdDebug(), Observer::self(), KIO::StatJob::setDetails(), KIO::StatJob::setSide(), and Observer::stating(). |
|
Get (a.k.a. read). The slave emits the data through data().
Definition at line 1133 of file job.cpp. References KIO::Job::addMetaData(). |
|
Put (a.k.a. write)
|
|
HTTP POST (for form data). Example: job = KIO::http_post( url, postData, false ); job->addMetaData("content-type", contentType ); job->addMetaData("referrer", referrerURL);
You MUST specify content-type!
Often
Definition at line 1156 of file job.cpp. References KURL::path(), KURL::port(), KURL::prettyURL(), KURL::protocol(), KConfigBase::readIntListEntry(), and KURL::setPath(). |
|
Get (a.k.a. read), into a single QByteArray.
Definition at line 1354 of file job.cpp. References KIO::Job::addMetaData(). |
|
Put (a.k.a. write) data from a single QByteArray.
Definition at line 1364 of file job.cpp. References KIO::StoredTransferJob::setData(). |
|
Creates a new mult-get job.
Definition at line 4145 of file job.cpp. References KIO::MultiGetJob::get(). |
|
Find mimetype for one file or directory.
Definition at line 1422 of file job.cpp. References Observer::self(), and Observer::stating(). |
|
Copy a single file. Uses either SlaveBase::copy() if the slave supports that or get() and put() otherwise.
|
|
Move a single file. Use either SlaveBase::rename() if the slave supports that, or copy() and del() otherwise, or eventually get() & put() & del()
|
|
Delete a single file.
|
|
List the contents of "." and ".." are returned, filter them out if you don't want them.
|
|
The same as the previous method, but recurses subdirectories. "." and ".." are returned but only for the toplevel directory. Filter them out if you don't want them.
Definition at line 2010 of file job.cpp. Referenced by KIO::DeleteJob::slotResult(). |
|
Copy a file or directory This emulates the cp command completely.
Definition at line 3482 of file job.cpp. Referenced by KFilePropsPlugin::applyChanges(), and pasteClipboard(). |
|
Copy a file or directory As opposed to copy(), this doesn't emulate cp, but is the only way to copy a directory, giving it a new name and getting an error box if a directory already exists with the same name.
|
|
Copy a list of file/dirs
|
|
Moves a file or directory
Definition at line 3503 of file job.cpp. Referenced by KFilePropsPlugin::applyChanges(), pasteClipboard(), and pasteDataAsync(). |
|
Moves a file or directory Unlike move() this operation will fail when the directory already exists.
|
|
Moves a list of files or directories
|
|
Create a link. If the protocols and hosts are the same, a Unix symlink will be created. Otherwise, a .desktop file of Type Link and pointing to the src URL will be created.
|
|
Create several links If the protocols and hosts are the same, a Unix symlink will be created. Otherwise, a .desktop file of Type Link and pointing to the src URL will be created.
|
|
Create a link. Unlike link() this operation will fail when the directory already exists. If the protocols and hosts are the same, a Unix symlink will be created. Otherwise, a .desktop file of Type Link and pointing to the src URL will be created.
|
|
Delete a file or directory.
Definition at line 3963 of file job.cpp. Referenced by KDirOperator::del(). |
|
Deletes a list of files or directories.
|
|
Retrieves meta information for the given items.
Definition at line 172 of file metainfojob.cpp. |
|
Retrieves meta information for the given items.
Definition at line 177 of file metainfojob.cpp. |
|
Pastes the content of the clipboard (e.g. URLs) to the given destination URL.
Definition at line 94 of file paste.cpp. References copy(), KURLDrag::decode(), KMessageBox::error(), KURL::isValid(), move(), pasteDataAsync(), KMessageBox::sorry(), and KURL::url(). |
|
Pastes the given
Definition at line 155 of file paste.cpp. References KTempFile::close(), KTempFile::dataStream(), KURL::isEmpty(), KTempFile::name(), KTempFile::setAutoDelete(), and KIO::NetAccess::upload(). |
|
Pastes the given
Definition at line 172 of file paste.cpp. Referenced by pasteClipboard(). |
|
Pastes the given
Definition at line 177 of file paste.cpp. References KTempFile::close(), KTempFile::dataStream(), KURL::isEmpty(), move(), KTempFile::name(), and KURL::setPath(). |
|
Checks whether the clipboard is empty.
|
|
Creates a PreviewJob to generate or retrieve a preview image for the given URL.
Definition at line 498 of file previewjob.cpp. Referenced by KFileIconView::showPreviews(). |
|
Creates a PreviewJob to generate or retrieve a preview image for the given URL.
Definition at line 506 of file previewjob.cpp. |