KDEUI
kacceleratormanager_private.h
Go to the documentation of this file.
63 bool operator == (const KAccelString &c) const { return m_pureText == c.m_pureText && m_accel == c.m_accel && m_orig_accel == c.m_orig_accel; }
This class encapsulates the algorithm finding the 'best' distribution of accelerators in a hierarchy ...
Definition kacceleratormanager_private.h:90
@ WANTED_ACCEL_EXTRA_WEIGHT
Definition kacceleratormanager_private.h:103
@ CHECKABLE_GROUP_BOX_WEIGHT
Definition kacceleratormanager_private.h:109
@ ACTION_ELEMENT_WEIGHT
Definition kacceleratormanager_private.h:105
@ MENU_TITLE_WEIGHT
Definition kacceleratormanager_private.h:111
@ FIRST_CHARACTER_EXTRA_WEIGHT
Definition kacceleratormanager_private.h:97
@ WORD_BEGINNING_EXTRA_WEIGHT
Definition kacceleratormanager_private.h:99
@ GROUP_BOX_WEIGHT
Definition kacceleratormanager_private.h:107
@ DIALOG_BUTTON_EXTRA_WEIGHT
Definition kacceleratormanager_private.h:101
static void findAccelerators(KAccelStringList &result, QString &used)
Definition kacceleratormanager.cpp:737
void calculateWeights(int initialWeight)
Definition kacceleratormanager.cpp:598
int maxWeight(int &index, const QString &used) const
Definition kacceleratormanager.cpp:678
bool operator==(const KAccelString &c) const
Definition kacceleratormanager_private.h:63
KPopupAccelManager(QMenu *popup)
Definition kacceleratormanager.cpp:787
static void manage(QStackedWidget *popup)
Definition kacceleratormanager.cpp:882
QWidgetStackAccelManager(QStackedWidget *popup)
Definition kacceleratormanager.cpp:888
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.