Changeset ec7fa22 in confclerk_git


Ignore:
Timestamp:
01/20/17 21:49:51 (6 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
1343ea4
Parents:
7b3cd0e
Message:

Removed deprecated functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/event.h

    r7b3cd0e rec7fa22  
    6565    QString language() const { return value("language").toString(); }
    6666    Favourite favourite() const { return static_cast<Favourite>(value("favourite").toInt()); }
    67     bool isFavourite() const { return favourite() > 0; } // deprecated
    6867    bool hasAlarm() const { return value("alarm").toBool(); }
    6968    bool hasTimeConflict() const;
     
    8887    void setLanguage(const QString & language) { setValue("language", language); }
    8988    void setFavourite(Favourite favourite) { setValue("favourite", (int) favourite); }
    90     void setFavourite(bool favourite) { setFavourite(favourite ? Favourite_strong : Favourite_no); } // deprecated
    9189    void cycleFavourite();
    9290    void setHasAlarm(bool alarm) { setValue("alarm", (int)((alarm))); }
Note: See TracChangeset for help on using the changeset viewer.