Nepomuk-Core
tools/nepomuksearch/main.cpp
Go to the documentation of this file.
71 Soprano::QueryResultIterator it = model->executeQuery( query, Soprano::Query::QueryLanguageSparql );
A class to iterate over Nepomuk query results.
Definition: resultiterator.h:45
void setLimit(int)
Set the maximum number of results this query should yield.
Definition: query.cpp:317
void addRequestProperty(const RequestProperty &property)
Add a property that should be reported with each search result.
Definition: query.cpp:365
QString fetchProperty(const QUrl &uri, const QUrl &prop)
Definition: tools/nepomuksearch/main.cpp:65
QString colorString(const QString &input, int color)
Definition: tools/nepomuksearch/main.cpp:58
A request property can be added to a Query to retrieve additional information about the results...
Definition: query.h:287
static ResourceManager * instance()
Definition: resourcemanager.cpp:270
The ResourceManager is the central Nepomuk configuration point.
Definition: resourcemanager.h:55
QString excerpt() const
An excerpt of the matched text with highlighted search words in case the query contained a full text ...
Definition: result.cpp:147
void setQueryFlags(QueryFlags flags)
Set the query flags to configure this query.
Definition: query.cpp:353
Soprano::Model * mainModel()
Retrieve the main data storage model.
Definition: resourcemanager.cpp:363
Soprano::Node requestProperty(const Types::Property &property) const
Retrieve value of request property property.
Definition: result.cpp:105
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.