kprotocolinfo.cpp
Information about I/O (Internet, etc.) protocols supported by KDE.
Definition: kprotocolinfo.h:45
static TQString defaultMimetype(const KURL &url)
Returns default mimetype for this URL based on the protocol.
Definition: kprotocolinfo.cpp:249
static TQStringList listing(const KURL &url)
Returns the list of fields this protocol returns when listing The current possibilities are Name,...
Definition: kprotocolinfo.cpp:130
static bool isKnownProtocol(const KURL &url)
Returns whether a protocol is installed that is able to handle url.
Definition: kprotocolinfo.cpp:109
static Type outputType(const KURL &url)
Returns whether the protocol should be treated as a filesystem or as a stream when writing to it.
Definition: kprotocolinfo.cpp:60
static bool supportsDeleting(const KURL &url)
Returns whether the protocol can delete files/objects.
Definition: kprotocolinfo.cpp:166
static bool supportsReading(const KURL &url)
Returns whether the protocol can retrieve data from URLs.
Definition: kprotocolinfo.cpp:139
static bool supportsWriting(const KURL &url)
Returns whether the protocol can store data to URLs.
Definition: kprotocolinfo.cpp:148
static bool canCopyFromFile(const KURL &url)
Returns whether the protocol can copy files/objects directly from the filesystem itself.
Definition: kprotocolinfo.cpp:193
static bool canRenameToFile(const KURL &url)
Returns whether the protocol can rename (i.e.
Definition: kprotocolinfo.cpp:222
static bool isHelperProtocol(const KURL &url)
Returns whether the protocol can act as a helper protocol.
Definition: kprotocolinfo.cpp:94
static Type inputType(const KURL &url)
Returns whether the protocol should be treated as a filesystem or as a stream when reading from it.
Definition: kprotocolinfo.cpp:51
static bool supportsLinking(const KURL &url)
Returns whether the protocol can create links between files/objects.
Definition: kprotocolinfo.cpp:175
static bool canRenameFromFile(const KURL &url)
Returns whether the protocol can rename (i.e.
Definition: kprotocolinfo.cpp:212
static FileNameUsedForCopying fileNameUsedForCopying(const KURL &url)
This setting defines the strategy to use for generating a filename, when copying a file or directory ...
Definition: kprotocolinfo.cpp:240
static bool canCopyToFile(const KURL &url)
Returns whether the protocol can copy files/objects directly to the filesystem itself.
Definition: kprotocolinfo.cpp:203
static bool isSourceProtocol(const KURL &url)
Returns whether the protocol can act as a source protocol.
Definition: kprotocolinfo.cpp:70
static TQString proxiedBy(const TQString &protocol)
Returns the name of the protocol through which the request will be routed if proxy support is enabled...
static bool supportsMoving(const KURL &url)
Returns whether the protocol can move files/objects between different locations.
Definition: kprotocolinfo.cpp:184
static bool supportsListing(const KURL &url)
Returns whether the protocol can list files/objects.
Definition: kprotocolinfo.cpp:121
static bool isFilterProtocol(const KURL &url)
Returns whether the protocol can act as a filter protocol.
Definition: kprotocolinfo.cpp:79
static bool canDeleteRecursive(const KURL &url)
Returns whether the protocol can recursively delete directories by itself.
Definition: kprotocolinfo.cpp:231
static bool supportsMakeDir(const KURL &url)
Returns whether the protocol can create directories/folders.
Definition: kprotocolinfo.cpp:157
static TQString slaveProtocol(const KURL &url, TQString &proxy)
Return the protocol to use in order to handle the given url It's usually the same,...
Definition: tdeprotocolmanager.cpp:329