Ignore:
Timestamp:
01/17/10 20:31:04 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
9f7666d
Parents:
2af8e2f
Message:

implemented method to force 'EventModel?' emit a signal
dataChanged() - so 'TreeView?' know it has to redraw items
corresponding to chanded indices (range of indeces)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/eventmodel.h

    r2af8e2f r67c59a7  
    1717    void loadEvents(const QDate &aDate, int aConferenceId); // loads Events from the DB
    1818    void loadFavEvents(const QDate &aDate, int aConferenceId); // loads Favourite events from the DB
     19   
     20    // a method to force 'EventModel' emit signal 'dataChanged()'
     21    // a 'view', eg. 'TreeView' listens for this signal and redraws changed items(indexes)
     22    void emitDataChangedSignal(const QModelIndex &aTopLeft, const QModelIndex &aBottomRight);
    1923
    2024private:
Note: See TracChangeset for help on using the changeset viewer.