Ignore:
Timestamp:
01/21/10 10:49:41 (12 years ago)
Author:
timkoma <timkoma@…>
Branches:
master, qt5
Children:
72cd3af
Parents:
842f5f9
Message:

first working version of the search

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/eventmodel.cpp

    r842f5f9 re662750  
    183183}
    184184
     185void EventModel::loadSearchResultEvents(const QDate &aDate, int aConferenceId)
     186{
     187    clearModel();
     188    // check for existence of the conference in the DB
     189    if(Conference::getAll().count())
     190    {
     191        qDebug() << "Loading search result Data: [" << Conference::getById(aConferenceId).title() << "] " << aDate;
     192        mEvents = Event::getSearchResultByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, "start");
     193    }
     194    createTimeGroups();
     195}
     196
    185197void EventModel::loadEventsByTrack(const QDate &aDate, int aConferenceId)
    186198{
Note: See TracChangeset for help on using the changeset viewer.