Nepomuk
queryserviceclient.h
Go to the documentation of this file.
119 const Nepomuk::Query::RequestPropertyMap& requestPropertyMap = Nepomuk::Query::RequestPropertyMap(),
201 bool sparqlQuery( const QString& query, const Nepomuk::Query::RequestPropertyMap& requestPropertyMap = Nepomuk::Query::RequestPropertyMap() );
239 bool blockingSparqlQuery( const QString& query, const Nepomuk::Query::RequestPropertyMap& requestPropertyMap = Nepomuk::Query::RequestPropertyMap() );
Convenience frontend to the Nepomuk Query DBus Service.
Definition: queryserviceclient.h:59
QueryServiceClient(QObject *parent=0)
Create a new QueryServiceClient instance.
bool query(const Query &query)
Start a query using the Nepomuk query service.
void resultCount(int count)
The number of results that are reported via newEntries() before the finishedListing() signal.
bool blockingSparqlQuery(const QString &query, const Nepomuk::Query::RequestPropertyMap &requestPropertyMap=Nepomuk::Query::RequestPropertyMap())
This is an overloaded member function, provided for convenience. It differs from the above function o...
void newEntries(const QList< Nepomuk::Query::Result > &entries)
Emitted for new search results.
bool desktopQuery(const QString &query)
This is an overloaded member function, provided for convenience. It differs from the above function o...
static QList< Nepomuk::Query::Result > syncDesktopQuery(const QString &query, bool *ok=0)
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool blockingDesktopQuery(const QString &query)
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool blockingQuery(const Query &query)
Start a query using the Nepomuk query service.
QString errorMessage() const
The last error message which has been emitted via error() or an empty string if there was no error.
static bool serviceAvailable()
Check if the Nepomuk query service is running.
static QList< Nepomuk::Query::Result > syncSparqlQuery(const QString &query, const Nepomuk::Query::RequestPropertyMap &requestPropertyMap=Nepomuk::Query::RequestPropertyMap(), bool *ok=0)
This is an overloaded member function, provided for convenience. It differs from the above function o...
QHash< QString, Nepomuk::Types::Property > RequestPropertyMap
Convinience definition for request property mappings as used in QueryServiceClient::sparqlQuery() and...
Definition: query.h:41
void entriesRemoved(const QList< QUrl > &entries)
Emitted if the search results changed when monitoring a query.
void close()
Close the client, thus stop to monitor the query for changes.
static QList< Nepomuk::Query::Result > syncQuery(const Query &query, bool *ok=0)
Start a query using the Nepomuk query service.
bool isListingFinished() const
void finishedListing()
Emitted when the initial listing has been finished, ie.
bool sparqlQuery(const QString &query, const Nepomuk::Query::RequestPropertyMap &requestPropertyMap=Nepomuk::Query::RequestPropertyMap())
This is an overloaded member function, provided for convenience. It differs from the above function o...
void error(const QString &errorMessage)
Emitted when an error occurs.
void serviceAvailabilityChanged(bool running)
Emitted when the availability of the query service changes.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.