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 88bf2a7..70f7649 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);