PyKDE - Python Bindings for KDE
class KAccel
Table of contents
Modules
tdecore Classes
All Classes
Module
tdecore
Class
KAccel
Inherits
TQAccel
methods
KAccel
(pParent, psName = 0)
returns
a KAccel instance
Argument
Type
Default
pParent
TQWidget
psName
char
0
KAccel
(watch, parent, psName = 0)
returns
a KAccel instance
Argument
Type
Default
watch
TQWidget
parent
TQObject
psName
char
0
actions
()
returns
(KAccelActions)
changeMenuAccel
(menu, id, action)
returns
nothing
Argument
Type
Default
menu
TQPopupMenu
id
int
action
TQString
changeMenuAccel
(menu, id, accel)
returns
nothing
Argument
Type
Default
menu
TQPopupMenu
id
int
accel
KStdAccel.StdAccel
configGroup
()
returns
(TQString)
connectItem
(sAction, slot, bActivate = 1)
returns
(bool)
In versions KDE 3.1.4 and above only
Argument
Type
Default
sAction
TQString
slot
SLOT
(Python callable)
bActivate
bool
1
connectItem
(accel, slot, )
returns
(bool)
In versions KDE 3.1.4 and above only
Argument
Type
Default
accel
KStdAccel.StdAccel
slot
SLOT
(Python callable)
connectItem
(a0, a1, a2, a3 = 1)
returns
(bool)
In versions
less than
KDE 3.1.4 only
Argument
Type
Default
a0
TQString
a1
TQObject
a2
char
a3
bool
1
connectItem
(a0, a1, a2)
returns
(bool)
In versions
less than
KDE 3.1.4 only
Argument
Type
Default
a0
KStdAccel.StdAccel
a1
TQObject
a2
char
currentKey
(action)
returns
(int)
Argument
Type
Default
action
TQString
emitKeycodeChanged
()
returns
nothing
findKey
(key)
returns
(TQString)
Argument
Type
Default
key
int
getAutoUpdate
()
Not Implemented
insert
(sAction, sLabel, sWhatsThis, cutDef, slot, bConfigurable = 1, bEnabled = 1)
returns
(KAccelAction)
In versions KDE 3.1.4 and above only
Argument
Type
Default
sAction
TQString
sLabel
TQString
sWhatsThis
TQString
cutDef
KShortcut
slot
SLOT
(Python callable)
bConfigurable
bool
1
bEnabled
bool
1
insert
(sAction, sLabel, sWhatsThis, cutDef3, cutDef4, slot, bConfigurable = 1, bEnabled = 1)
returns
(KAccelAction)
In versions KDE 3.1.4 and above only
Argument
Type
Default
sAction
TQString
sLabel
TQString
sWhatsThis
TQString
cutDef3
KShortcut
cutDef4
KShortcut
slot
SLOT
(Python callable)
bConfigurable
bool
1
bEnabled
bool
1
insert
(psAction, cutDef, slot, bConfigurable = 1, bEnabled = 1)
returns
(KAccelAction)
In versions KDE 3.1.4 and above only
Argument
Type
Default
psAction
char
cutDef
KShortcut
slot
SLOT
(Python callable)
bConfigurable
bool
1
bEnabled
bool
1
insert
(id, slot, bConfigurable = 1, bEnabled = 1)
returns
(KAccelAction)
In versions KDE 3.1.4 and above only
Argument
Type
Default
id
KStdAccel.StdAccel
slot
SLOT
(Python callable)
bConfigurable
bool
1
bEnabled
bool
1
insert
(a0, a1)
Not Implemented
insert
(a0, a1, a2, a3, a4, a5, a6 = 1, a7 = 1)
returns
(KAccelAction)
In versions
less than
KDE 3.1.4 only
Argument
Type
Default
a0
TQString
a1
TQString
a2
TQString
a3
KShortcut
a4
TQObject
a5
char
a6
bool
1
a7
bool
1
insert
(a0, a1, a2, a3, a4, a5, a6, a7 = 1, a8 = 1)
returns
(KAccelAction)
In versions
less than
KDE 3.1.4 only
Argument
Type
Default
a0
TQString
a1
TQString
a2
TQString
a3
KShortcut
a4
KShortcut
a5
TQObject
a6
char
a7
bool
1
a8
bool
1
insert
(a0, a1, a2, a3, a4 = 1, a5 = 1)
returns
(KAccelAction)
In versions
less than
KDE 3.1.4 only
Argument
Type
Default
a0
char
a1
KShortcut
a2
TQObject
a3
char
a4
bool
1
a5
bool
1
insert
(a0, a1, a2, a3 = 1, a4 = 1)
returns
(KAccelAction)
In versions
less than
KDE 3.1.4 only
Argument
Type
Default
a0
KStdAccel.StdAccel
a1
TQObject
a2
char
a3
bool
1
a4
bool
1
insertItem
(sLabel, sAction, psKey, nIDMenu = 0, pMenu = 0, bConfigurable = 1)
returns
(bool)
Argument
Type
Default
sLabel
TQString
sAction
TQString
psKey
char
nIDMenu
int
0
pMenu
TQPopupMenu
0
bConfigurable
bool
1
insertItem
(sLabel, sAction, key, nIDMenu, pMenu, bConfigurable = 1)
returns
(bool)
Argument
Type
Default
sLabel
TQString
sAction
TQString
key
int
nIDMenu
int
pMenu
TQPopupMenu
bConfigurable
bool
1
insertStdItem
(id, descr = TQString .null)
returns
(bool)
Argument
Type
Default
id
KStdAccel.StdAccel
descr
TQString
TQString .null
isEnabled
()
returns
(bool)
keycodeChanged
()
returns
nothing
readSettings
(pConfig = 0)
returns
(bool)
Argument
Type
Default
pConfig
TDEConfigBase
0
remove
(sAction)
returns
(bool)
Argument
Type
Default
sAction
TQString
removeItem
(sAction)
returns
(bool)
Argument
Type
Default
sAction
TQString
setAutoUpdate
(bAuto)
returns
(bool)
Argument
Type
Default
bAuto
bool
setConfigGroup
(name)
returns
nothing
Argument
Type
Default
name
TQString
setEnabled
(bEnabled)
returns
nothing
Argument
Type
Default
bEnabled
bool
setEnabled
(sAction, bEnabled)
returns
(bool)
Argument
Type
Default
sAction
TQString
bEnabled
bool
setItemEnabled
(sAction, bEnable)
returns
(bool)
Argument
Type
Default
sAction
TQString
bEnable
bool
setShortcut
(sAction, shortcut)
returns
(bool)
Argument
Type
Default
sAction
TQString
shortcut
KShortcut
setSlot
(sAction, slot, )
returns
(bool)
In versions KDE 3.1.4 and above only
Argument
Type
Default
sAction
TQString
slot
SLOT
(Python callable)
setSlot
(a0, a1, a2)
returns
(bool)
In versions
less than
KDE 3.1.4 only
Argument
Type
Default
a0
TQString
a1
TQObject
a2
char
shortcut
(sAction)
returns
(KShortcut)
Argument
Type
Default
sAction
TQString
stringToKey
(a0)
returns
(int)
static
Argument
Type
Default
a0
TQString
updateConnections
()
returns
(bool)
writeSettings
(pConfig = 0)
returns
(bool)
Argument
Type
Default
pConfig
TDEConfigBase
0