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

KDEUI

KGlobalAccelImpl Class Reference

#include <kglobalaccel_mac.h>

Inheritance diagram for KGlobalAccelImpl:

Inheritance graph
[legend]

List of all members.


Detailed Description

For internal use only.

The KGlobalAccel private class handles grabbing of global keys, and notification of when these keys are pressed.

Definition at line 33 of file kglobalaccel_mac.h.


Public Member Functions

bool grabKey (int key, bool grab)
bool grabKey (int key, bool grab)
bool grabKey (int key, bool grab)
bool grabKey (int key, bool grab)
void keyboardLayoutChanged ()
 KGlobalAccelImpl (KdedGlobalAccel *owner)
 KGlobalAccelImpl (KdedGlobalAccel *owner)
 KGlobalAccelImpl (class KdedGlobalAccel *owner)
 KGlobalAccelImpl (KdedGlobalAccel *owner)
void setEnabled (bool)
void setEnabled (bool)
void setEnabled (bool)
void setEnabled (bool)
 ~KGlobalAccelImpl ()

Friends

OSStatus hotKeyEventHandler (EventHandlerCallRef inHandlerCallRef, EventRef inEvent, void *inUserData)

Constructor & Destructor Documentation

KGlobalAccelImpl::KGlobalAccelImpl ( KdedGlobalAccel *  owner  ) 

Definition at line 78 of file kglobalaccel_x11.cpp.

KGlobalAccelImpl::~KGlobalAccelImpl (  ) 

KGlobalAccelImpl::KGlobalAccelImpl ( class KdedGlobalAccel *  owner  ) 

KGlobalAccelImpl::KGlobalAccelImpl ( KdedGlobalAccel *  owner  ) 

KGlobalAccelImpl::KGlobalAccelImpl ( KdedGlobalAccel *  owner  ) 


Member Function Documentation

bool KGlobalAccelImpl::grabKey ( int  key,
bool  grab 
)

This function registers or unregisters a certain key for global capture, depending on grab.

Before destruction, every grabbed key will be released, so this object does not need to do any tracking.

Parameters:
key the Qt keycode to grab or release.
grab true to grab they key, false to release the key.
Returns:
true if successful, otherwise false.

bool KGlobalAccelImpl::grabKey ( int  key,
bool  grab 
)

This function registers or unregisters a certain key for global capture, depending on grab.

Before destruction, every grabbed key will be released, so this object does not need to do any tracking.

Parameters:
key the Qt keycode to grab or release.
grab true to grab they key, false to release the key.
Returns:
true if successful, otherwise false.

bool KGlobalAccelImpl::grabKey ( int  key,
bool  grab 
)

This function registers or unregisters a certain key for global capture, depending on grab.

Before destruction, every grabbed key will be released, so this object does not need to do any tracking.

Parameters:
key the Qt keycode to grab or release.
grab true to grab they key, false to release the key.
Returns:
true if successful, otherwise false.

bool KGlobalAccelImpl::grabKey ( int  key,
bool  grab 
)

This function registers or unregisters a certain key for global capture, depending on grab.

Before destruction, every grabbed key will be released, so this object does not need to do any tracking.

Parameters:
key the Qt keycode to grab or release.
grab true to grab they key, false to release the key.
Returns:
true if successful, otherwise false.

Definition at line 84 of file kglobalaccel_x11.cpp.

void KGlobalAccelImpl::keyboardLayoutChanged (  ) 

void KGlobalAccelImpl::setEnabled ( bool   ) 

Enable/disable all shortcuts. There will not be any grabbed shortcuts at this point.

void KGlobalAccelImpl::setEnabled ( bool   ) 

Enable/disable all shortcuts. There will not be any grabbed shortcuts at this point.

void KGlobalAccelImpl::setEnabled ( bool   ) 

Enable/disable all shortcuts. There will not be any grabbed shortcuts at this point.

void KGlobalAccelImpl::setEnabled ( bool  enable  ) 

Enable/disable all shortcuts. There will not be any grabbed shortcuts at this point.

Definition at line 245 of file kglobalaccel_x11.cpp.


Friends And Related Function Documentation

OSStatus hotKeyEventHandler ( EventHandlerCallRef  inHandlerCallRef,
EventRef  inEvent,
void *  inUserData 
) [friend]


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

KDEUI

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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