class KStdAccel

Convenient methods for access of the common accelerator keys in the key configuration. More...

Definition#include <kstdaccel.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods

Protected Members


Detailed Description

Convenient methods for access of the common accelerator keys in the key configuration. These standard keybindings that shall be used in all Kde applications. They will be configurable, so do not hardcode the default behaviour.

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

 KStdAccel (KConfig* cfg = 0)

KStdAccel ()

uint  open (void)

[const]

Open file. Default: Ctrl-o

uint  openNew (void)

[const]

Create a new document (or whatever). Default: Ctrl-n

uint  close (void)

[const]

Close current document. Default: Ctrl-w

uint  save (void)

[const]

Save current document. Default: Ctrl-s

uint  print (void)

[const]

Print current document. Default: Ctrl-p

uint  quit (void)

[const]

Quit the program. Default: Ctrl-q

uint  cut (void)

[const]

Cut selected area and store it in the clipboard. Default: Ctrl-x

uint  copy (void)

[const]

Copy selected area into the clipboard. Default: Ctrl-c

uint  paste (void)

[const]

Paste contents of clipboard at mouse/cursor position. Default: Ctrl-v

uint  undo (void)

[const]

Undo last operation. Default: Ctrl-z

uint  find (void)

[const]

Find, search. Default: Ctrl-f

uint  replace (void)

[const]

Find and replace matches. Default: Ctrl-r

uint  insert (void)

[const]

Toggle insert/overwrite (with visual feedback, e.g. in the statusbar). Default: Insert

uint  home (void)

[const]

Goto beginning of current line. Default: Home

uint  end (void)

[const]

Goto end of current line. Default: End

uint  prior (void)

[const]

Scroll up one page. Default: Prior

uint  next (void)

[const]

Scroll down one page. Default: Next

uint  help (void)

[const]

Help the user in the current situation. Default: F1

uint  readKey (KAccel::StdAccel accel, uint defaultKey=0)

[protected const]

KConfig* config

[protected]


Generated by: prospector@porky.devel.redhat.com on Mon Sep 11 01:50:52 2000, using kdoc 2.0a36.