diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-10-16 06:05:03 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-10-16 12:14:07 -0700 |
commit | 035db849c0f279232102af5e97928be2aa603e4d (patch) | |
tree | 437b003136e75981992f9cded1238f6b74b1313b /app/dbus_server.cpp | |
parent | 466434f829547f2072c681b3cd6380a799b7f5ee (diff) |
ondemandnavi: remove unused signals
Part of the effort to cleanup DBus usage for navigation to JSON
events remove all unused sections of the application.
Bug-AGL: SPEC-2880
Change-Id: I2e97f2ffde998b13419de5eaeb9b3bc3e6b073e3
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/dbus_server.cpp')
-rw-r--r-- | app/dbus_server.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/app/dbus_server.cpp b/app/dbus_server.cpp index ea3acad..57fa3d5 100644 --- a/app/dbus_server.cpp +++ b/app/dbus_server.cpp @@ -55,16 +55,6 @@ void DBus_Server::initAPIs(QObject *parent){ this,SLOT(sendSignalPosInfo(double,double,double,double)))) { qDebug() << m_serverName << "qmlSIGNAL:qmlSignalPosInfo to cppSLOT:sendSignalPosInfo connect is failed"; } - - if(!QObject::connect(parent,SIGNAL(qmlSignalStopDemo()), - this,SLOT(sendSignalStopDemo()))) { - qDebug() << m_serverName << "qmlSIGNAL:qmlSignalStopDemo to cppSLOT:sendSignalStopDemo connect is failed"; - } - - if(!QObject::connect(parent,SIGNAL(qmlSignalArrvied()), - this,SLOT(sendSignalArrvied()))) { - qDebug() << m_serverName << "qmlSIGNAL:qmlSignalArrvied to cppSLOT:sendSignalArrvied connect is failed"; - } } void DBus_Server::getRouteInfoSlot(){ @@ -92,22 +82,3 @@ void DBus_Server::sendSignalPosInfo(double lat, double lon, double drc, double d QDBusConnection::sessionBus().send(message); return; } - -void DBus_Server::sendSignalStopDemo(){ - qDebug() << "call sendSignalStopDemo "; - QDBusMessage message = QDBusMessage::createSignal(m_objName, - org::agl::naviapi::staticInterfaceName(), - "signalStopDemo"); - QDBusConnection::sessionBus().send(message); - return; -} - -void DBus_Server::sendSignalArrvied(){ - qDebug() << "call sendSignalArrvied "; - QDBusMessage message = QDBusMessage::createSignal(m_objName, - org::agl::naviapi::staticInterfaceName(), - "signalArrvied"); - QDBusConnection::sessionBus().send(message); - return; -} -// Method |