Plasma
runnersyntax.cpp
Go to the documentation of this file.
RunnerSyntax & operator=(const RunnerSyntax &rhs)
Assignment operator.
Definition: runnersyntax.cpp:56
RunnerSyntax(const QString &exampleQuery, const QString &description)
Constructs a simple syntax object.
Definition: runnersyntax.cpp:41
void setSearchTermDescription(const QString &description)
Sets the text that should be used to replace instances of :q: in the text.
Definition: runnersyntax.cpp:95
Definition: runnersyntax.h:40
QString & replace(int position, int n, QChar after)
QStringList exampleQueriesWithTermDescription() const
Definition: runnersyntax.cpp:72
void setDescription(const QString &description)
Sets the description for the syntax, describing what it does from the user's point of view...
Definition: runnersyntax.cpp:83
QString searchTermDescription() const
Definition: runnersyntax.cpp:100
QStringList exampleQueries() const
Definition: runnersyntax.cpp:67
void addExampleQuery(const QString &exampleQuery)
Adds a synonymous example query to this Syntax.
Definition: runnersyntax.cpp:62
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.