KDEUI
#include <kacceleratormanager_private.h>
Public Member Functions | |
KAccelString () | |
KAccelString (const QString &input, int initalWeight=-1) | |
int | accel () const |
QString | accelerated () const |
QChar | accelerator () const |
void | calculateWeights (int initialWeight) |
int | maxWeight (int &index, const QString &used) const |
bool | operator== (const KAccelString &c) const |
int | originalAccel () const |
QString | originalText () const |
const QString & | pure () const |
void | setAccel (int accel) |
Detailed Description
A string class handling accelerators.
This class contains a string and knowledge about accelerators. It keeps a list weights, telling how valuable each character would be as an accelerator.
Definition at line 41 of file kacceleratormanager_private.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 45 of file kacceleratormanager_private.h.
|
explicit |
Definition at line 532 of file kacceleratormanager.cpp.
Member Function Documentation
|
inline |
Definition at line 53 of file kacceleratormanager_private.h.
QString KAccelString::accelerated | ( | ) | const |
Definition at line 559 of file kacceleratormanager.cpp.
QChar KAccelString::accelerator | ( | ) | const |
Definition at line 589 of file kacceleratormanager.cpp.
void KAccelString::calculateWeights | ( | int | initialWeight | ) |
Definition at line 598 of file kacceleratormanager.cpp.
int KAccelString::maxWeight | ( | int & | index, |
const QString & | used | ||
) | const |
Definition at line 678 of file kacceleratormanager.cpp.
|
inline |
Definition at line 63 of file kacceleratormanager_private.h.
|
inline |
Definition at line 56 of file kacceleratormanager_private.h.
|
inline |
Definition at line 57 of file kacceleratormanager_private.h.
|
inline |
Definition at line 50 of file kacceleratormanager_private.h.
|
inline |
Definition at line 54 of file kacceleratormanager_private.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.