# class KStdAccel | Convenient methods for access to the common accelerator keys in the key configuration. More...
Definition | `#include <kstdaccel.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Types

- enum StdAccel { Open=0, New, Close, Save, Print, Quit, Cut, Copy, Paste, Undo, Redo, Find, Replace, Insert, Home, End, Prior, Next, Help, FindNext, FindPrev, ZoomIn, ZoomOut, AddBookmark, TextCompletion, PrevCompletion, NextCompletion, RotateUp, RotateDown, PopupMenuContext, WhatThis, Reload, SelectAll, Up, Back, Forward, ShowMenubar, NB_STD_ACCELS }

#### Public Methods

- KStdAccel ()

#### Public Static Methods

- static uint open ()
- static uint openNew ()
- static uint close ()
- static uint save ()
- static uint print ()
- static uint quit ()
- static uint cut ()
- static uint copy ()
- static uint paste ()
- static uint undo ()
- static uint redo ()
- static uint find ()
- static uint findNext ()
- static uint findPrev ()
- static uint replace ()
- static uint zoomIn ()
- static uint zoomOut ()
- static uint insert ()
- static uint home ()
- static uint end ()
- static uint prior ()
- static uint next ()
- static uint addBookmark ()
- static uint help ()
- static uint completion ()
- static uint prevCompletion ()
- static uint nextCompletion ()
- static uint rotateUp ()
- static uint rotateDown ()
- static uint popupMenuContext ()
- static uint whatsThis ()
- static uint reload ()
- static uint selectAll ()
- static uint up ()
- static uint back ()
- static uint forward ()
- static uint showMenubar ()
- static bool isEqual (QKeyEvent* , int )
- static uint key (StdAccel accel)
- static QString action (StdAccel)
- static QString description (StdAccel)
- static uint defaultKey (StdAccel accel)

## Detailed Description

Convenient methods for access to the common accelerator keys in the key configuration. These are the standard keybindings that should be used in all KDE applications. They will be configurable, so do not hardcode the default behavior.

If you want real configurable keybindings in your applications, please checkout the class KAccel in kaccel.h

KStdAccel () | ### KStdAccel

enum StdAccel { Open=0, New, Close, Save, Print, Quit, Cut, Copy, Paste, Undo, Redo, Find, Replace, Insert, Home, End, Prior, Next, Help, FindNext, FindPrev, ZoomIn, ZoomOut, AddBookmark, TextCompletion, PrevCompletion, NextCompletion, RotateUp, RotateDown, PopupMenuContext, WhatThis, Reload, SelectAll, Up, Back, Forward, ShowMenubar, NB_STD_ACCELS } | ### StdAccel

uint open () | ### open

[static]

uint openNew () | ### openNew

[static]

uint close () | ### close

[static]

uint save () | ### save

[static]

uint print () | ### print

[static]

uint quit () | ### quit

[static]

uint cut () | ### cut

[static]

uint copy () | ### copy

[static]

uint paste () | ### paste

[static]

uint undo () | ### undo

[static]

uint redo () | ### redo

[static]

uint find () | ### find

[static]

uint findNext () | ### findNext

[static]

uint findPrev () | ### findPrev

[static]

uint replace () | ### replace

[static]

uint zoomIn () | ### zoomIn

[static]

uint zoomOut () | ### zoomOut

[static]

uint insert () | ### insert

[static]

uint home () | ### home

[static]

uint end () | ### end

[static]

uint prior () | ### prior

[static]

uint next () | ### next

[static]

uint addBookmark () | ### addBookmark

[static]

uint help () | ### help

[static]

uint completion () | ### completion

[static]

uint prevCompletion () | ### prevCompletion

[static]

Iterate through a list when completion returns mutiple items. Default: Ctrl+Up *

uint nextCompletion () | ### nextCompletion

[static]

Iterate through a list when completion returns mutiple items. Default: Ctrl+Down *

uint rotateUp () | ### rotateUp

[static]

uint rotateDown () | ### rotateDown

[static]

uint popupMenuContext () | ### popupMenuContext

[static]

uint whatsThis () | ### whatsThis

[static]

uint reload () | ### reload

[static]

uint selectAll () | ### selectAll

[static]

uint up () | ### up

[static]

uint back () | ### back

[static]

uint forward () | ### forward

[static]

uint showMenubar () | ### showMenubar

[static]

bool isEqual (QKeyEvent* , int ) | ### isEqual

[static]

Compare the keys generated by the key event with the value of the integer.

If a modifier (Shift, Alt, Ctrl) key is present in QKeyEvent, its sum with the actual key value is used for comparing it with the integer parameter.

Parameters:

ev | the key event to be used in the comparison.
key | the int value to be compared to the key event.

Returns: true if the int value matches the integer representation of the QKeyEvent

uint key (StdAccel accel) | ### key

[static]

Return the keybinding for `accel`.

QString action (StdAccel) | ### action

[static]

QString description (StdAccel) | ### description

[static]

uint defaultKey (StdAccel accel) | ### defaultKey

[static]

Return the hardcoded default keybinding for `accel`. This does not take into account the user's configuration.

Generated by: root@sparc.ports.openbsd.org on Wed May 2 09:34:58 2001, using kdoc 2.0a53.