Ignore:
Timestamp:
01/21/10 23:03:07 (13 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
d336730
Parents:
1735f55
Message:

EventModel? signaling changed

  • if some of the data (favourite,alarm) has changed on the event, signal 'eventHasChanged' is emitted
  • all treeViews (eg. DayView?, FavsView?, TracksView?, ...) have to listen on this signal

Only favouritiesView is 'reset' when current tab is changed in mainWindow

  • 'cause time groupings have to be recreated, since favs may have changed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.h

    r1735f55 rc718a77  
    2020    void aboutApp();
    2121    void updateDayView(const QDate &aDate);
    22     void updateTab(const int n);
    2322    void updateTracksView(const QDate &aDate);
    2423    void updateFavouritesView(const QDate &aDate);
     
    2827    void displayWarning(const QModelIndex &aIndex);
    2928    void searchClicked();
     29    void tabHasChanged(int aIndex);
     30    void eventHasChanged(int aEventId);
    3031private:
    3132    SqlEngine *mSqlEngine;
Note: See TracChangeset for help on using the changeset viewer.