Ignore:
Timestamp:
01/12/10 21:32:08 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
f0ce4d0
Parents:
66327a0
Message:

implemented xml parser

  • parsing Schedule
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/model/eventmodel.cpp

    r66327a0 r72f6fe4  
    22
    33EventModel::EventModel() :
    4         mEvents(Event::getByDate(QDate(2009, 2, 7), 1))
     4    mEvents(Event::getByDate(QDate(2009, 2, 7), 1))
    55{
    66    createTimeGroups();
     
    117117    return 0;
    118118}
     119
     120void EventModel::reload()
     121{
     122    mEvents.clear();
     123    mEvents=Event::getByDate(QDate(2009, 2, 7), 1);
     124    createTimeGroups();
     125}
     126
Note: See TracChangeset for help on using the changeset viewer.