#include <kprotocolinfo.h>
Inheritance diagram for KProtocolInfo:

Public Types | |
| typedef KSharedPtr< KProtocolInfo > | Ptr |
Public Methods | |
| KProtocolInfo (const QString &path) | |
| virtual bool | isValid () const |
| virtual QString | name () const |
| virtual void | load (QDataStream &) |
| virtual void | save (QDataStream &) |
Static Public Methods | |
| QStringList | protocols () |
| bool | isKnownProtocol (const KURL &url) |
| QString | exec (const QString &protocol) |
| Type | inputType (const KURL &url) |
| Type | outputType (const KURL &url) |
| QStringList | listing (const KURL &url) |
| bool | isSourceProtocol (const KURL &url) |
| bool | isHelperProtocol (const KURL &url) |
| bool | isFilterProtocol (const KURL &url) |
| bool | supportsListing (const KURL &url) |
| bool | supportsReading (const KURL &url) |
| bool | supportsWriting (const KURL &url) |
| bool | supportsMakeDir (const KURL &url) |
| bool | supportsDeleting (const KURL &url) |
| bool | supportsLinking (const KURL &url) |
| bool | supportsMoving (const KURL &url) |
| bool | canCopyFromFile (const KURL &url) |
| bool | canCopyToFile (const KURL &url) |
| QString | defaultMimetype (const KURL &url) |
| QString | icon (const QString &protocol) |
| QString | config (const QString &protocol) |
| int | maxSlaves (const QString &protocol) |
| bool | determineMimetypeFromExtension (const QString &protocol) |
| QStringList | listing (const QString &protocol) |
Protected Methods | |
| virtual void | virtual_hook (int id, void *data) |
This class is useful if you want to know which protocols KDE supports. In addition you can find out lots of information about a certain protocol. KProtocolInfo scans the *.protocol files of all installed kioslaves to get this information.
*.protocol files are installed in the "services" resource.
Definition at line 40 of file kprotocolinfo.h.
|
|
Read a protocol description file |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements KSycocaEntry. Definition at line 57 of file kprotocolinfo.h. |
|
|
|
|
|
|
|
|
|
|
|
Implements KSycocaEntry. Definition at line 66 of file kprotocolinfo.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.18