KGlobalAccelPrivate Class Reference

Inheritance diagram for KGlobalAccelPrivate:

QWidget KAccelBase QWidget KAccelBase KAccelBase List of all members.

Detailed Description

Definition at line 7 of file kglobalaccel_emb.h.


Public Member Functions

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 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)
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)

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

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::connectKey ( const KKeyServer::Key  )  [virtual]

Defines a key which activates the accelerator.

Parameters:
key key which causes the action to be executed

Implements KAccelBase.

virtual bool KGlobalAccelPrivate::connectKey ( KAccelAction ,
const KKeyServer::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  )  [virtual]

Defines a key which activates the accelerator.

Parameters:
key key which causes the action to be executed

Implements KAccelBase.

virtual bool KGlobalAccelPrivate::connectKey ( KAccelAction ,
const KKeyServer::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.

bool KGlobalAccelPrivate::connectKey ( const KKeyServer::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::connectKey ( KAccelAction ,
const KKeyServer::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.

virtual bool KGlobalAccelPrivate::disconnectKey ( const KKeyServer::Key  )  [virtual]

Removes the key from accelerator.

Implements KAccelBase.

virtual bool KGlobalAccelPrivate::disconnectKey ( KAccelAction ,
const KKeyServer::Key  
) [virtual]

Removes the key from accelerator so it no longer executes the action.

Implements KAccelBase.

virtual bool KGlobalAccelPrivate::disconnectKey ( const KKeyServer::Key  )  [virtual]

Removes the key from accelerator.

Implements KAccelBase.

virtual bool KGlobalAccelPrivate::disconnectKey ( KAccelAction ,
const KKeyServer::Key  
) [virtual]

Removes the key from accelerator so it no longer executes the action.

Implements KAccelBase.

bool KGlobalAccelPrivate::disconnectKey ( const KKeyServer::Key  )  [inline, virtual]

Removes the key from accelerator.

Implements KAccelBase.

Definition at line 27 of file kglobalaccel_mac.h.

bool KGlobalAccelPrivate::disconnectKey ( KAccelAction ,
const KKeyServer::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::grabKey ( const KKeyServer::Key ,
bool  bGrab,
KAccelAction  
) [protected]

Parameters:
bGrab Set to true to grab key, false to ungrab key.

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:
KDE Home | KDE Accessibility Home | Description of Access Keys