PyKDE - Python Bindings for KDE
class KServiceType
Table of contents
Modules
tdeio Classes
All Classes
Module
tdeio
Class
KServiceType
Inherits
KSycocaEntry
methods
KServiceType
(_fullpath, _name, _icon, _comment)
returns
a KServiceType instance
Argument
Type
Default
_fullpath
TQString
_name
TQString
_icon
TQString
_comment
TQString
KServiceType
(_fullpath)
returns
a KServiceType instance
Argument
Type
Default
_fullpath
TQString
KServiceType
(config)
returns
a KServiceType instance
Argument
Type
Default
config
KDesktopFile
KServiceType
(_str, offset)
returns
a KServiceType instance
Argument
Type
Default
_str
TQDataStream
offset
int
addService
(service)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
service
KService.Ptr
allServiceTypes
()
returns
(KServiceType.List)
static
comment
()
returns
(TQString)
desktopEntryPath
()
returns
(TQString)
icon
()
returns
(TQString)
inherits
(servTypeName)
returns
(bool)
In versions KDE 3.1.0 and above only
Argument
Type
Default
servTypeName
TQString
init
(config)
returns
nothing
Argument
Type
Default
config
KDesktopFile
isDerived
()
returns
(bool)
isValid
()
returns
(bool)
load
(a0)
returns
nothing
Argument
Type
Default
a0
TQDataStream
name
()
returns
(TQString)
offers
(_servicetype)
returns
(KService.List)
static
Argument
Type
Default
_servicetype
TQString
parentServiceType
()
returns
(TQString)
parentType
()
returns
(KServiceType.Ptr)
In versions KDE 3.2.0 and above only
property
(_name)
returns
(TQVariant)
Argument
Type
Default
_name
TQString
propertyDef
(_name)
returns
(TQVariant.Type)
Argument
Type
Default
_name
TQString
propertyDefNames
()
returns
(TQStringList)
propertyDefs
()
returns
(TQMap
)
propertyNames
()
returns
(TQStringList)
save
(a0)
returns
nothing
Argument
Type
Default
a0
TQDataStream
serviceType
(_name)
returns
(KServiceType.Ptr)
static
Argument
Type
Default
_name
TQString
services
()
returns
(KService.List)
In versions KDE 3.2.0 and above only