KRunner
action.h
17 * The goal is to make it more reliable, because QIcon::fromTheme which is often needed in a QAction constructor is not thread safe.
18 * Also, it makes the API more consistent with the org.kde.krunner1 DBus interface and forces consumers to set an icon.
32 * @param id ID which identifies the action uniquely within the context of the respective runner plugin
This class represents an action that will be shown next to a match.
Definition action.h:23
QString iconSource
Source for the icon: Name of the icon from a theme, file path or file URL.
Definition action.h:28
Action(const QString &id, const QString &iconSource, const QString &text)
Constructs a new action.
Definition action.cpp:25
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:58:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:58:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.