KConfig
kstandardactions.cpp
40 // qCDebug(KCONFIG_WIDGETS_LOG) << "KStandardActions::create( " << id << "=" << (pInfo ? pInfo->psName : (const char*)0) << ", " << parent << " )"; //
116 // Set the text before setting the MenuRole, as on OS X setText will do some heuristic role guessing.
152 [pAction, shortcut = pInfo->idAccel](KStandardShortcut::StandardShortcut id, const QList<QKeySequence> &newShortcut) {
164 QMetaObject::invokeMethod(parent, "addAction", Q_ARG(QString, pAction->objectName()), Q_ARG(QAction *, pAction));
void shortcutChanged(KStandardShortcut::StandardShortcut id, const QList< QKeySequence > &shortcut)
The standardshortcut id was changed to shortcut.
Convenience methods to access all standard KDE actions.
Definition kstandardactions.cpp:16
KStandardShortcut::StandardShortcut shortcutForActionId(StandardAction id)
Returns the standardshortcut associated with actionId.
Definition kstandardactions.cpp:29
QAction * _kgui_createInternal(StandardAction id, QObject *parent)
Definition kstandardactions.cpp:35
QList< StandardAction > actionIds()
Returns a list of all actionIds.
Definition kstandardactions.cpp:18
StandardShortcutWatcher * shortcutWatcher()
Returns the global KStandardShortcutWatcher instance of this program.
Definition kstandardshortcutwatcher.cpp:40
const QList< QKeySequence > & shortcut(StandardShortcut id)
Returns the keybinding for accel.
Definition kstandardshortcut.cpp:545
StandardShortcut
Defines the identifier of all standard accelerators.
Definition kstandardshortcut.h:44
QuitRole
void setIcon(const QIcon &icon)
void setShortcuts(QKeySequence::StandardKey key)
void setText(const QString &text)
void setToolTip(const QString &tip)
applicationName
QString translate(const char *context, const char *sourceText, const char *disambiguation, int n)
applicationDisplayName
bool isRightToLeft()
QIcon fromTheme(const QString &name)
void append(QList< T > &&value)
CurrencyIsoCode
QString currencySymbol(CurrencySymbolFormat format) const const
bool invokeMethod(QObject *context, Functor &&function, FunctorReturnType *ret)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void setObjectName(QAnyStringView name)
bool setProperty(const char *name, QVariant &&value)
QString arg(Args &&... args) const const
bool isEmpty() const const
QString toLower() const const
QVariant fromValue(T &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.