Changeset cf385cd in confclerk_git for src/mvc


Ignore:
Timestamp:
06/28/11 23:31:33 (12 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
bdeb1ff
Parents:
0145b04
Message:

Removed many of the qDebug() output lines (see ticket #10).

Location:
src/mvc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/eventmodel.cpp

    r0145b04 rcf385cd  
    201201void EventModel::clearModel()
    202202{
    203     // qDebug() << __PRETTY_FUNCTION__ << this << mEvents.count();
    204203    mGroups.clear();
    205204    mEvents.clear();
     
    215214    if(Conference::getAll().count())
    216215    {
    217         qDebug() << "Loading Conference Data: [" << Conference::getById(aConferenceId).title() << "] " << aDate;
    218216        mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, "start");
    219217    }
     
    227225    if(Conference::getAll().count())
    228226    {
    229         qDebug() << "Loading FAV Conference Data: [" << Conference::getById(aConferenceId).title() << "] " << aDate;
    230227        mEvents = Event::getFavByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId);
    231228    }
     
    239236    if(Conference::getAll().count())
    240237    {
    241         // qDebug() << "Loading search result Data: [" << Conference::getById(aConferenceId).title() << "] " << aDate;
    242238        try{
    243239            mEvents = Event::getSearchResultByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, "start");
     
    262258    if (Conference::getAll().count())
    263259    {
    264         qDebug() << "Loading Conference Data (by Track): [" << Conference::getById(aConferenceId).title() << "] " << aDate;
    265260        mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, "xid_track, start");
    266261    }
     
    273268    if (Conference::getAll().count())
    274269    {
    275         qDebug() << "Loading Conference Data (by Room): [" << Conference::getById(aConferenceId).title() << "] " << aDate;
    276270        mEvents = Event::getByDateAndRoom(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId);
    277271    }
     
    285279    if(Conference::getAll().count())
    286280    {
    287         qDebug() << "Loading Conference Data: [" << Conference::getById(aConferenceId).title() << "] scheduled NOW";
    288281        mEvents = Event::nowEvents(aConferenceId, "start");
    289282    }
     
    297290    if(Conference::getAll().count())
    298291    {
    299         qDebug() << "Loading Conference Data: [" << Conference::getById(aConferenceId).title() << "] in conflict with " << aEventId;
    300292        mEvents = Event::conflictEvents(aEventId, aConferenceId);
    301293    }
  • src/mvc/treeview.cpp

    r0145b04 rcf385cd  
    7777                event.update("favourite");
    7878
    79                 qDebug() << " FAVOURITE [" << qVariantValue<QString>(aIndex.data()) << "] -> " << event.isFavourite();
    80 
    8179                if(event.isFavourite())
    8280                {
     
    119117                    //int cookie = alarm.addAlarm(event.id(),QDateTime::currentDateTime().addSecs(10)); // testing
    120118                    int cookie = alarm.addAlarm(event.id(),event.start().addSecs(-15*60)); // 15 minutes before real start
    121                     qDebug() << "cookie: " << cookie;
    122119#endif /* MAEMO */
    123120                }
    124121                event.update("alarm");
    125                 qDebug() << " ALARM [" << qVariantValue<QString>(aIndex.data()) << "] -> " << event.hasAlarm();
    126122                // since the Alarm icon has changed, update TreeView accordingly
    127123                // all TreeViews have to listen on this signal
     
    133129            {
    134130                // handle Alarm Control clicked
    135                 qDebug() << "MAP CLICKED: " << qVariantValue<QString>(aIndex.data());
    136131                emit(requestForMap(aIndex));
    137132                handled = true;
     
    141136        {
    142137
    143             qDebug() << "WARNING CLICKED: " << qVariantValue<QString>(aIndex.data());
    144138            emit(requestForConflicts(aIndex));
    145139            handled = true;
Note: See TracChangeset for help on using the changeset viewer.