KAccelPrivate Class Reference

Inheritance diagram for KAccelPrivate:

QObject KAccelBase List of all members.

Detailed Description

Definition at line 12 of file kaccelprivate.h.


Signals

void menuItemActivated ()
void menuItemActivated (KAccelAction *)

Public Member Functions

 KAccelPrivate (KAccel *pParent, QWidget *pWatch)
virtual void setEnabled (bool bEnabled)
bool setEnabled (const QString &sAction, bool bEnable)
virtual bool removeAction (const QString &sAction)
virtual bool emitSignal (KAccelBase::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)

Public Attributes

KAccelm_pAccel
QWidgetm_pWatch
QMap< int, int > m_mapIDToKey
QMap< int, KAccelAction * > m_mapIDToAction
QTimer m_timerShowMenu

Member Function Documentation

void KAccelPrivate::setEnabled ( bool  bEnabled  )  [virtual]

Enables or disables the accelerator.

Parameters:
bEnabled determines whether the accelerator should be enabled or disabled.

Implements KAccelBase.

Definition at line 179 of file kaccel.cpp.

bool KAccelPrivate::emitSignal ( KAccelBase::Signal  signal  )  [virtual]

Emits a signal.

Parameters:
signal signal to be emitted

Implements KAccelBase.

Definition at line 220 of file kaccel.cpp.

bool KAccelPrivate::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.

Definition at line 229 of file kaccel.cpp.

bool KAccelPrivate::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.

Definition at line 251 of file kaccel.cpp.

bool KAccelPrivate::disconnectKey ( KAccelAction action,
const KKeyServer::Key key 
) [virtual]

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

Implements KAccelBase.

Definition at line 262 of file kaccel.cpp.

bool KAccelPrivate::disconnectKey ( const KKeyServer::Key key  )  [virtual]

Removes the key from accelerator.

Implements KAccelBase.

Definition at line 282 of file kaccel.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys