~ps-jenkins/telephony-service/trusty-proposed

« back to all changes in this revision

Viewing changes to handler/handlerdbus.cpp

  • Committer: CI bot
  • Author(s): Tiago Salem Herrmann
  • Date: 2014-04-10 16:19:35 UTC
  • mfrom: (796.1.2 accountIds_handler)
  • Revision ID: ps-jenkins@lists.canonical.com-20140410161935-cu38qc1or589uj62
- get accountIds from handler when appropriate to start apps faster
- set application names 

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include "handlerdbus.h"
26
26
#include "handleradaptor.h"
27
27
#include "texthandler.h"
 
28
#include "telepathyhelper.h"
28
29
 
29
30
// Qt
30
31
#include <QtDBus/QDBusConnection>
53
54
    return CallHandler::instance()->hasCalls();
54
55
}
55
56
 
 
57
QStringList HandlerDBus::AccountIds()
 
58
{
 
59
    return TelepathyHelper::instance()->accountIds();
 
60
}
 
61
 
56
62
bool HandlerDBus::connectToBus()
57
63
{
58
64
    bool ok = QDBusConnection::sessionBus().registerService(DBUS_SERVICE);