Changeset 8fdfc63


Ignore:
Timestamp:
06/23/11 22:19:24 (10 years ago)
Author:
gregor herrmann <gregoa@…>
Branches:
master, qt5
Children:
9f97eaf
Parents:
e903c8e
Message:

Rename DBus service. Hopefully successful.

Location:
src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/alarm/alarm.cpp

    re903c8e r8fdfc63  
    5555    /* Add exec command action */
    5656    act = alarm_event_add_actions(eve, 1);
    57     alarm_action_set_label(act, "FOSDEM'10");
     57    alarm_action_set_label(act, "ConfClerk");
    5858
    5959    QString command = QFileInfo(*qApp->argv()).absoluteFilePath() + QString(" %1").arg(QString::number(aEventId));
     
    6969//
    7070//    // DBus params for this action
    71 //    alarm_action_set_dbus_interface(act, "org.fosdem.schedule.AlarmInterface");
    72 //    alarm_action_set_dbus_service(act, "org.fosdem.schedule");
    73 //    alarm_action_set_dbus_path(act, "/Fosdem");
     71//    alarm_action_set_dbus_interface(act, "at.priv.toastfreeware.confclerk.AlarmInterface");
     72//    alarm_action_set_dbus_service(act, "at.priv.toastfreeware.confclerk");
     73//    alarm_action_set_dbus_path(act, "/ConfClerk");
    7474//    alarm_action_set_dbus_name(act, "Alarm");
    7575//
     
    8080    //     alarm_action_set_exec_command(act, command.toLocal8Bit().data());
    8181    //    alarm_event_set_icon(eve, "fosdem");
    82     //    alarm_event_set_title(eve, "FOSDEM'10");
     82    //    alarm_event_set_title(eve, "ConfClerk");
    8383    // adds assigned cookie at the end of command string
    8484    //    act->flags |= ALARM_ACTION_EXEC_ADD_COOKIE;
  • src/app/alarmdbus.h

    re903c8e r8fdfc63  
    2727{
    2828    Q_OBJECT
    29     Q_CLASSINFO("D-Bus Interface", "org.fosdem.schedule")
     29    Q_CLASSINFO("D-Bus Interface", "at.priv.toastfreeware.confclerk")
    3030
    3131public:
  • src/app/alarmdbusadaptorp.h

    re903c8e r8fdfc63  
    3737{
    3838    Q_OBJECT
    39     Q_CLASSINFO("D-Bus Interface", "org.fosdem.schedule.AlarmInterface")
     39    Q_CLASSINFO("D-Bus Interface", "at.priv.toastfreeware.confclerk.AlarmInterface")
    4040    Q_CLASSINFO("D-Bus Introspection", ""
    41 "  <interface name=\"org.fosdem.schedule.AlarmInterface\" >\n"
     41"  <interface name=\"at.priv.toastfreeware.confclerk.AlarmInterface\" >\n"
    4242"  <method name=\"Alarm\">\n"
    4343"         <arg name=\"aEventId\" type=\"i\" direction=\"in\"/>\n"
  • src/app/main.cpp

    re903c8e r8fdfc63  
    5454    QDBusConnection connection = QDBusConnection::sessionBus();
    5555
    56     if(connection.registerObject("/Fosdem", alarmDBus) == true)
     56    if(connection.registerObject("/ConfClerk", alarmDBus) == true)
    5757    {
    58         if( connection.registerService("org.fosdem.schedule") == false)
     58        if( connection.registerService("at.priv.toastfreeware.confclerk") == false)
    5959        {
    6060                if(argc>1)
    6161                {
    62                         QDBusInterface *interface = new QDBusInterface("org.fosdem.schedule",
    63                                                                        "/Fosdem",
    64                                                                        "org.fosdem.schedule.AlarmInterface",
     62                        QDBusInterface *interface = new QDBusInterface("at.priv.toastfreeware.confclerk",
     63                                                                       "/ConfClerk",
     64                                                                       "at.priv.toastfreeware.confclerk.AlarmInterface",
    6565                                                                       connection);
    6666                        interface->call("Alarm",atoi(argv[1]));
Note: See TracChangeset for help on using the changeset viewer.