- Timestamp:
- 07/15/11 01:00:49 (12 years ago)
- Branches:
- master, qt5
- Children:
- d785a93
- Parents:
- 664e8bd
- Location:
- src/alarm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/alarm/alarm.cpp
r664e8bd rff9a2cb 30 30 //#include <dbus-1.0/dbus/dbus-protocol.h> 31 31 32 int Alarm::addAlarm(int aEventId, const QDateTime &aDateTime)32 int Alarm::addAlarm(int aEventId, QString aEventTitle, const QDateTime &aDateTime) 33 33 { 34 34 cookie_t cookie = 0; … … 41 41 42 42 /* for Deleting purposes */ 43 alarm_event_set_message(eve, QString::number(aEventId).toLocal8Bit().data()); 43 // ?! 44 //alarm_event_set_message(eve, QString::number(aEventId).toLocal8Bit().data()); 45 alarm_event_set_message(eve, aEventTitle.toLocal8Bit().data()); 44 46 45 47 /* Use absolute time triggering */ -
src/alarm/alarm.h
r664e8bd rff9a2cb 37 37 Alarm() {} 38 38 ~Alarm() {} 39 int addAlarm(int aEventId, const QDateTime &aDateTime);39 int addAlarm(int aEventId, QString aEventTitle, const QDateTime &aDateTime); 40 40 void deleteAlarm(int aEventId); 41 41 static bool hasEventAlarm(int aEventId);
Note: See TracChangeset
for help on using the changeset viewer.