kdecore Library API Documentation

KAccelString Class Reference

A string class handling accelerators. More...

#include <kaccelmanager_private.h>

Collaboration diagram for KAccelString:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KAccelString (const QString &input, int initalWeight=-1)
void calculateWeights (int initialWeight)
const QStringpure () const
QString accelerated () const
int accel () const
void setAccel (int accel)
QChar accelerator () const
int maxWeight (int &index, const QString &used)
bool operator== (const KAccelString &c) const

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.

Author:
Matthias Hölzer-Klüpfel <mhk@kde.org>
Version:
Id
kaccelmanager_private.h,v 1.5.2.1 2003/02/09 13:55:28 rnolden Exp

Definition at line 42 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 kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 12:47:11 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001