PyKDE - Python Bindings for KDE
class KGlobalAccel
Table of contents
Modules
tdecore Classes
All Classes
Module
tdecore
Class
KGlobalAccel
Inherits
TQObject
methods
KGlobalAccel
(pParent, psName = 0)
returns
a KGlobalAccel instance
Argument
Type
Default
pParent
TQObject
psName
char
0
blockShortcuts
(block)
returns
nothing
In versions KDE 3.5.0 and above only
static
Argument
Type
Default
block
bool
configGroup
()
returns
(TQString)
disableBlocking
(disable)
returns
nothing
In versions KDE 3.5.0 and above only
Argument
Type
Default
disable
bool
insert
(sAction, sLabel, sWhatsThis, cutDef3, cutDef4, slot, bConfigurable = 1, bEnabled = 1)
returns
(KAccelAction)
Argument
Type
Default
sAction
TQString
sLabel
TQString
sWhatsThis
TQString
cutDef3
KShortcut
cutDef4
KShortcut
slot
SLOT
(Python callable)
bConfigurable
bool
1
bEnabled
bool
1
insert
(sName, sLabel)
returns
(KAccelAction)
Argument
Type
Default
sName
TQString
sLabel
TQString
isEnabled
()
returns
(bool)
label
(sAction)
returns
(TQString)
In versions KDE 3.3.0 and above only
Argument
Type
Default
sAction
TQString
readSettings
(pConfig = 0)
returns
(bool)
Argument
Type
Default
pConfig
KConfigBase
0
remove
(sAction)
returns
(bool)
In versions KDE 3.1.0 and above only
Argument
Type
Default
sAction
TQString
setActionEnabled
(sAction, bEnable)
returns
(bool)
In versions KDE 3.4.0 and above only
Argument
Type
Default
sAction
TQString
bEnable
bool
setConfigGroup
(cg)
returns
nothing
Argument
Type
Default
cg
TQString
setEnabled
(bEnabled)
returns
nothing
Argument
Type
Default
bEnabled
bool
setEnabled
(a0, a1)
Not Implemented
setShortcut
(sAction, shortcut)
returns
(bool)
Argument
Type
Default
sAction
TQString
shortcut
KShortcut
setSlot
(sAction, slot, )
returns
(bool)
Argument
Type
Default
sAction
TQString
slot
SLOT
(Python callable)
shortcut
(sAction)
returns
(KShortcut)
Argument
Type
Default
sAction
TQString
updateConnections
()
returns
(bool)
useFourModifierKeys
()
returns
(bool)
static
writeSettings
(pConfig = 0)
returns
(bool)
Argument
Type
Default
pConfig
KConfigBase
0
writeSettings
(pConfig, bGlobal)
returns
(bool)
In versions KDE 3.1.0 and above only
Argument
Type
Default
pConfig
KConfigBase
bGlobal
bool