summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/dbus_server.cpp29
-rw-r--r--app/dbus_server.h2
2 files changed, 0 insertions, 31 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
diff --git a/app/dbus_server.h b/app/dbus_server.h
index b8fb1c6..5fe7562 100644
--- a/app/dbus_server.h
+++ b/app/dbus_server.h
@@ -27,7 +27,5 @@ public slots:
void getRouteInfoSlot();
void sendSignalRouteInfo(double srt_lat,double srt_lon,double end_lat,double end_lon);
void sendSignalPosInfo(double lat,double lon,double drc,double dst);
- void sendSignalStopDemo();
- void sendSignalArrvied();
};
#endif // DBUS_SERVER_H