KRunner
runnersyntax.h
27 * Lets say the runner has a trigger word and then the user can type anything after that. In that case you could use
30 Plasma::RunnerSyntax syntax(QStringLiteral("sometriggerword :q:"), i18n("Description for this syntax"));
37 Plasma::RunnerSyntax syntax(QStringLiteral("sometriggereword <%1>").arg(i18n("program name"))), i18n("Description for this syntax"));
57 * @param description A description of what the described syntax does from the user's point of view.
99 * @deprecated Since 5.76, the description should be directly set when creating the example query.
102 KRUNNER_DEPRECATED_VERSION(5, 76, "The descriptions should be directly set when creating the example query. Use exampleQueries() instead.")
129 * @deprecated Since 5.76, set the description directly when creating the example query. Use <my query description> instead of :q: when creating the string
134 "Set the description directly when creating the example query. Use <my query description> instead of :q: when creating the string")
141 * @deprecated Since 5.76, the description should be directly set when creating the example query.
Definition: runnersyntax.h:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 03:51:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 03:51:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.