PyKDE - Python Bindings for KDE
class KShortcut
Table of contents
Modules
kdecore Classes
All Classes
Module
kdecore
Class
KShortcut
Inherits
enums
(anonymous)
= {MAX_SEQUENCES }
methods
KShortcut
()
returns
a KShortcut instance
KShortcut
(keyQt)
returns
a KShortcut instance
Argument
Type
Default
keyQt
int
KShortcut
(keySeq)
returns
a KShortcut instance
Argument
Type
Default
keySeq
QKeySequence
KShortcut
(key)
returns
a KShortcut instance
Argument
Type
Default
key
KKey
KShortcut
(keySeq)
returns
a KShortcut instance
Argument
Type
Default
keySeq
KKeySequence
KShortcut
(shortcut)
returns
a KShortcut instance
Argument
Type
Default
shortcut
KShortcut
KShortcut
(shortcut)
returns
a KShortcut instance
Argument
Type
Default
shortcut
char
KShortcut
(shortcut)
returns
a KShortcut instance
Argument
Type
Default
shortcut
QString
append
(keySeq)
returns
(bool)
Argument
Type
Default
keySeq
KKeySequence
append
(spec)
returns
(bool)
In versions KDE 3.2.0 and above only
Argument
Type
Default
spec
KKey
append
(cut)
returns
(bool)
In versions KDE 3.2.0 and above only
Argument
Type
Default
cut
KShortcut
clear
()
returns
nothing
compare
(shortcut)
returns
(int)
Argument
Type
Default
shortcut
KShortcut
contains
(key)
returns
(bool)
Argument
Type
Default
key
KKey
contains
(key)
returns
(bool)
Argument
Type
Default
key
KKeyNative
contains
(keySeq)
returns
(bool)
Argument
Type
Default
keySeq
KKeySequence
count
()
returns
(uint)
init
(keyQt)
returns
(bool)
Argument
Type
Default
keyQt
int
init
(keySeq)
returns
(bool)
Argument
Type
Default
keySeq
QKeySequence
init
(key)
returns
(bool)
Argument
Type
Default
key
KKey
init
(keySeq)
returns
(bool)
Argument
Type
Default
keySeq
KKeySequence
init
(shortcut)
returns
(bool)
Argument
Type
Default
shortcut
KShortcut
init
(shortcut)
returns
(bool)
Argument
Type
Default
shortcut
QString
isNull
()
returns
(bool)
keyCodeQt
()
returns
(int)
null
()
returns
(KShortcut)
static
remove
(keySeq)
returns
nothing
In versions KDE 3.3.0 and above only
Argument
Type
Default
keySeq
KKeySequence
seq
(i)
returns
(KKeySequence)
Argument
Type
Default
i
uint
setSeq
(i, keySeq)
returns
(bool)
Argument
Type
Default
i
uint
keySeq
KKeySequence
toString
()
returns
(QString)
toStringInternal
(pcutDefault = 0)
returns
(QString)
Argument
Type
Default
pcutDefault
KShortcut
0
operators
operator !=
(a0)
returns
(bool)
In versions KDE 3.1.4 and above only
Argument
Type
Default
a0
KShortcut
operator <
(a0)
returns
(bool)
In versions KDE 3.1.4 and above only
Argument
Type
Default
a0
KShortcut
operator ==
(a0)
returns
(bool)
In versions KDE 3.1.4 and above only
Argument
Type
Default
a0
KShortcut
operator QKeySequence
()
Not Implemented
operator int
()
Not Implemented