|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KStdAccel
public class KStdAccel
\namespace KStdAccel 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
KAccelShortcutList
Field Summary | |
---|---|
static int |
AccelNone
Defines the identifier of all standard accelerators. |
static int |
AddBookmark
|
static int |
Back
|
static int |
BackwardWord
|
static int |
BeginningOfLine
|
static int |
Close
|
static int |
Copy
|
static int |
Cut
|
static int |
DeleteWordBack
|
static int |
DeleteWordForward
|
static int |
Deselect
|
static int |
End
|
static int |
EndOfLine
|
static int |
Find
|
static int |
FindNext
|
static int |
FindPrev
|
static int |
Forward
|
static int |
ForwardWord
|
static int |
FullScreen
|
static int |
GotoLine
|
static int |
Help
|
static int |
Home
|
static int |
New
|
static int |
Next
|
static int |
NextCompletion
|
static int |
Open
|
static int |
Paste
|
static int |
PasteSelection
|
static int |
PopupMenuContext
|
static int |
PrevCompletion
|
static int |
Print
|
static int |
Prior
|
static int |
Quit
|
static int |
Redo
|
static int |
Reload
|
static int |
Replace
|
static int |
RotateDown
|
static int |
RotateUp
|
static int |
Save
|
static int |
SelectAll
|
static int |
ShowMenubar
|
static int |
SubstringCompletion
|
static int |
TabNext
|
static int |
TabPrev
|
static int |
TextCompletion
|
static int |
Undo
|
static int |
Up
|
static int |
WhatsThis
|
static int |
WhatThis
|
static int |
ZoomIn
|
static int |
ZoomOut
|
Constructor Summary | |
---|---|
KStdAccel()
|
Method Summary | |
---|---|
static KShortcut |
addBookmark()
Add current page to bookmarks. |
static KShortcut |
back()
Back. |
static KShortcut |
backwardWord()
BackwardWord. |
static KShortcut |
beginningOfLine()
Goto beginning of current line. |
static KShortcut |
close()
Close current document. |
static KShortcut |
completion()
Complete text in input widgets. |
static KShortcut |
copy()
Copy selected area into the clipboard. |
static KShortcut |
cut()
Cut selected area and store it in the clipboard. |
static KShortcut |
deleteWordBack()
Delete a word back from mouse/cursor position. |
static KShortcut |
deleteWordForward()
Delete a word forward from mouse/cursor position. |
static KShortcut |
end()
Goto end of the document. |
static KShortcut |
endOfLine()
Goto end of current line. |
static KShortcut |
find()
Find, search. |
static KShortcut |
findNext()
Find/search next. |
static KShortcut |
findPrev()
Find/search previous. |
static int |
findStdAccel(KKeySequence keySeq)
Return the StdAccel id of the standard accel action which uses this key sequence, or AccelNone if none of them do. |
static KShortcut |
forward()
Forward. |
static KShortcut |
forwardWord()
ForwardWord. |
static KShortcut |
fullScreen()
Full Screen Mode. |
static KShortcut |
gotoLine()
Go to line. |
static KShortcut |
help()
Help the user in the current situation. |
static KShortcut |
home()
Goto beginning of the document. |
static java.lang.String |
label(int id)
Returns a localized label for user-visible display. |
static java.lang.String |
name(int id)
Returns a unique name for the given accel. |
static KShortcut |
next()
Scroll down one page. |
static KShortcut |
nextCompletion()
Iterate through a list when completion returns multiple items. |
static KShortcut |
open()
Open file. |
static KShortcut |
openNew()
Create a new document (or whatever). |
static KShortcut |
paste()
Paste contents of clipboard at mouse/cursor position. |
static KShortcut |
pasteSelection()
Paste the selection at mouse/cursor position. |
static KShortcut |
popupMenuContext()
popup a context menu. |
static KShortcut |
prevCompletion()
Iterate through a list when completion returns multiple items. |
static KShortcut |
print()
Print current document. |
static KShortcut |
prior()
Scroll up one page. |
static KShortcut |
quit()
Quit the program. |
static KShortcut |
redo()
Redo. |
static KShortcut |
reload()
Reload. |
static KShortcut |
replace()
Find and replace matches. |
static KShortcut |
rotateDown()
Help users iterate through a list of entries. |
static KShortcut |
rotateUp()
Help users iterate through a list of entries. |
static KShortcut |
save()
Save current document. |
static KShortcut |
selectAll()
Reload. |
static KShortcut |
shortcut(int id)
Returns the keybinding for accel. |
static KShortcut |
shortcutDefault(int id)
Returns the hardcoded default shortcut for id.
This does not take into account the user's configuration. |
static KShortcut |
shortcutDefault3(int id)
Returns the hardcoded default 3 modifier shortcut for id.
This does not take into account the user's configuration. |
static KShortcut |
shortcutDefault4(int id)
Returns the hardcoded default 4 modifier shortcut for id.
This does not take into account the user's configuration. |
static KShortcut |
showMenubar()
Show Menu Bar. |
static KShortcut |
substringCompletion()
Find a string within another string or list of strings. |
static KShortcut |
tabNext()
Next Tab. |
static KShortcut |
tabPrev()
Previous Tab. |
static KShortcut |
undo()
Undo last operation. |
static KShortcut |
up()
Up. |
static KShortcut |
whatsThis()
What's This button. |
static java.lang.String |
whatsThis(int id)
Returns an extended WhatsThis description for the given accelerator. |
static KShortcut |
zoomIn()
Zoom in. |
static KShortcut |
zoomOut()
Zoom out. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int AccelNone
public static final int Open
public static final int New
public static final int Close
public static final int Save
public static final int Print
public static final int Quit
public static final int Undo
public static final int Redo
public static final int Cut
public static final int Copy
public static final int Paste
public static final int SelectAll
public static final int Deselect
public static final int DeleteWordBack
public static final int DeleteWordForward
public static final int Find
public static final int FindNext
public static final int FindPrev
public static final int Replace
public static final int Home
public static final int End
public static final int Prior
public static final int Next
public static final int GotoLine
public static final int AddBookmark
public static final int ZoomIn
public static final int ZoomOut
public static final int Up
public static final int Back
public static final int Forward
public static final int Reload
public static final int PopupMenuContext
public static final int ShowMenubar
public static final int Help
public static final int WhatsThis
public static final int TextCompletion
public static final int PrevCompletion
public static final int NextCompletion
public static final int SubstringCompletion
public static final int RotateUp
public static final int RotateDown
public static final int TabNext
public static final int TabPrev
public static final int FullScreen
public static final int BackwardWord
public static final int ForwardWord
public static final int BeginningOfLine
public static final int EndOfLine
public static final int PasteSelection
public static final int WhatThis
Constructor Detail |
---|
public KStdAccel()
Method Detail |
---|
public static KShortcut shortcut(int id)
accel.
id
- the id of the acceleratorpublic static java.lang.String name(int id)
id
- the id of the accelerator
public static java.lang.String label(int id)
id
- the id of the accelerator
public static java.lang.String whatsThis(int id)
id
- the id of the accelerator
public static int findStdAccel(KKeySequence keySeq)
keySeq
- the key sequence to search
public static KShortcut shortcutDefault(int id)
id.
This does not take into account the user's configuration.
id
- the id of the accelerator
public static KShortcut shortcutDefault3(int id)
id.
This does not take into account the user's configuration.
id
- the id of the accelerator
public static KShortcut shortcutDefault4(int id)
id.
This does not take into account the user's configuration.
id
- the id of the accelerator
public static KShortcut open()
public static KShortcut openNew()
public static KShortcut close()
public static KShortcut save()
public static KShortcut print()
public static KShortcut quit()
public static KShortcut undo()
public static KShortcut redo()
public static KShortcut cut()
public static KShortcut copy()
public static KShortcut paste()
public static KShortcut pasteSelection()
public static KShortcut selectAll()
public static KShortcut deleteWordBack()
public static KShortcut deleteWordForward()
public static KShortcut find()
public static KShortcut findNext()
public static KShortcut findPrev()
public static KShortcut replace()
public static KShortcut zoomIn()
public static KShortcut zoomOut()
public static KShortcut home()
public static KShortcut end()
public static KShortcut beginningOfLine()
public static KShortcut endOfLine()
public static KShortcut prior()
public static KShortcut next()
public static KShortcut gotoLine()
public static KShortcut addBookmark()
public static KShortcut tabNext()
public static KShortcut tabPrev()
public static KShortcut fullScreen()
public static KShortcut help()
public static KShortcut completion()
public static KShortcut prevCompletion()
public static KShortcut nextCompletion()
public static KShortcut substringCompletion()
public static KShortcut rotateUp()
public static KShortcut rotateDown()
public static KShortcut popupMenuContext()
public static KShortcut whatsThis()
public static KShortcut reload()
public static KShortcut up()
public static KShortcut back()
public static KShortcut forward()
public static KShortcut backwardWord()
public static KShortcut forwardWord()
public static KShortcut showMenubar()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |