KDECore
kserviceaction.h
Go to the documentation of this file.
Represents an action in a .desktop file Actions are defined with the config key Actions in the [Deskt...
Definition kserviceaction.h:35
KServiceAction(const QString &name, const QString &text, const QString &icon, const QString &exec, bool noDisplay=false)
Creates a KServiceAction.
Definition kserviceaction.cpp:43
KServiceAction & operator=(const KServiceAction &other)
Assignment operator.
Definition kserviceaction.cpp:59
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
QDataStream & operator>>(QDataStream &s, KDateTime::Spec &spec)
Read a KDateTime::Spec object into spec from in, in binary format.
Definition kdatetime.cpp:274
QDataStream & operator<<(QDataStream &str, const KServiceAction &act)
Definition kserviceaction.cpp:117
QDataStream & operator>>(QDataStream &str, KServiceAction &act)
Definition kserviceaction.cpp:105
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.