~ubuntu-branches/ubuntu/quantal/akonadi/quantal

« back to all changes in this revision

Viewing changes to server/src/nepomuk/queryserviceclient.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-01-24 23:43:13 UTC
  • mto: (3.1.12 sid)
  • mto: This revision was merged to the branch mainline in revision 69.
  • Revision ID: package-import@ubuntu.com-20120124234313-ooald4uh9w8jilyw
Tags: upstream-1.7.0
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#define _NEPOMUK_QUERY_SERVICE_CLIENT_H_
21
21
 
22
22
#include <QtCore/QObject>
 
23
#include <QtCore/QHash>
23
24
 
24
25
class QUrl;
25
26
 
77
78
             *
78
79
             * \sa QueryParser
79
80
             */
80
 
            bool query( const QString& query );
 
81
            bool query( const QString& query, const QHash<QString, QString> &encodedRps = QHash<QString, QString>() );
81
82
 
82
83
            /**
83
84
             * Start a query using the Nepomuk user query language.
95
96
             * 
96
97
             * \sa query(const QString&), close()
97
98
             */
98
 
            bool blockingQuery( const QString& query );
 
99
            bool blockingQuery( const QString& query, const QHash<QString, QString> &encodedRps = QHash<QString, QString>() );
99
100
 
100
101
            /**
101
102
             * Close the client, thus stop to monitor the query
118
119
             * \param entries A list of resource URIs identifying the resources
119
120
             * that dropped out of the query results.
120
121
             */
121
 
            void entriesRemoved( const QList<QUrl>& entries );
 
122
            void entriesRemoved( const QList<Nepomuk::Query::Result>& entries );
122
123
 
123
124
            /**
124
125
             * Emitted when the initial listing has been finished, ie. if all 
131
132
            class Private;
132
133
            Private* const d;
133
134
 
134
 
            Q_PRIVATE_SLOT( d, void _k_entriesRemoved( const QStringList& ) )
135
135
            Q_PRIVATE_SLOT( d, void _k_finishedListing() )
136
136
        };
137
137
    }