alarm - example of dbus binding functional
authoruzakmat <uzakmat@localhost>
Mon, 1 Feb 2010 08:54:59 +0000 (08:54 +0000)
committeruzakmat <uzakmat@localhost>
Mon, 1 Feb 2010 08:54:59 +0000 (08:54 +0000)
src/alarm/alarm.cpp

index 88bf2a7c9b24c509a1b2bbe4634927d35814f4ab..70f764969eeee92e6a66612e21d45e4b42ca31ba 100644 (file)
@@ -34,10 +34,10 @@ int Alarm::addAlarm(int aEventId, const QDateTime &aDateTime)
     act->flags |= ALARM_ACTION_TYPE_DBUS;
     
     // DBus params for this action 
-    alarm_action_set_dbus_interface(act, "org.maemo.testApp");
-    alarm_action_set_dbus_service(act, "org.maemo.testApp");
-    alarm_action_set_dbus_path(act, "/org/maemo/testApp");
-    alarm_action_set_dbus_name(act, "triggerAlarm");
+    alarm_action_set_dbus_interface(act, "org.freedesktop.Notifications");
+    alarm_action_set_dbus_service(act, "org.freedesktop.Notifications");
+    alarm_action_set_dbus_path(act, "/org/freedesktop/Notifications");
+    alarm_action_set_dbus_name(act, "SystemNoteDialog");
     
     // DBus arguments for the action
     alarm_action_set_dbus_args(act, aEventId);