KConfigWidgets
kcolorschememenu.cpp
24 KActionMenu *menu = new KActionMenu(QIcon::fromTheme(QStringLiteral("preferences-desktop-color")), i18n("Color Scheme"), parent);
void addAction(QAction *action)
QAbstractItemModel * model() const
QString activeSchemeId() const
QModelIndex indexForScheme(const QString &name) const
void activateScheme(const QModelIndex &index)
static QString removeAcceleratorMarker(const QString &label)
QString i18n(const char *text, const TYPE &arg...)
KActionMenu * createMenu(KColorSchemeManager *manager, QObject *parent=nullptr)
Creates a KActionMenu populated with all the available color schemes.
Definition kcolorschememenu.cpp:21
void setCheckable(bool)
void setChecked(bool)
QVariant data() const const
void setActionGroup(QActionGroup *group)
void setData(const QVariant &data)
text
QIcon fromTheme(const QString &name)
QVariant data(int role) const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool isEmpty() const const
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:56:38 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:56:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.