PyKDE - Python Bindings for KDE
class KServiceGroup
Table of contents
Modules
kio Classes
All Classes
Module
kio
Class
KServiceGroup
Inherits
KSycocaEntry
methods
KServiceGroup
(name)
returns
a KServiceGroup instance
In versions KDE 3.1.0 and above only
Argument
Type
Default
name
TQString
KServiceGroup
(_fullpath, _relpath)
returns
a KServiceGroup instance
Argument
Type
Default
_fullpath
TQString
_relpath
TQString
KServiceGroup
(_str, offset, deep)
returns
a KServiceGroup instance
Argument
Type
Default
_str
TQDataStream
offset
int
deep
bool
addEntry
(entry)
returns
nothing
Argument
Type
Default
entry
KSycocaEntry
allowInline
()
returns
(bool)
In versions KDE 3.5.0 and above only
baseGroup
(baseGroupName)
returns
(KServiceGroup.Ptr)
static
Argument
Type
Default
baseGroupName
TQString
baseGroupName
()
returns
(TQString)
caption
()
returns
(TQString)
childCount
()
returns
(int)
childGroup
(parent)
returns
(KServiceGroup.Ptr)
In versions KDE 3.1.0 and above only
static
Argument
Type
Default
parent
TQString
comment
()
returns
(TQString)
directoryEntryPath
()
returns
(TQString)
In versions KDE 3.2.0 and above only
entries
(sorted, excludeNoDisplay, allowSeparators, sortByGenericName = 0)
returns
(KServiceGroup.List)
In versions KDE 3.2.0 and above only
Argument
Type
Default
sorted
bool
excludeNoDisplay
bool
allowSeparators
bool
sortByGenericName
bool
0
entries
(sorted, excludeNoDisplay)
returns
(KSycocaEntry.List)
Argument
Type
Default
sorted
bool
excludeNoDisplay
bool
entries
(sorted = 0)
returns
(KServiceGroup.List)
In versions KDE 3.1.2 and above only
Argument
Type
Default
sorted
bool
0
group
(relPath)
returns
(KServiceGroup.Ptr)
static
Argument
Type
Default
relPath
TQString
icon
()
returns
(TQString)
inlineAlias
()
returns
(bool)
In versions KDE 3.5.0 and above only
inlineValue
()
returns
(int)
In versions KDE 3.5.0 and above only
isValid
()
returns
(bool)
layoutInfo
()
returns
(TQStringList)
In versions KDE 3.3.0 and above only
load
(a0)
returns
nothing
Argument
Type
Default
a0
TQDataStream
name
()
returns
(TQString)
noDisplay
()
returns
(bool)
In versions KDE 3.1.0 and above only
parseAttribute
(item)
returns
showEmptyMenu (bool) showInline (bool) showInlineHeader (bool) showInlineAlias (bool) inlineValue (int)
In versions KDE 3.5.0 and above only
Argument
Type
Default
item
TQString
relPath
()
returns
(TQString)
root
()
returns
(KServiceGroup.Ptr)
static
save
(a0)
returns
nothing
Argument
Type
Default
a0
TQDataStream
setAllowInline
(_b)
returns
nothing
In versions KDE 3.5.0 and above only
Argument
Type
Default
_b
bool
setInlineAlias
(_b)
returns
nothing
In versions KDE 3.5.0 and above only
Argument
Type
Default
_b
bool
setInlineValue
(_val)
returns
nothing
In versions KDE 3.5.0 and above only
Argument
Type
Default
_val
int
setLayoutInfo
(layout)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
layout
TQStringList
setShowEmptyMenu
(b)
returns
nothing
In versions KDE 3.5.0 and above only
Argument
Type
Default
b
bool
setShowInlineHeader
(_b)
returns
nothing
In versions KDE 3.5.0 and above only
Argument
Type
Default
_b
bool
showEmptyMenu
()
returns
(bool)
In versions KDE 3.5.0 and above only
showInlineHeader
()
returns
(bool)
In versions KDE 3.5.0 and above only
suppressGenericNames
()
returns
(TQStringList)
In versions KDE 3.2.0 and above only