KConfig
kstandardshortcutwatcher.cpp
24 connect(d->watcher.get(), &KConfigWatcher::configChanged, this, [this](const KConfigGroup &group, const QByteArrayList &keys) {
static Ptr create(const KSharedConfig::Ptr &config)
Instantiate a ConfigWatcher for a given config.
Definition kconfigwatcher.cpp:31
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.
Watches for changes made to standard shortcuts and notifies about those changes.
Definition kstandardshortcutwatcher.h:28
KCRASH_EXPORT void initialize()
Convenient methods for access to the common accelerator keys in the key configuration.
Definition kstandardshortcut.cpp:23
StandardShortcutWatcher * shortcutWatcher()
Returns the global KStandardShortcutWatcher instance of this program.
Definition kstandardshortcutwatcher.cpp:40
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 > & shortcut(StandardShortcut id)
Returns the keybinding for accel.
Definition kstandardshortcut.cpp:545
QString fromUtf8(QByteArrayView str)
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:55:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:55:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.