summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/dbus_server.cpp29
-rw-r--r--app/dbus_server.h2
-rw-r--r--dbus_interface/org.agl.naviapi.xml6
3 files changed, 0 insertions, 37 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
diff --git a/dbus_interface/org.agl.naviapi.xml b/dbus_interface/org.agl.naviapi.xml
index 7132539..488a29a 100644
--- a/dbus_interface/org.agl.naviapi.xml
+++ b/dbus_interface/org.agl.naviapi.xml
@@ -15,12 +15,6 @@
<arg name="direction" type="d" direction="out"/>
<arg name="distance" type="d" direction="out"/>
</signal>
- <!-- void signalStopDemo() -->
- <signal name="signalStopDemo">
- </signal>
- <!-- void signalArrvied() -->
- <signal name="signalArrvied">
- </signal>
<!-- void getRouteInfo() -->
<signal name="getRouteInfo">
</signal>