|
|
@ -335,9 +335,9 @@ void ReadCalendarJob::setCalendarFolder( std::string *calendarFolder )
|
|
|
|
mCalendarFolder = calendarFolder;
|
|
|
|
mCalendarFolder = calendarFolder;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void ReadCalendarJob::setChectdelistFolder( std::string *checklistFolder )
|
|
|
|
void ReadCalendarJob::setChecklistFolder( std::string *checklistFolder )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
mChectdelistFolder = checklistFolder;
|
|
|
|
mChecklistFolder = checklistFolder;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void ReadCalendarJob::setCalendar( KCal::Calendar *calendar )
|
|
|
|
void ReadCalendarJob::setCalendar( KCal::Calendar *calendar )
|
|
|
@ -402,17 +402,17 @@ void ReadCalendarJob::run()
|
|
|
|
haveReadFolder = true;
|
|
|
|
haveReadFolder = true;
|
|
|
|
*mCalendarFolder = *((*it)->id);
|
|
|
|
*mCalendarFolder = *((*it)->id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if ( *(fld->folderType) == Chectdelist ) {
|
|
|
|
else if ( *(fld->folderType) == Checklist ) {
|
|
|
|
kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type Chectdelist, physically containing " << count << " items." << endl;
|
|
|
|
kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type Checklist, physically containing " << count << " items." << endl;
|
|
|
|
readCalendarFolder( *(*it)->id, itemCounts );
|
|
|
|
readCalendarFolder( *(*it)->id, itemCounts );
|
|
|
|
haveReadFolder = true;
|
|
|
|
haveReadFolder = true;
|
|
|
|
*mChectdelistFolder = *((*it)->id);
|
|
|
|
*mChecklistFolder = *((*it)->id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* else if ( fld->folderType == SentItems ) {
|
|
|
|
/* else if ( fld->folderType == SentItems ) {
|
|
|
|
kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type SentItems, physically containing " << count << " items." << endl;
|
|
|
|
kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type SentItems, physically containing " << count << " items." << endl;
|
|
|
|
readCalendarFolder( *(*it)->id, itemCounts );
|
|
|
|
readCalendarFolder( *(*it)->id, itemCounts );
|
|
|
|
haveReadFolder = true;
|
|
|
|
haveReadFolder = true;
|
|
|
|
*mChectdelistFolder = *((*it)->id);
|
|
|
|
*mChecklistFolder = *((*it)->id);
|
|
|
|
}*/
|
|
|
|
}*/
|
|
|
|
/* else if ( fld->folderType == Mailbox ) {
|
|
|
|
/* else if ( fld->folderType == Mailbox ) {
|
|
|
|
kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type Mailbox (not yet accepted items), containing " << count << " items." << endl;
|
|
|
|
kdDebug() << "Reading folder " << (*(*it)->id).c_str() << ", of type Mailbox (not yet accepted items), containing " << count << " items." << endl;
|
|
|
|