• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDEUI

Public Types | Static Public Member Functions | List of all members
KAccelManagerAlgorithm Class Reference

#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, CHECKABLE_GROUP_BOX_WEIGHT = 20,
  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.

Author
Matthias H�zer-Klpfel mhk@k.nosp@m.de.o.nosp@m.rg

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 
CHECKABLE_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 737 of file kacceleratormanager.cpp.


The documentation for this class was generated from the following files:
  • kacceleratormanager_private.h
  • kacceleratormanager.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal