kdecore Library API Documentation

KAccelManagerAlgorithm Class Reference

This class encapsulates the algorithm finding the 'best' distribution of accelerators in a hierarchy of widgets. More...

#include <kaccelmanager_private.h>

List of all members.

Static Public Member Functions

void findAccelerators (KAccelStringList &result, QString &used)

Static Public Attributes

const int DEFAULT_WEIGHT = 50
const int FIRST_CHARACTER_EXTRA_WEIGHT = 50
const int WORD_BEGINNING_EXTRA_WEIGHT = 50
const int WANTED_ACCEL_EXTRA_WEIGHT = 150
const int DIALOG_BUTTON_EXTRA_WEIGHT = 300
const int STANDARD_ACCEL = 300
const int ACTION_ELEMENT_WEIGHT = 50
const int GROUP_BOX_WEIGHT = 0
const int MENU_TITLE_WEIGHT = 250


Detailed Description

This class encapsulates the algorithm finding the 'best' distribution of accelerators in a hierarchy of widgets.

Author:
Matthias Hölzer-Klüpfel <mhk@kde.org>
Version:
Id
kaccelmanager_private.h,v 1.8 2003/10/07 22:09:16 mueller Exp

Definition at line 91 of file kaccelmanager_private.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdecore Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed May 5 07:15:47 2004 by doxygen 1.3.6 written by Dimitri van Heesch, © 1997-2003