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

« back to all changes in this revision

Viewing changes to service/Query.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:
39
39
public:
40
40
        typedef QSharedPointer<Query> Ptr;
41
41
 
 
42
        enum class EmptyBehaviour {
 
43
                SHOW_SUGGESTIONS,
 
44
                NO_SUGGESTIONS,
 
45
        };
 
46
 
42
47
        explicit Query(QObject *parent = 0);
43
48
 
44
49
        virtual ~Query();