KAccelManagerAlgorithm Class Reference
#include <kaccelmanager_private.h>
Detailed Description
This class encapsulates the algorithm finding the 'best' distribution of accelerators in a hierarchy of widgets.
- Author:
- Matthias Hoelzer-Kluepfel <mhk@kde.org>
Definition at line 90 of file kaccelmanager_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) |
Member Enumeration Documentation
|
Constants used in the algorithm.
Definition at line 95 of file kaccelmanager_private.h. |
Member Function Documentation
|
Method to call to find the best distribution of accelerators.
Definition at line 682 of file kaccelmanager.cpp. |
The documentation for this class was generated from the following files: