KDEUI
KAccelManagerAlgorithm Class Reference
This class encapsulates the algorithm finding the 'best' distribution of accelerators in a hierarchy of widgets. More...
#include <kacceleratormanager_private.h>
Public Types | |
enum | { DEFAULT_WEIGHT = 50, FIRST_CHARACTER_EXTRA_WEIGHT = 50, WORD_BEGINNING_EXTRA_WEIGHT = 50, DIALOG_BUTTON_EXTRA_WEIGHT = 300, WANTED_ACCEL_EXTRA_WEIGHT = 150, ACTION_ELEMENT_WEIGHT = 50, GROUP_BOX_WEIGHT = -2000, MENU_TITLE_WEIGHT = 250, STANDARD_ACCEL = 300 } |
Static Public Member Functions | |
static void | findAccelerators (KAccelStringList &result, QString &used) |
Detailed Description
This class encapsulates the algorithm finding the 'best' distribution of accelerators in a hierarchy of widgets.
Definition at line 89 of file kacceleratormanager_private.h.
Member Enumeration Documentation
anonymous enum |
- Enumerator:
DEFAULT_WEIGHT FIRST_CHARACTER_EXTRA_WEIGHT WORD_BEGINNING_EXTRA_WEIGHT DIALOG_BUTTON_EXTRA_WEIGHT WANTED_ACCEL_EXTRA_WEIGHT ACTION_ELEMENT_WEIGHT GROUP_BOX_WEIGHT MENU_TITLE_WEIGHT STANDARD_ACCEL
Definition at line 93 of file kacceleratormanager_private.h.
Member Function Documentation
void KAccelManagerAlgorithm::findAccelerators | ( | KAccelStringList & | result, | |
QString & | used | |||
) | [static] |
Definition at line 727 of file kacceleratormanager.cpp.
The documentation for this class was generated from the following files: