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

Public Methods

Public Static Methods


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

uint open ()
[static]

Open file. Default: Ctrl-o

uint openNew ()
[static]

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

uint close ()
[static]

Close current document. Default: Ctrl-w

uint save ()
[static]

Save current document. Default: Ctrl-s

uint print ()
[static]

Print current document. Default: Ctrl-p

uint quit ()
[static]

Quit the program. Default: Ctrl-q

uint cut ()
[static]

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

uint copy ()
[static]

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

uint paste ()
[static]

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

uint undo ()
[static]

Undo last operation. Default: Ctrl-z

uint redo ()
[static]

Redo. Default: Shift-Ctrl-z

uint find ()
[static]

Find, search. Default: Ctrl-f

uint findNext ()
[static]

Find/search next. Default: F3

uint findPrev ()
[static]

Find/search previous. Default: Shift-F3

uint replace ()
[static]

Find and replace matches. Default: Ctrl-r

uint zoomIn ()
[static]

Zoom in. Default: Ctrl-Plus

uint zoomOut ()
[static]

Zoom out. Default: Ctrl-Minus

uint insert ()
[static]

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

uint home ()
[static]

Goto beginning of current line. Default: Home

uint end ()
[static]

Goto end of current line. Default: End

uint prior ()
[static]

Scroll up one page. Default: Prior

uint next ()
[static]

Scroll down one page. Default: Next

uint addBookmark ()
[static]

Add current page to bookmarks. Default: Ctrl+B

uint help ()
[static]

Help the user in the current situation. Default: F1

uint completion ()
[static]

Asthetic feature to help users complete text in input widgets. *

uint rotateUp ()
[static]

Asthetic feature to help users complete text in input widgets. *

uint rotateDown ()
[static]

Asthetic feature to help users complete text in input widgets. *

uint popupMenuContext ()
[static]

popup a context menu *

uint whatsThis ()
[static]

What's This button *

uint reload ()
[static]

Reload *

bool isEqual (QKeyEvent *, int)
[static]

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

NOTE: 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.

Returns: true if the integer equivalent of the QKeyEvent matches the value of the integer.


Generated by: root@tantive.terraplex.com on Sun Feb 27 17:39:19 2000, using kdoc 2.0a33.