KGlobalAccelPrivate Class Reference
Inheritance diagram for KGlobalAccelPrivate:

Detailed Description
Definition at line 7 of file kglobalaccel_emb.h.
Public Member Functions | |
virtual void | setEnabled (bool bEnabled) |
virtual bool | connectKey (KAccelAction &, KKeySequence) |
virtual bool | disconnectKey (KAccelAction &, KKeySequence) |
KGlobalAccelPrivate () | |
void | setEnabled (bool bEnabled) |
bool | emitSignal (Signal signal) |
bool | connectKey (KAccelAction &action, const KKeyServer::Key &key) |
bool | connectKey (const KKeyServer::Key &key) |
bool | disconnectKey (KAccelAction &, const KKeyServer::Key &key) |
bool | disconnectKey (const KKeyServer::Key &) |
virtual void | setEnabled (bool bEnabled) |
virtual bool | emitSignal (Signal signal) |
virtual bool | connectKey (KAccelAction &action, const KKeyServer::Key &key) |
virtual bool | connectKey (const KKeyServer::Key &key) |
virtual bool | disconnectKey (KAccelAction &action, const KKeyServer::Key &key) |
virtual bool | disconnectKey (const KKeyServer::Key &key) |
virtual void | setEnabled (bool bEnabled) |
virtual bool | emitSignal (Signal signal) |
virtual bool | connectKey (KAccelAction &action, const KKeyServer::Key &key) |
virtual bool | connectKey (const KKeyServer::Key &key) |
virtual bool | disconnectKey (KAccelAction &action, const KKeyServer::Key &key) |
virtual bool | disconnectKey (const KKeyServer::Key &key) |
Protected Types | |
typedef QMap< CodeMod, KAccelAction * > | CodeModMap |
Protected Slots | |
void | slotActivated (int iAction) |
void | slotActivated (int iAction) |
Protected Member Functions | |
bool | grabKey (const KKeyServer::Key &, bool bGrab, KAccelAction *) |
void | activate (KAccelAction *pAction, const KKeySequence &seq) |
virtual bool | isEnabledInternal () const |
void | disableBlocking (bool disable) |
bool | grabKey (const KKeyServer::Key &, bool bGrab, KAccelAction *) |
virtual bool | x11Event (XEvent *) |
void | x11MappingNotify () |
bool | x11KeyPress (const XEvent *pEvent) |
void | activate (KAccelAction *pAction, const KKeySequence &seq) |
virtual bool | isEnabledInternal () const |
void | disableBlocking (bool disable) |
void | suspend (bool s) |
Static Protected Member Functions | |
static void | blockShortcuts (bool block) |
static void | blockShortcuts (bool block) |
Protected Attributes | |
bool | m_blocked |
bool | m_blockingDisabled |
CodeModMap | m_rgCodeModToAction |
Friends | |
class | KGlobalAccel |
Classes | |
class | CodeMod |
Member Function Documentation
bool KGlobalAccelPrivate::emitSignal | ( | Signal | signal | ) | [inline, virtual] |
Emits a signal.
- Parameters:
-
signal signal to be emitted
Implements KAccelBase.
Definition at line 19 of file kglobalaccel_mac.h.
bool KGlobalAccelPrivate::connectKey | ( | KAccelAction & | action, | |
const KKeyServer::Key & | key | |||
) | [inline, virtual] |
Defines a key which activates the accelerator and executes the action.
- Parameters:
-
action action to be executed when key is pressed key key which causes the action to be executed
Implements KAccelBase.
Definition at line 21 of file kglobalaccel_mac.h.
bool KGlobalAccelPrivate::connectKey | ( | const KKeyServer::Key & | key | ) | [inline, virtual] |
Defines a key which activates the accelerator.
- Parameters:
-
key key which causes the action to be executed
Implements KAccelBase.
Definition at line 23 of file kglobalaccel_mac.h.
bool KGlobalAccelPrivate::disconnectKey | ( | KAccelAction & | , | |
const KKeyServer::Key & | key | |||
) | [inline, virtual] |
Removes the key from accelerator so it no longer executes the action.
Implements KAccelBase.
Definition at line 25 of file kglobalaccel_mac.h.
bool KGlobalAccelPrivate::disconnectKey | ( | const KKeyServer::Key & | ) | [inline, virtual] |
Removes the key from accelerator.
Implements KAccelBase.
Definition at line 27 of file kglobalaccel_mac.h.
virtual bool KGlobalAccelPrivate::emitSignal | ( | Signal | signal | ) | [virtual] |
virtual bool KGlobalAccelPrivate::connectKey | ( | KAccelAction & | action, | |
const KKeyServer::Key & | key | |||
) | [virtual] |
Defines a key which activates the accelerator and executes the action.
- Parameters:
-
action action to be executed when key is pressed key key which causes the action to be executed
Implements KAccelBase.
virtual bool KGlobalAccelPrivate::connectKey | ( | const KKeyServer::Key & | key | ) | [virtual] |
Defines a key which activates the accelerator.
- Parameters:
-
key key which causes the action to be executed
Implements KAccelBase.
virtual bool KGlobalAccelPrivate::disconnectKey | ( | KAccelAction & | action, | |
const KKeyServer::Key & | key | |||
) | [virtual] |
virtual bool KGlobalAccelPrivate::disconnectKey | ( | const KKeyServer::Key & | key | ) | [virtual] |
bool KGlobalAccelPrivate::grabKey | ( | const KKeyServer::Key & | , | |
bool | bGrab, | |||
KAccelAction * | ||||
) | [protected] |
- Parameters:
-
bGrab Set to true to grab key, false to ungrab key.
void KGlobalAccelPrivate::activate | ( | KAccelAction * | pAction, | |
const KKeySequence & | seq | |||
) | [protected] |
Filters X11 events ev for key bindings in the accelerator dictionary.
If a match is found the activated activated is emitted and the function returns true. Return false if the event is not processed.
This is public for compatibility only. You do not need to call it.
virtual bool KGlobalAccelPrivate::emitSignal | ( | Signal | signal | ) | [virtual] |
virtual bool KGlobalAccelPrivate::connectKey | ( | KAccelAction & | action, | |
const KKeyServer::Key & | key | |||
) | [virtual] |
Defines a key which activates the accelerator and executes the action.
- Parameters:
-
action action to be executed when key is pressed key key which causes the action to be executed
Implements KAccelBase.
virtual bool KGlobalAccelPrivate::connectKey | ( | const KKeyServer::Key & | key | ) | [virtual] |
Defines a key which activates the accelerator.
- Parameters:
-
key key which causes the action to be executed
Implements KAccelBase.
virtual bool KGlobalAccelPrivate::disconnectKey | ( | KAccelAction & | action, | |
const KKeyServer::Key & | key | |||
) | [virtual] |
virtual bool KGlobalAccelPrivate::disconnectKey | ( | const KKeyServer::Key & | key | ) | [virtual] |
bool KGlobalAccelPrivate::grabKey | ( | const KKeyServer::Key & | , | |
bool | bGrab, | |||
KAccelAction * | ||||
) | [protected] |
- Parameters:
-
bGrab Set to true to grab key, false to ungrab key.
virtual bool KGlobalAccelPrivate::x11Event | ( | XEvent * | ) | [protected, virtual] |
Filters X11 events ev for key bindings in the accelerator dictionary.
If a match is found the activated activated is emitted and the function returns true. Return false if the event is not processed.
This is public for compatibility only. You do not need to call it.
Reimplemented from QWidget.
The documentation for this class was generated from the following files: