|
|
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
|
enum |
uint |
[static]
Open file. Default: Ctrl-o
uint |
[static]
Create a new document (or whatever). Default: Ctrl-n
uint |
[static]
Close current document. Default: Ctrl-w
uint |
[static]
Save current document. Default: Ctrl-s
uint |
[static]
Print current document. Default: Ctrl-p
uint |
[static]
Quit the program. Default: Ctrl-q
uint |
[static]
Cut selected area and store it in the clipboard. Default: Ctrl-x
uint |
[static]
Copy selected area into the clipboard. Default: Ctrl-c
uint |
[static]
Paste contents of clipboard at mouse/cursor position. Default: Ctrl-v
uint |
[static]
Undo last operation. Default: Ctrl-z
uint |
[static]
Redo. Default: Shift-Ctrl-z
uint |
[static]
Find, search. Default: Ctrl-f
uint |
[static]
Find/search next. Default: F3
uint |
[static]
Find/search previous. Default: Shift-F3
uint |
[static]
Find and replace matches. Default: Ctrl-r
uint |
[static]
Zoom in. Default: Ctrl-Plus
uint |
[static]
Zoom out. Default: Ctrl-Minus
uint |
[static]
Toggle insert/overwrite (with visual feedback, e.g. in the statusbar). Default: Insert
uint |
[static]
Goto beginning of current line. Default: Home
uint |
[static]
Goto end of current line. Default: End
uint |
[static]
Scroll up one page. Default: Prior
uint |
[static]
Scroll down one page. Default: Next
uint |
[static]
Add current page to bookmarks. Default: Ctrl+B
uint |
[static]
Help the user in the current situation. Default: F1
uint |
[static]
Complete text in input widgets. Default Ctrl+E *
uint |
[static]
Iterate through a list when completion returns mutiple items. Default: Ctrl+Up *
uint |
[static]
Iterate through a list when completion returns mutiple items. Default: Ctrl+Down *
uint |
[static]
Help users iterate through a list of enteries. Default: Up *
uint |
[static]
Help users iterate through a list of enteries. Default: Down *
uint |
[static]
popup a context menu. Default: Menu *
uint |
[static]
What's This button. Default: Shift+F1 *
uint |
[static]
Reload. Default: F5 *
uint |
[static]
Reload. Default: Ctrl-A *
bool |
[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 |
[static]
Return the keybinding for accel.
QString |
[static]
QString |
[static]
uint |
[static]
Return the hardcoded default keybinding for accel.
This does not take into account the user's configuration.