Changeset a7d8638 for src/mvc


Ignore:
Timestamp:
02/01/10 16:43:00 (12 years ago)
Author:
hanzes <hanzes@…>
Branches:
master, qt5
Children:
ba48d2f
Parents:
d7986a6
Message:

Alarm dbus connection added

Location:
src/mvc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/mvc.pro

    rd7986a6 ra7d8638  
    44DESTDIR = ../bin
    55CONFIG += static
    6 QT += sql
     6QT += sql 
    77
    88# module dependencies
     
    2727    eventmodel.h \
    2828    treeview.h \
    29     room.h
     29    room.h 
    3030SOURCES += event.cpp \
    3131    conference.cpp \
     
    3434    eventmodel.cpp \
    3535    treeview.cpp \
    36     room.cpp
     36    room.cpp 
  • src/mvc/treeview.cpp

    rd7986a6 ra7d8638  
    9898                    // add alarm to the 'alarmd'
    9999                    Alarm alarm;
    100                     //int cookie = alarm.addAlarm(event.id(),QDateTime::currentDateTime().addSecs(10)); // testing
    101                     int cookie = alarm.addAlarm(event.id(),event.start().addSecs(-15*60)); // 15 minutes before real start
     100                    int cookie = alarm.addAlarm(event.id(),QDateTime::currentDateTime().addSecs(10)); // testing
     101                    //int cookie = alarm.addAlarm(event.id(),event.start().addSecs(-15*60)); // 15 minutes before real start
    102102                    qDebug() << "cookie: " << cookie;
    103103#endif /* MAEMO */
Note: See TracChangeset for help on using the changeset viewer.