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

« back to all changes in this revision

Viewing changes to service/QueryImpl.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:
43
43
Q_OBJECT
44
44
public:
45
45
        QueryImpl(unsigned int id, const QString &query, const QString &sender,
46
 
                        HudService &service, ApplicationList::Ptr applicationList,
47
 
                        Voice::Ptr voice, const QDBusConnection &connection,
48
 
                        QObject *parent = 0);
 
46
                        EmptyBehaviour emptyBehaviour, HudService &service,
 
47
                        ApplicationList::Ptr applicationList, Voice::Ptr voice,
 
48
                        const QDBusConnection &connection, QObject *parent = 0);
49
49
 
50
50
        virtual ~QueryImpl();
51
51
 
98
98
 
99
99
        HudService &m_service;
100
100
 
 
101
        EmptyBehaviour m_emptyBehaviour;
 
102
 
101
103
        ApplicationList::Ptr m_applicationList;
102
104
 
103
105
        Voice::Ptr m_voice;