Ignore:
Timestamp:
01/21/10 19:23:23 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
1735f55
Parents:
76cde75
Message:

added 'Conference' tab - to list conference details

  • implemented AppSettings? for storing Application settings
    • stored conference ID
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/alarmdialog.cpp

    r76cde75 r30e2bdf  
    11#include "alarmdialog.h"
     2#include <appsettings.h>
    23
    34#include <QApplication>
     
    910
    1011const int SNOOZE_TIME = 5; // in minutes
    11 
    12 const int confId = 1;
    1312
    1413AlarmDialog::AlarmDialog(int argc, char *argv[], QWidget *aParent)
     
    4847    try
    4948    {
    50         Event event = Event::getById(mEventId,confId);
     49        Event event = Event::getById(mEventId,AppSettings::confId());
    5150        titleStr = "Event alarm";
    5251        messageStr = event.title();
     
    9089    try
    9190    {
    92         Event event = Event::getById(mEventId,confId);
     91        Event event = Event::getById(mEventId,AppSettings::confId());
    9392        event.setHasAlarm(false);
    9493        event.update("alarm");
Note: See TracChangeset for help on using the changeset viewer.