~pete-woods/hud/tweak-search-parameters

« back to all changes in this revision

Viewing changes to service/ItemStore.h

  • Committer: Pete Woods
  • Date: 2014-02-18 13:35:12 UTC
  • Revision ID: pete.woods@canonical.com-20140218133512-bnrkd5sbd2jr6fpo
Make legacy queries return no results with an empty search string

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#define HUD_SERVICE_ITEMSTORE_H_
21
21
 
22
22
#include <service/Item.h>
 
23
#include <service/Query.h>
23
24
#include <service/Result.h>
24
25
#include <service/SearchSettings.h>
25
26
#include <service/UsageTracker.h>
50
51
 
51
52
        void indexMenu(const QMenu *menu);
52
53
 
53
 
        void search(const QString &query, QList<Result> &results);
 
54
        void search(const QString &query, Query::EmptyBehaviour emptyBehaviour,
 
55
                        QList<Result> &results);
54
56
 
55
57
        void execute(unsigned long long commandId);
56
58