KIO
kprotocolmanager.h
Provides information about I/O (Internet, etc.) settings chosen/set by the end user.
Definition kprotocolmanager.h:54
static int proxyConnectTimeout()
Returns the preferred timeout value for proxy connections in seconds.
Definition kprotocolmanager.cpp:111
static bool supportsOpening(const QUrl &url)
Returns whether the protocol can be opened using KIO::open(const QUrl&).
Definition kprotocolmanager.cpp:277
static KProtocolInfo::Type outputType(const QUrl &url)
Returns whether the protocol should be treated as a filesystem or as a stream when writing to it.
Definition kprotocolmanager.cpp:177
static bool supportsPermissions(const QUrl &url)
Returns whether the protocol suppports KIO/POSIX permissions handling.
Definition kprotocolmanager.cpp:388
static QString charsetFor(const QUrl &url)
Returns the charset to use for the specified url.
Definition kprotocolmanager.cpp:383
static QStringList listing(const QUrl &url)
Returns the list of fields this protocol returns when listing The current possibilities are Name,...
Definition kprotocolmanager.cpp:207
static bool canRenameToFile(const QUrl &url)
Returns whether the protocol can rename (i.e.
Definition kprotocolmanager.cpp:327
static bool supportsReading(const QUrl &url)
Returns whether the protocol can retrieve data from URLs.
Definition kprotocolmanager.cpp:217
static bool canCopyFromFile(const QUrl &url)
Returns whether the protocol can copy files/objects directly from the filesystem itself.
Definition kprotocolmanager.cpp:297
static QString defaultMimetype(const QUrl &url)
Returns default MIME type for this URL based on the protocol.
Definition kprotocolmanager.cpp:357
static bool canRenameFromFile(const QUrl &url)
Returns whether the protocol can rename (i.e.
Definition kprotocolmanager.cpp:317
static KProtocolInfo::Type inputType(const QUrl &url)
Returns whether the protocol should be treated as a filesystem or as a stream when reading from it.
Definition kprotocolmanager.cpp:167
static bool supportsListing(const QUrl &url)
Returns whether the protocol can list files/objects.
Definition kprotocolmanager.cpp:197
static bool supportsDeleting(const QUrl &url)
Returns whether the protocol can delete files/objects.
Definition kprotocolmanager.cpp:247
static bool supportsLinking(const QUrl &url)
Returns whether the protocol can create links between files/objects.
Definition kprotocolmanager.cpp:257
static KProtocolInfo::FileNameUsedForCopying fileNameUsedForCopying(const QUrl &url)
This setting defines the strategy to use for generating a filename, when copying a file or directory ...
Definition kprotocolmanager.cpp:347
static QString protocolForArchiveMimetype(const QString &mimeType)
Returns which protocol handles this MIME type, if it's an archive MIME type.
Definition kprotocolmanager.cpp:367
static bool supportsTruncating(const QUrl &url)
Returns whether the protocol can be truncated with FileJob::truncate(KIO::filesize_t length).
Definition kprotocolmanager.cpp:287
static int connectTimeout()
Returns the preferred timeout value for remote connections in seconds.
Definition kprotocolmanager.cpp:100
static bool autoResume()
Returns true if partial downloads should be automatically resumed.
Definition kprotocolmanager.cpp:149
static bool markPartial()
Returns true if partial downloads should be marked with a ".part" extension.
Definition kprotocolmanager.cpp:134
static bool isSourceProtocol(const QUrl &url)
Returns whether the protocol can act as a source protocol.
Definition kprotocolmanager.cpp:187
static bool supportsMoving(const QUrl &url)
Returns whether the protocol can move files/objects between different locations.
Definition kprotocolmanager.cpp:267
static bool canCopyToFile(const QUrl &url)
Returns whether the protocol can copy files/objects directly to the filesystem itself.
Definition kprotocolmanager.cpp:307
static int minimumKeepSize()
Returns the minimum file size for keeping aborted downloads.
Definition kprotocolmanager.cpp:141
static bool supportsMakeDir(const QUrl &url)
Returns whether the protocol can create directories/folders.
Definition kprotocolmanager.cpp:237
static bool canDeleteRecursive(const QUrl &url)
Returns whether the protocol can recursively delete directories by itself.
Definition kprotocolmanager.cpp:337
static void reparseConfiguration()
Force a reload of the general config file of KIO workers ( kioslaverc).
Definition kprotocolmanager.cpp:56
static bool supportsWriting(const QUrl &url)
Returns whether the protocol can store data to URLs.
Definition kprotocolmanager.cpp:227
static int responseTimeout()
Returns the preferred response timeout value for remote connecting in seconds.
Definition kprotocolmanager.cpp:122
static int readTimeout()
Returns the preferred timeout value for reading from remote connections in seconds.
Definition kprotocolmanager.cpp:89
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.