Changeset 9f367eb for src/mvc/event.h


Ignore:
Timestamp:
01/27/10 07:41:47 (13 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
001c8cf
Parents:
336fa33
Message:

'conflicts' modifications

  • preparing for the dialog showing also list of events in the conflict
  • created 'EVENT_CONFLICT' for flaging events in conflict state
  • TODO: not finished
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/event.h

    r336fa33 r9f367eb  
    3838    bool isFavourite() const { return value("favourite").toBool(); }
    3939    bool hasAlarm() const { return value("alarm").toBool(); }
    40     bool hasTimeConflict() const { return true; /*return value("warning").toBool()*/; } //TODO
     40    bool hasTimeConflict() const;
    4141    QString tag() const { return value("tag").toString(); }
    4242    QString title() const { return value("title").toString(); }
     
    4848    int roomId() const;
    4949    QStringList persons() const;
     50    QList<int> conflicts() const;
    5051
    5152    void setId(int id) { setValue("id", id); }
     
    6667    void setRoom(const QString& room);
    6768    void setPersons(const QStringList &persons);
     69    void updateConflicts();
    6870
    6971friend class EventTest;
Note: See TracChangeset for help on using the changeset viewer.