PyKDE - Python Bindings for KDE
class KProtocolInfo
Table of contents
Modules
kio Classes
All Classes
Module
kio
Class
KProtocolInfo
Inherits
KSycocaEntry
enums
FileNameUsedForCopying
= {Name, FromURL }
Type
= {T_STREAM, T_FILESYSTEM, T_NONE, T_ERROR }
methods
KProtocolInfo
(path)
returns
a KProtocolInfo instance
Argument
Type
Default
path
TQString
KProtocolInfo
(_str, offset)
returns
a KProtocolInfo instance
Argument
Type
Default
_str
TQDataStream
offset
int
canCopyFromFile
(url)
returns
(bool)
static
Argument
Type
Default
url
KURL
canCopyFromFile
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
canCopyToFile
(url)
returns
(bool)
static
Argument
Type
Default
url
KURL
canCopyToFile
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
canDeleteRecursive
(url)
returns
(bool)
In versions KDE 3.4.0 and above only
static
Argument
Type
Default
url
KURL
canDeleteRecursive
()
returns
(bool)
In versions KDE 3.5.1 and above only
canRenameFromFile
(url)
returns
(bool)
In versions KDE 3.4.0 and above only
static
Argument
Type
Default
url
KURL
canRenameFromFile
()
returns
(bool)
In versions KDE 3.5.1 and above only
canRenameToFile
(url)
returns
(bool)
In versions KDE 3.4.0 and above only
static
Argument
Type
Default
url
KURL
canRenameToFile
()
returns
(bool)
In versions KDE 3.5.1 and above only
capabilities
(protocol)
returns
(TQStringList)
In versions KDE 3.3.0 and above only
static
Argument
Type
Default
protocol
TQString
config
(protocol)
returns
(TQString)
static
Argument
Type
Default
protocol
TQString
defaultMimetype
(url)
returns
(TQString)
static
Argument
Type
Default
url
KURL
defaultMimetype
(protocol)
returns
(TQString)
static
Argument
Type
Default
protocol
TQString
determineMimetypeFromExtension
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
docPath
(protocol)
returns
(TQString)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
protocol
TQString
exec_
(protocol)
returns
(TQString)
Renamed: was
' exec'
in C++
static
Argument
Type
Default
protocol
TQString
extraFields
(url)
returns
(KProtocolInfo.ExtraFieldList)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
url
KURL
fileNameUsedForCopying
(url)
returns
(KProtocolInfo.FileNameUsedForCopying)
In versions KDE 3.4.0 and above only
static
Argument
Type
Default
url
KURL
fileNameUsedForCopying
()
returns
(KProtocolInfo.FileNameUsedForCopying)
In versions KDE 3.5.1 and above only
findProtocol
(url)
returns
(KProtocolInfo)
In versions KDE 3.4.0 and above only
static
Argument
Type
Default
url
KURL
icon
(protocol)
returns
(TQString)
static
Argument
Type
Default
protocol
TQString
inputType
(url)
returns
(KProtocolInfo.Type)
static
Argument
Type
Default
url
KURL
inputType
(protocol)
returns
(Type)
static
Argument
Type
Default
protocol
TQString
isFilterProtocol
(url)
returns
(bool)
static
Argument
Type
Default
url
KURL
isFilterProtocol
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
isHelperProtocol
(url)
returns
(bool)
static
Argument
Type
Default
url
KURL
isHelperProtocol
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
isKnownProtocol
(url)
returns
(bool)
static
Argument
Type
Default
url
KURL
isKnownProtocol
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
isSourceProtocol
(url)
returns
(bool)
static
Argument
Type
Default
url
KURL
isSourceProtocol
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
isValid
()
returns
(bool)
listing
(url)
returns
(TQStringList)
static
Argument
Type
Default
url
KURL
listing
(protocol)
returns
(TQStringList)
static
Argument
Type
Default
protocol
TQString
load
(a0)
returns
nothing
Argument
Type
Default
a0
TQDataStream
maxSlaves
(protocol)
returns
(int)
static
Argument
Type
Default
protocol
TQString
name
()
returns
(TQString)
outputType
(url)
returns
(KProtocolInfo.Type)
static
Argument
Type
Default
url
KURL
outputType
(protocol)
returns
(Type)
static
Argument
Type
Default
protocol
TQString
protocolClass
(protocol)
returns
(TQString)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
protocol
TQString
protocols
()
returns
(TQStringList)
static
proxiedBy
(protocol)
returns
(TQString)
In versions KDE 3.3.0 and above only
static
Argument
Type
Default
protocol
TQString
save
(a0)
returns
nothing
Argument
Type
Default
a0
TQDataStream
showFilePreview
(protocol)
returns
(bool)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
protocol
TQString
supportsDeleting
(url)
returns
(bool)
static
Argument
Type
Default
url
KURL
supportsDeleting
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
supportsLinking
(url)
returns
(bool)
static
Argument
Type
Default
url
KURL
supportsLinking
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
supportsListing
(url)
returns
(bool)
static
Argument
Type
Default
url
KURL
supportsListing
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
supportsMakeDir
(url)
returns
(bool)
static
Argument
Type
Default
url
KURL
supportsMakeDir
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
supportsMoving
(url)
returns
(bool)
static
Argument
Type
Default
url
KURL
supportsMoving
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
supportsReading
(url)
returns
(bool)
static
Argument
Type
Default
url
KURL
supportsReading
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
supportsWriting
(url)
returns
(bool)
static
Argument
Type
Default
url
KURL
supportsWriting
(protocol)
returns
(bool)
static
Argument
Type
Default
protocol
TQString
uriParseMode
(protocol)
returns
(KURL.URIMode)
In versions KDE 3.2.0 and above only
static
Argument
Type
Default
protocol
TQString