KService
kserviceaction.cpp
21 KServiceActionPrivate(const QString &name, const QString &text, const QString &icon, const QString &exec, bool noDisplay)
44KServiceAction::KServiceAction(const QString &name, const QString &text, const QString &icon, const QString &exec, bool noDisplay, const KServicePtr &service)
153 return KConfigGroup::convertToQVariant(_name.toUtf8().constData(), it.value().toString().toUtf8(), QVariant(QMetaType(type)));
Represents an action in a .desktop file Actions are defined with the config key Actions in the [Deskt...
Definition kserviceaction.h:31
KServiceAction & operator=(const KServiceAction &other)
Assignment operator.
Definition kserviceaction.cpp:59
KServicePtr service() const
Returns the service that this action comes from.
Definition kserviceaction.cpp:105
void setData(const QVariant &userData)
Sets the action's internal data to the given userData.
Definition kserviceaction.cpp:70
bool noDisplay() const
Returns whether the action should be suppressed in menus.
Definition kserviceaction.cpp:95
KCALENDARCORE_EXPORT QDataStream & operator>>(QDataStream &in, const KCalendarCore::Alarm::Ptr &)
QString name(StandardAction id)
QDebug operator<<(QDebug dbg, const PerceptualColor::MultiSpinBoxSection &value)
const char * constData() const const
Type
QByteArray toUtf8() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:13:19 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:13:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.