KDEUI
KCheckAccelerators Class Reference
#include <kcheckaccelerators.h>
Inheritance diagram for KCheckAccelerators:

Public Member Functions | |
bool | eventFilter (QObject *, QEvent *e) |
Static Public Member Functions | |
static void | initiateIfNeeded (QObject *parent) |
Detailed Description
For internal use only.
This class allows translators (and application developers) to check for accelerator conflicts in menu and widgets. Put the following in your kdeglobals (or the config file for the application you're testing):
[Development] CheckAccelerators=F12 AutoCheckAccelerators=false AlwaysShowCheckAccelerators=false
[Development] CopyWidgetText=true CopyWidgetTextCommand=find_in_po_script "%1" "%2"
Definition at line 84 of file kcheckaccelerators.h.
Member Function Documentation
Re-implemented to filter the parent's events.
Definition at line 93 of file kcheckaccelerators.cpp.
void KCheckAccelerators::initiateIfNeeded | ( | QObject * | parent | ) | [static] |
Creates a KCheckAccelerators instance for the given object if this feature is enabled in kdeglobals.
- Parameters:
-
parent the parent to check
Definition at line 56 of file kcheckaccelerators.cpp.
The documentation for this class was generated from the following files: