Changeset 7b3cd0e for src/mvc/event.h


Ignore:
Timestamp:
01/20/17 21:46:55 (6 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
ec7fa22
Parents:
ea8416e
Message:

Event favourite is now tristate in the code now and the corresponding buttons are tristate as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/event.h

    rea8416e r7b3cd0e  
    8989    void setFavourite(Favourite favourite) { setValue("favourite", (int) favourite); }
    9090    void setFavourite(bool favourite) { setFavourite(favourite ? Favourite_strong : Favourite_no); } // deprecated
     91    void cycleFavourite();
    9192    void setHasAlarm(bool alarm) { setValue("alarm", (int)((alarm))); }
    9293    void setTag(const QString& tag) { setValue("tag", tag); }
Note: See TracChangeset for help on using the changeset viewer.