~unity-team/unity-scopes-shell/overview

« back to all changes in this revision

Viewing changes to src/Unity/scopes.cpp

  • Committer: Michal Hruby
  • Date: 2014-07-31 11:08:50 UTC
  • mfrom: (108.2.4 unity-scopes-shell)
  • Revision ID: michal.mhr@gmail.com-20140731110850-41qkf5s8x8ugm3bj
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
// Local
24
24
#include "scope.h"
25
25
#include "overviewscope.h"
 
26
#include "ubuntulocationservice.h"
26
27
 
27
28
// Qt
28
29
#include <QDebug>
111
112
    QDBusConnection::sessionBus().connect(QString(), QString("/com/canonical/unity/scopes"), QString("com.canonical.unity.scopes"), QString("InvalidateResults"), this, SLOT(invalidateScopeResults(QString)));
112
113
 
113
114
    m_overviewScope = new OverviewScope(this);
 
115
    m_locationService.reset(new UbuntuLocationService());
114
116
}
115
117
 
116
118
Scopes::~Scopes()
330
332
    return m_loaded;
331
333
}
332
334
 
 
335
LocationService::Ptr Scopes::locationService() const
 
336
{
 
337
    return m_locationService;
 
338
}
 
339
 
333
340
} // namespace scopes_ng
334
341
 
335
342
#include <scopes.moc>