KDEUI
KGlobalAccelImpl Class Reference
#include <kglobalaccel_mac.h>

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