class KStdAccel
|
Convenient methods for access of the common accelerator keys in
the key configuration. More... |
|
|
Public Members
- KStdAccel (KConfig* cfg = 0)
- ~KStdAccel ()
- uint open (void) const
- uint openNew (void) const
- uint close (void) const
- uint save (void) const
- uint print (void) const
- uint quit (void) const
- uint cut (void) const
- uint copy (void) const
- uint paste (void) const
- uint undo (void) const
- uint find (void) const
- uint replace (void) const
- uint insert (void) const
- uint home (void) const
- uint end (void) const
- uint prior (void) const
- uint next (void) const
- uint help (void) const
Protected Members
- uint readKey (KAccel::StdAccel accel, uint defaultKey=0) const
- KConfig* config
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
[const] Open file. Default: Ctrl-o
[const] Create a new document (or whatever). Default: Ctrl-n
[const] Close current document. Default: Ctrl-w
[const] Save current document. Default: Ctrl-s
[const] Print current document. Default: Ctrl-p
[const] Quit the program. Default: Ctrl-q
[const] Cut selected area and store it in the clipboard. Default: Ctrl-x
[const] Copy selected area into the clipboard. Default: Ctrl-c
[const] Paste contents of clipboard at mouse/cursor position. Default: Ctrl-v
[const] Undo last operation. Default: Ctrl-z
[const] Find, search. Default: Ctrl-f
[const] Find and replace matches. Default: Ctrl-r
[const] Toggle insert/overwrite (with visual feedback, e.g. in the statusbar). Default: Insert
[const] Goto beginning of current line. Default: Home
[const] Goto end of current line. Default: End
[const] Scroll up one page. Default: Prior
[const] Scroll down one page. Default: Next
[const] Help the user in the current situation. Default: F1
Generated by: root@jedi.mandrakesoft.com on Sat Dec 25 21:35:37 199. |