Changeset 21e0eb1 for src/alarm


Ignore:
Timestamp:
10/17/12 23:19:41 (10 years ago)
Author:
gregor herrmann <gregoa@…>
Branches:
master, qt5
Children:
cdbdad7
Parents:
3ecfbf0
Message:

Rip out unused DBUS stuff.

Location:
src/alarm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/alarm/alarm.cpp

    r3ecfbf0 r21e0eb1  
    2727
    2828#include <QDebug>
    29 
    30 //#include "dbus-1.0/dbus/dbus-protocol.h"
    3129
    3230int Alarm::addAlarm(int conferenceId, int eventId, QString eventTitle, const QDateTime &alarmDateTime) {
     
    6563    alarmAction->flags |= ALARM_ACTION_EXEC_ADD_COOKIE; // adds assigned cookie at the end of command string
    6664
    67 //    // setup this action to be a "DBus command"
    68 //    act->flags |= ALARM_ACTION_WHEN_RESPONDED;
    69 //    act->flags |= ALARM_ACTION_TYPE_DBUS;
    70 //
    71 //    // DBus params for this action
    72 //    alarm_action_set_dbus_interface(act, "at.priv.toastfreeware.confclerk.AlarmInterface");
    73 //    alarm_action_set_dbus_service(act, "at.priv.toastfreeware.confclerk");
    74 //    alarm_action_set_dbus_path(act, "/ConfClerk");
    75 //    alarm_action_set_dbus_name(act, "Alarm");
    76 //
    77 //    // DBus arguments for the action
    78 //    alarm_action_set_dbus_args(act,  DBUS_TYPE_INT32, &aEventId, DBUS_TYPE_INVALID);
    79 
    80     //    act->flags |= ALARM_ACTION_TYPE_EXEC;
    81     //     alarm_action_set_exec_command(act, command.toLocal8Bit().data());
    82     //    alarm_event_set_icon(eve, "fosdem");
    83     //    alarm_event_set_title(eve, "ConfClerk");
    84     // adds assigned cookie at the end of command string
    85     //    act->flags |= ALARM_ACTION_EXEC_ADD_COOKIE;
    86 
    8765    /* Add stop button action */
    88     /* TODO: send a DBus message to remove that alarm from database */
    8966    alarmAction = alarm_event_add_actions(alarmEvent, 1);
    9067    alarm_action_set_label(alarmAction, "Stop");
  • src/alarm/alarm.pro

    r3ecfbf0 r21e0eb1  
    22TARGET = qalarm
    33DESTDIR = ../bin
    4 CONFIG += static qdbus
    5 QT += sql dbus
     4CONFIG += static
     5QT += sql
    66QMAKE_CLEAN += ../bin/libqalarm.a
    77
     
    1818    ../orm \
    1919    ../sql
    20    
    21 
    22 
Note: See TracChangeset for help on using the changeset viewer.