Changeset 8fdfc63 for src/app


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

Rename DBus service. Hopefully successful.

Location:
src/app
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 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.