Changeset b6cd05c for src/mvc/event.h


Ignore:
Timestamp:
01/18/10 16:13:01 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
f6300c7
Parents:
d23aa6a
Message:

added 'alarm' columnt to the 'EVENT' table to signalize
that the event has/hasn't alarm set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/event.h

    rd23aa6a rb6cd05c  
    4040    QString language() const { return value("language").toString(); }
    4141    bool isFavourite() const { return value("favourite").toBool(); }
     42    bool hasAlarm() const { return value("alarm").toBool(); }
    4243    // Table 2 : virtual table for FTS (Full Text Search)
    4344    QString tag() const { return value("tag").toString(); }
     
    5657    void setLanguage(const QString& language) { setValue("language", language); }
    5758    void setFavourite(bool favourite) { setValue("favourite", (int)favourite); }
     59    void setHasAlarm(bool alarm) { setValue("alarm", (int)alarm); }
    5860    // Table 2 : virtual table for FTS (Full Text Search)
    5961    void setTag(const QString& tag) { setValue("tag", tag); }
Note: See TracChangeset for help on using the changeset viewer.