KConfig
kstandardshortcutwatcher.cpp
24 connect(d->watcher.get(), &KConfigWatcher::configChanged, this, [this](const KConfigGroup &group, const QByteArrayList &keys) {
Definition: kstandardshortcut.cpp:22
const QList< QKeySequence > & shortcut(StandardShortcut id)
Returns the keybinding for accel.
Definition: kstandardshortcut.cpp:522
QString fromUtf8(const char *str, int size)
void configChanged(const KConfigGroup &group, const QByteArrayList &names)
Emitted when a config group has changed The config will be reloaded before this signal is emitted.
StandardShortcut findByName(const QString &name)
Return the StandardShortcut id of the standard accelerator action which has name as its name,...
Definition: kstandardshortcut.cpp:568
void initialize(StandardShortcut id)
Initialize the accelerator id by checking if it is overridden in the configuration file (and if it is...
Definition: kstandardshortcut.cpp:442
StandardShortcut
Defines the identifier of all standard accelerators.
Definition: kstandardshortcut.h:44
static Ptr create(const KSharedConfig::Ptr &config)
Instantiate a ConfigWatcher for a given config.
Definition: kconfigwatcher.cpp:31
Definition: kconfiggroup.h:38
StandardShortcutWatcher * shortcutWatcher()
Returns the global KStandardShortcutWatcher instance of this program.
Definition: kstandardshortcutwatcher.cpp:40
Watches for changes made to standard shortcuts and notifies about those changes.
Definition: kstandardshortcutwatcher.h:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 04:11:42 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 04:11:42 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.