KGlobalAccelPrivate Class Reference
Inheritance diagram for KGlobalAccelPrivate:

Public Member Functions | |
KGlobalAccelPrivate () | |
virtual void | setEnabled (bool) |
virtual bool | connectKey (KAccelAction &, KKeySequence) |
virtual bool | disconnectKey (KAccelAction &, KKeySequence) |
KGlobalAccelPrivate () | |
void | setEnabled (bool) |
bool | emitSignal (Signal) |
bool | connectKey (KAccelAction &, const KKeyServer::Key &) |
bool | connectKey (const KKeyServer::Key &) |
bool | disconnectKey (KAccelAction &, const KKeyServer::Key &) |
bool | disconnectKey (const KKeyServer::Key &) |
virtual | ~KGlobalAccelPrivate () |
virtual void | setEnabled (bool) |
virtual bool | emitSignal (Signal) |
virtual bool | connectKey (KAccelAction &, const KKeyServer::Key &) |
virtual bool | connectKey (const KKeyServer::Key &) |
virtual bool | disconnectKey (KAccelAction &, const KKeyServer::Key &) |
virtual bool | disconnectKey (const KKeyServer::Key &) |
virtual void | setEnabled (bool) |
virtual bool | emitSignal (Signal) |
virtual bool | connectKey (KAccelAction &, const KKeyServer::Key &) |
virtual bool | connectKey (const KKeyServer::Key &) |
virtual bool | disconnectKey (KAccelAction &, const KKeyServer::Key &) |
virtual bool | disconnectKey (const KKeyServer::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) |
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) |
Protected Attributes | |
CodeModMap | m_rgCodeModToAction |
Friends | |
class | KGlobalAccel |
Classes | |
class | CodeMod |
Detailed Description
Definition at line 7 of file kglobalaccel_emb.h.
Member Function Documentation
|
Definition at line 114 of file kglobalaccel_x11.cpp. References QString::arg(), KGlobalAccelPrivate::CodeMod::code, KKeyServer::Key::code(), endl(), KXErrorHandler::error(), QMap::insert(), kdDebug(), kdWarning(), KKeyServer::Key::key(), QString::latin1(), m_rgCodeModToAction, KGlobalAccelPrivate::CodeMod::mod, KKeyServer::Key::mod(), KKeyServer::modXAlt(), KAccelAction::name(), QMap::remove(), KKeyServer::Key::sym(), and KKey::toStringInternal(). |
|
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. Definition at line 307 of file kglobalaccel_x11.cpp. References QRegExp::cap(), endl(), kdDebug(), KAccelAction::label(), QObject::metaObject(), KAccelAction::methodSlotPtr(), KAccelAction::name(), QObject::normalizeSignalSlot(), KAccelAction::objSlotPtr(), and QRegExp::search(). Referenced by slotActivated(), and x11KeyPress(). |
|
|
|
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. Definition at line 200 of file kglobalaccel_x11.cpp. References QWidget::x11Event(), x11KeyPress(), and x11MappingNotify(). |
The documentation for this class was generated from the following files: