|
|
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, GotoLine, DeleteWordBack, DeleteWordForward, NB_STD_ACCELS } | StdAccel |
uint open ()
| open |
[static]
uint openNew ()
| openNew |
[static]
uint close ()
| close |
[static]
uint save ()
| save |
[static]
uint print ()
|
[static]
uint quit ()
| quit |
[static]
uint cut ()
| cut |
[static]
uint copy ()
| copy |
[static]
uint paste ()
| paste |
[static]
uint deleteWordBack ()
| deleteWordBack |
[static]
uint deleteWordForward ()
| deleteWordForward |
[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 gotoLine ()
| gotoLine |
[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.
uint defaultKey3 (StdAccel accel)
| defaultKey3 |
[static]
uint defaultKey4 (StdAccel accel)
| defaultKey4 |
[static]
Generated by: dfaure on kde.faure.org on Thu Jan 17 22:15:01 2002, using kdoc 2.0a53. |