summaryrefslogtreecommitdiffstats
path: root/examples/dbus/remotecontrolledcar/car
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dbus/remotecontrolledcar/car')
-rw-r--r--examples/dbus/remotecontrolledcar/car/car.xml2
-rw-r--r--examples/dbus/remotecontrolledcar/car/car_adaptor.cpp8
-rw-r--r--examples/dbus/remotecontrolledcar/car/car_adaptor.h6
-rw-r--r--examples/dbus/remotecontrolledcar/car/main.cpp2
4 files changed, 9 insertions, 9 deletions
diff --git a/examples/dbus/remotecontrolledcar/car/car.xml b/examples/dbus/remotecontrolledcar/car/car.xml
index 641c6982d4..6d8c9d19f2 100644
--- a/examples/dbus/remotecontrolledcar/car/car.xml
+++ b/examples/dbus/remotecontrolledcar/car/car.xml
@@ -1,7 +1,7 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/com/trollech/examples/car">
- <interface name="com.trolltech.Examples.CarInterface">
+ <interface name="org.example.Examples.CarInterface">
<method name="accelerate"/>
<method name="decelerate"/>
<method name="turnLeft"/>
diff --git a/examples/dbus/remotecontrolledcar/car/car_adaptor.cpp b/examples/dbus/remotecontrolledcar/car/car_adaptor.cpp
index c7e62829be..e70b5bc873 100644
--- a/examples/dbus/remotecontrolledcar/car/car_adaptor.cpp
+++ b/examples/dbus/remotecontrolledcar/car/car_adaptor.cpp
@@ -74,25 +74,25 @@ CarInterfaceAdaptor::~CarInterfaceAdaptor()
void CarInterfaceAdaptor::accelerate()
{
- // handle method call com.trolltech.Examples.CarInterface.accelerate
+ // handle method call org.example.Examples.CarInterface.accelerate
QMetaObject::invokeMethod(parent(), "accelerate");
}
void CarInterfaceAdaptor::decelerate()
{
- // handle method call com.trolltech.Examples.CarInterface.decelerate
+ // handle method call org.example.Examples.CarInterface.decelerate
QMetaObject::invokeMethod(parent(), "decelerate");
}
void CarInterfaceAdaptor::turnLeft()
{
- // handle method call com.trolltech.Examples.CarInterface.turnLeft
+ // handle method call org.example.Examples.CarInterface.turnLeft
QMetaObject::invokeMethod(parent(), "turnLeft");
}
void CarInterfaceAdaptor::turnRight()
{
- // handle method call com.trolltech.Examples.CarInterface.turnRight
+ // handle method call org.example.Examples.CarInterface.turnRight
QMetaObject::invokeMethod(parent(), "turnRight");
}
diff --git a/examples/dbus/remotecontrolledcar/car/car_adaptor.h b/examples/dbus/remotecontrolledcar/car/car_adaptor.h
index 3c2c1dd124..c7542ae811 100644
--- a/examples/dbus/remotecontrolledcar/car/car_adaptor.h
+++ b/examples/dbus/remotecontrolledcar/car/car_adaptor.h
@@ -64,14 +64,14 @@ class QVariant;
QT_END_NAMESPACE
/*
- * Adaptor class for interface com.trolltech.Examples.CarInterface
+ * Adaptor class for interface org.example.Examples.CarInterface
*/
class CarInterfaceAdaptor: public QDBusAbstractAdaptor
{
Q_OBJECT
- Q_CLASSINFO("D-Bus Interface", "com.trolltech.Examples.CarInterface")
+ Q_CLASSINFO("D-Bus Interface", "org.example.Examples.CarInterface")
Q_CLASSINFO("D-Bus Introspection", ""
-" <interface name=\"com.trolltech.Examples.CarInterface\">\n"
+" <interface name=\"org.example.Examples.CarInterface\">\n"
" <method name=\"accelerate\"/>\n"
" <method name=\"decelerate\"/>\n"
" <method name=\"turnLeft\"/>\n"
diff --git a/examples/dbus/remotecontrolledcar/car/main.cpp b/examples/dbus/remotecontrolledcar/car/main.cpp
index 99dccbae0c..7bb4aa1720 100644
--- a/examples/dbus/remotecontrolledcar/car/main.cpp
+++ b/examples/dbus/remotecontrolledcar/car/main.cpp
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
new CarInterfaceAdaptor(car);
QDBusConnection connection = QDBusConnection::sessionBus();
connection.registerObject("/Car", car);
- connection.registerService("com.trolltech.CarExample");
+ connection.registerService("org.example.CarExample");
return app.exec();
}