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