• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KDECore

KGlobalAccelPrivate Class Reference

#include <kglobalaccel_emb.h>

Inheritance diagram for KGlobalAccelPrivate:

Inheritance graph
[legend]

List of all members.


Classes

class  CodeMod

Public Member Functions

virtual bool connectKey (const KKeyServer::Key &key)
virtual bool connectKey (KAccelAction &action, const KKeyServer::Key &key)
virtual bool connectKey (const KKeyServer::Key &key)
virtual bool connectKey (KAccelAction &action, const KKeyServer::Key &key)
bool connectKey (const KKeyServer::Key &key)
bool connectKey (KAccelAction &action, const KKeyServer::Key &key)
virtual bool connectKey (KAccelAction &, KKeySequence)
virtual bool disconnectKey (const KKeyServer::Key &key)
virtual bool disconnectKey (KAccelAction &action, const KKeyServer::Key &key)
virtual bool disconnectKey (const KKeyServer::Key &key)
virtual bool disconnectKey (KAccelAction &action, const KKeyServer::Key &key)
bool disconnectKey (const KKeyServer::Key &)
bool disconnectKey (KAccelAction &, const KKeyServer::Key &key)
virtual bool disconnectKey (KAccelAction &, KKeySequence)
virtual bool emitSignal (Signal signal)
virtual bool emitSignal (Signal signal)
bool emitSignal (Signal signal)
 KGlobalAccelPrivate ()
 KGlobalAccelPrivate ()
 KGlobalAccelPrivate ()
 KGlobalAccelPrivate ()
virtual void setEnabled (bool bEnabled)
virtual void setEnabled (bool bEnabled)
void setEnabled (bool bEnabled)
virtual void setEnabled (bool bEnabled)
virtual ~KGlobalAccelPrivate ()
virtual ~KGlobalAccelPrivate ()

Protected Types

typedef QMap< CodeMod,
KAccelAction * > 
CodeModMap

Protected Slots

void slotActivated (int iAction)
void slotActivated (int iAction)

Protected Member Functions

void activate (KAccelAction *pAction, const KKeySequence &seq)
void activate (KAccelAction *pAction, const KKeySequence &seq)
void disableBlocking (bool disable)
void disableBlocking (bool disable)
bool grabKey (const KKeyServer::Key &, bool bGrab, KAccelAction *)
bool grabKey (const KKeyServer::Key &, bool bGrab, KAccelAction *)
virtual bool isEnabledInternal () const
virtual bool isEnabledInternal () const
void suspend (bool s)
virtual bool x11Event (XEvent *)
bool x11KeyPress (const XEvent *pEvent)
void x11MappingNotify ()

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

Detailed Description

For internal use only.

Definition at line 7 of file kglobalaccel_emb.h.


Member Typedef Documentation

typedef QMap<CodeMod, KAccelAction*> KGlobalAccelPrivate::CodeModMap [protected]

Definition at line 76 of file kglobalaccel_x11.h.


Constructor & Destructor Documentation

KGlobalAccelPrivate::KGlobalAccelPrivate (  ) 

KGlobalAccelPrivate::KGlobalAccelPrivate (  )  [inline]

Definition at line 12 of file kglobalaccel_mac.h.

KGlobalAccelPrivate::KGlobalAccelPrivate (  ) 

virtual KGlobalAccelPrivate::~KGlobalAccelPrivate (  )  [virtual]

KGlobalAccelPrivate::KGlobalAccelPrivate (  ) 

virtual KGlobalAccelPrivate::~KGlobalAccelPrivate (  )  [virtual]


Member Function Documentation

void KGlobalAccelPrivate::activate ( KAccelAction *  pAction,
const KKeySequence &  seq 
) [protected]

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.

static void KGlobalAccelPrivate::blockShortcuts ( bool  block  )  [static, protected]

static void KGlobalAccelPrivate::blockShortcuts ( bool  block  )  [static, protected]

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

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

virtual bool KGlobalAccelPrivate::connectKey ( KAccelAction &  ,
KKeySequence   
) [virtual]

void KGlobalAccelPrivate::disableBlocking ( bool  disable  )  [protected]

void KGlobalAccelPrivate::disableBlocking ( bool  disable  )  [protected]

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.

virtual bool KGlobalAccelPrivate::disconnectKey ( KAccelAction &  ,
KKeySequence   
) [virtual]

virtual bool KGlobalAccelPrivate::emitSignal ( Signal  signal  )  [virtual]

Emits a signal.

Parameters:
signal signal to be emitted

Implements KAccelBase.

virtual bool KGlobalAccelPrivate::emitSignal ( Signal  signal  )  [virtual]

Emits a signal.

Parameters:
signal signal to be emitted

Implements KAccelBase.

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::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::isEnabledInternal (  )  const [protected, virtual]

Reimplemented from KAccelBase.

virtual bool KGlobalAccelPrivate::isEnabledInternal (  )  const [protected, virtual]

Reimplemented from KAccelBase.

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

Reimplemented from QWidget.

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

Reimplemented from QWidget.

void KGlobalAccelPrivate::setEnabled ( bool  bEnabled  )  [inline]

Reimplemented from QWidget.

Definition at line 17 of file kglobalaccel_mac.h.

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

Reimplemented from QWidget.

void KGlobalAccelPrivate::slotActivated ( int  iAction  )  [protected, slot]

void KGlobalAccelPrivate::slotActivated ( int  iAction  )  [protected, slot]

void KGlobalAccelPrivate::suspend ( bool  s  )  [protected]

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.

bool KGlobalAccelPrivate::x11KeyPress ( const XEvent *  pEvent  )  [protected]

void KGlobalAccelPrivate::x11MappingNotify (  )  [protected]


Member Data Documentation

bool KGlobalAccelPrivate::m_blocked [protected]

Definition at line 73 of file kglobalaccel_win.h.

bool KGlobalAccelPrivate::m_blockingDisabled [protected]

Definition at line 74 of file kglobalaccel_win.h.

CodeModMap KGlobalAccelPrivate::m_rgCodeModToAction [protected]

Definition at line 78 of file kglobalaccel_x11.h.


The documentation for this class was generated from the following files:
  • kglobalaccel_emb.h
  • kglobalaccel_x11.h
  • kglobalaccel_win.h
  • kglobalaccel_mac.h

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal