KRunner
runnersyntax.h
26 * Lets say the runner has a trigger word and then the user can type anything after that. In that case you could use
29 KRunner::RunnerSyntax syntax(QStringLiteral("sometriggerword :q:"), i18n("Description for this syntax"));
36 KRunner::RunnerSyntax syntax(QStringLiteral("sometriggereword <%1>").arg(i18n("program name"))), i18n("Description for this syntax"));
47 * @param description A description of what the described syntax does from the user's point of view.
58 * @param description A description of what the described syntax does from the user's point of view.
Represents a query prototype that the runner accepts.
Definition runnersyntax.h:41
RunnerSyntax(const QString &exampleQuery, const QString &description)
Constructs a RunnerSyntax with one example query.
Definition runnersyntax.h:49
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:44 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:14:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.