class KAccelString

# class KAccelString | A string class handling accelerators. More...
Definition | `#include <kaccelmanager_private.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KAccelString ()
- KAccelString (const QString &input, int initalWeight=-1)
- void calculateWeights (int initialWeight)
- const QString & pure () 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.

KAccelString () | ### KAccelString

KAccelString (const QString &input, int initalWeight=-1) | ### KAccelString

void calculateWeights (int initialWeight) | ### calculateWeights

const QString & pure () | ### pure

[const]

QString accelerated () | ### accelerated

[const]

int accel () | ### accel

[const]

void setAccel (int accel) | ### setAccel

QChar accelerator () | ### accelerator

[const]

int maxWeight (int &index, const QString &used) | ### maxWeight

bool operator == (const KAccelString &c) | ### operator ==

[const]

- Version: $Id: kaccelmanager_private.h,v 1.5.2.1 2003/02/09 13:55:28 rnolden Exp $
- Author: Matthias Hölzer-Klüpfel
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:15 2003, using kdoc 2.0a54.