KConfig
kstandardshortcut.h
29 *Don't forget to add the corresponding entries in g_infoStandardShortcut[] in kstandardshortcut.cpp, too.
139 OpenMainMenu, ///< Open a main menu like the menu bar or a hamburger menu. Necessary for accessibility. @since 6.0
140 OpenContextMenu, ///< Open a context menu for the object with keyboard focus. Necessary for accessibility. @since 6.0
220KCONFIGGUI_EXPORT void saveShortcut(StandardShortcut id, const QList<QKeySequence> &newShortcut);
Convenient methods for access to the common accelerator keys in the key configuration.
Definition kstandardshortcut.cpp:23
const QList< QKeySequence > & beginningOfLine()
Go to beginning of current line.
Definition kstandardshortcut.cpp:693
const QList< QKeySequence > & nextCompletion()
Iterate through a list when completion returns multiple items.
Definition kstandardshortcut.cpp:757
const QList< QKeySequence > & begin()
Go to beginning of the document.
Definition kstandardshortcut.cpp:685
const QList< QKeySequence > & rotateDown()
Help users iterate through a list of entries.
Definition kstandardshortcut.cpp:765
const QList< QKeySequence > & substringCompletion()
Find a string within another string or list of strings.
Definition kstandardshortcut.cpp:769
const QList< QKeySequence > & cut()
Cut selected area and store it in the clipboard.
Definition kstandardshortcut.cpp:633
Category category(StandardShortcut id)
Returns the appropriate category for the given StandardShortcut id.
Definition kstandardshortcut.cpp:604
const QList< QKeySequence > & addBookmark()
Add current page to bookmarks.
Definition kstandardshortcut.cpp:721
const QList< QKeySequence > & deleteWordBack()
Delete a word back from mouse/cursor position.
Definition kstandardshortcut.cpp:649
const QList< QKeySequence > & openMainMenu()
Open a main menu like the menu bar or a hamburger menu.
Definition kstandardshortcut.cpp:825
const QList< QKeySequence > & find()
Initiate a 'find' request in the current document.
Definition kstandardshortcut.cpp:665
const QList< QKeySequence > & paste()
Paste contents of clipboard at mouse/cursor position.
Definition kstandardshortcut.cpp:641
QString label(StandardShortcut id)
Returns a localized label for user-visible display.
Definition kstandardshortcut.cpp:529
QString name(StandardShortcut id)
Returns a unique name for the given accel.
Definition kstandardshortcut.cpp:524
const QList< QKeySequence > & copy()
Copy selected area into the clipboard.
Definition kstandardshortcut.cpp:637
const QList< QKeySequence > & renameFile()
Rename files or folders.
Definition kstandardshortcut.cpp:805
const QList< QKeySequence > & endOfLine()
Go to end of current line.
Definition kstandardshortcut.cpp:697
const QList< QKeySequence > & completion()
Complete text in input widgets.
Definition kstandardshortcut.cpp:749
QString whatsThis(StandardShortcut)
Returns an extended WhatsThis description for the given accelerator.
Definition kstandardshortcut.cpp:536
const QList< QKeySequence > & findPrev()
Find a previous instance of a stored 'find'.
Definition kstandardshortcut.cpp:673
const QList< QKeySequence > & moveToTrash()
Moves files or folders to the trash.
Definition kstandardshortcut.cpp:813
const QList< QKeySequence > & preferences()
Opens the app's settings window.
Definition kstandardshortcut.cpp:817
const QList< QKeySequence > & deleteFile()
Permanently delete files or folders.
Definition kstandardshortcut.cpp:801
QList< QKeySequence > hardcodedDefaultShortcut(StandardShortcut id)
Returns the hardcoded default shortcut for id.
Definition kstandardshortcut.cpp:584
const QList< QKeySequence > & showHideHiddenFiles()
Shows or hides hidden files.
Definition kstandardshortcut.cpp:821
StandardShortcut findByName(const QString &name)
Return the StandardShortcut id of the standard accelerator action which has name as its name,...
Definition kstandardshortcut.cpp:574
const QList< QKeySequence > & prevCompletion()
Iterate through a list when completion returns multiple items.
Definition kstandardshortcut.cpp:753
const QList< QKeySequence > & shortcut(StandardShortcut id)
Returns the keybinding for accel.
Definition kstandardshortcut.cpp:545
void saveShortcut(StandardShortcut id, const QList< QKeySequence > &newShortcut)
Saves the new shortcut cut for standard accel id.
Definition kstandardshortcut.cpp:493
const QList< QKeySequence > & deleteWordForward()
Delete a word forward from mouse/cursor position.
Definition kstandardshortcut.cpp:653
const QList< QKeySequence > & openNew()
Create a new document (or whatever).
Definition kstandardshortcut.cpp:613
const QList< QKeySequence > & findNext()
Find the next instance of a stored 'find' Default: F3.
Definition kstandardshortcut.cpp:669
const QList< QKeySequence > & replace()
Find and replace matches.
Definition kstandardshortcut.cpp:677
const QList< QKeySequence > & openContextMenu()
Open a context menu for the object with keyboard focus.
Definition kstandardshortcut.cpp:829
const QList< QKeySequence > & pasteSelection()
Paste the selection at mouse/cursor position.
Definition kstandardshortcut.cpp:645
Category
Categories in which the standard shortcuts can be classified.
Definition kstandardshortcut.h:150
const QList< QKeySequence > & help()
Help the user in the current situation.
Definition kstandardshortcut.cpp:745
const QList< QKeySequence > & rotateUp()
Help users iterate through a list of entries.
Definition kstandardshortcut.cpp:761
StandardShortcut
Defines the identifier of all standard accelerators.
Definition kstandardshortcut.h:44
@ OpenContextMenu
Open a context menu for the object with keyboard focus. Necessary for accessibility.
Definition kstandardshortcut.h:140
@ OpenMainMenu
Open a main menu like the menu bar or a hamburger menu. Necessary for accessibility.
Definition kstandardshortcut.h:139
@ FitToWidth
Fit the document view to the width of the current window.
Definition kstandardshortcut.h:114
@ FitToPage
Fit the document view to the size of the current window.
Definition kstandardshortcut.h:113
@ FitToHeight
Fit the document view to the height of the current window.
Definition kstandardshortcut.h:115
@ NextCompletion
Iterate through a list when completion returns multiple items.
Definition kstandardshortcut.h:102
@ DeleteWordForward
Delete a word forward from mouse/cursor position.
Definition kstandardshortcut.h:66
@ SwitchApplicationLanguage
Display the Switch Application Language dialog.
Definition kstandardshortcut.h:130
@ PrevCompletion
Iterate through a list when completion returns multiple items.
Definition kstandardshortcut.h:101
@ ConfigureNotifications
Display the notifications configuration dialog.
Definition kstandardshortcut.h:128
@ SubstringCompletion
Find a string within another string or list of strings.
Definition kstandardshortcut.h:103
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.