KIO
kprotocolinfo.h
31 * The KProtocolInfo methods are reentrant (i.e. can be called from multiple threads simultaneously).
119 * This corresponds to the "ExtraNames=" and "ExtraTypes=" fields in the protocol description file.
226 * This corresponds to the "determineMimetypeFromExtension=" field in the protocol description file.
Information about I/O (Internet, etc.) protocols supported by KDE.
Definition kprotocolinfo.h:34
static QString config(const QString &protocol)
Returns the name of the config file associated with the specified protocol.
Definition kprotocolinfo.cpp:170
static QString protocolClass(const QString &protocol)
Returns the protocol class for the specified protocol.
Definition kprotocolinfo.cpp:250
static bool determineMimetypeFromExtension(const QString &protocol)
Returns whether MIME types can be determined based on extension for this protocol.
Definition kprotocolinfo.cpp:201
static bool showFilePreview(const QString &protocol)
Returns whether file previews should be shown for the specified protocol.
Definition kprotocolinfo.cpp:260
static QString proxiedBy(const QString &protocol)
Returns the name of the protocol through which the request will be routed if proxy support is enabled...
Definition kprotocolinfo.cpp:290
static QStringList archiveMimetypes(const QString &protocol)
Returns the list of archive MIME types handled by the KIO worker implementing this protocol.
Definition kprotocolinfo.cpp:279
static QStringList capabilities(const QString &protocol)
Returns the list of capabilities provided by the KIO worker implementing this protocol.
Definition kprotocolinfo.cpp:269
static int maxWorkersPerHost(const QString &protocol)
Returns the limit on the number of KIO workers for this protocol per host.
Definition kprotocolinfo.cpp:191
static QString docPath(const QString &protocol)
Returns the documentation path for the specified protocol.
Definition kprotocolinfo.cpp:240
static bool isKnownProtocol(const QUrl &url)
Returns whether a protocol is installed that is able to handle url.
Definition kprotocolinfo.cpp:321
static QString icon(const QString &protocol)
Returns the name of the icon, associated with the specified protocol.
Definition kprotocolinfo.cpp:155
static QString exec(const QString &protocol)
Returns the library / executable to open for the protocol protocol Example : "kio_ftp",...
Definition kprotocolinfo.cpp:211
static int maxWorkers(const QString &protocol)
Returns the soft limit on the number of KIO workers for this protocol.
Definition kprotocolinfo.cpp:181
static ExtraFieldList extraFields(const QUrl &url)
Definition of extra fields in the UDS entries, returned by a listDir operation.
Definition kprotocolinfo.cpp:220
static bool isHelperProtocol(const QUrl &url)
Returns whether the protocol can act as a helper protocol.
Definition kprotocolinfo.cpp:306
static bool isFilterProtocol(const QUrl &url)
Returns whether the protocol can act as a filter protocol.
Definition kprotocolinfo.cpp:301
static QString defaultMimetype(const QString &protocol)
Returns the default MIME type for the specified protocol, if one exists.
Definition kprotocolinfo.cpp:230
QString
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.