Fix unintended rename of Checklist

pull/21/head
Slávek Banko 12 years ago
parent 7726de45cf
commit 4b9db76503

@ -108,7 +108,7 @@ private:
};
// Chectdelist item under a BackendListViewItem
// Checklist item under a BackendListViewItem
// (e.g. "GpgME supports protocol OpenPGP")
class Kleo::ProtocolCheckListItem : public TQCheckListItem
{

@ -1317,7 +1317,7 @@ bool GroupwiseServer::readCalendarSynchronous( KCal::Calendar *cal )
ReadCalendarJob *job = new ReadCalendarJob( this, mSoap, mUrl, mSession );
job->setCalendarFolder( &mCalendarFolder );
job->setChectdelistFolder( &mCheckListFolder );
job->setChecklistFolder( &mCheckListFolder );
job->setCalendar( cal );
job->run();

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

@ -82,7 +82,7 @@ class ReadCalendarJob : public GWJob
const std::string &session );
void setCalendarFolder( std::string* );
void setChectdelistFolder( std::string* );
void setChecklistFolder( std::string* );
void setCalendar( KCal::Calendar * );
@ -93,7 +93,7 @@ class ReadCalendarJob : public GWJob
private:
std::string *mCalendarFolder;
std::string *mChectdelistFolder;
std::string *mChecklistFolder;
KCal::Calendar *mCalendar;
};

@ -12804,7 +12804,7 @@ static const struct soap_code_map soap_codes_ngwt__FolderType[] =
{ (long)Calendar, "Calendar" },
{ (long)Contacts, "Contacts" },
{ (long)Documents, "Documents" },
{ (long)Chectdelist, "Chectdelist" },
{ (long)Checklist, "Checklist" },
{ (long)Cabinet, "Cabinet" },
{ (long)Normal_, "Normal" },
{ (long)NNTPServer, "NNTPServer" },

@ -127,7 +127,7 @@ enum ngwt__FolderACLStatus {pending = 0, accepted = 1, deleted = 2, opened = 3,
#ifndef SOAP_TYPE_ngwt__FolderType
#define SOAP_TYPE_ngwt__FolderType (359)
/* ngwt:FolderType */
enum ngwt__FolderType {Mailbox = 0, SentItems = 1, Draft = 2, Trash = 3, Calendar = 4, Contacts = 5, Documents = 6, Chectdelist = 7, Cabinet = 8, Normal_ = 9, NNTPServer = 10, NNTPNewsGroup = 11, IMAP = 12, Query = 13, Root = 14, JunkMail = 15, Notes = 16};
enum ngwt__FolderType {Mailbox = 0, SentItems = 1, Draft = 2, Trash = 3, Calendar = 4, Contacts = 5, Documents = 6, Checklist = 7, Cabinet = 8, Normal_ = 9, NNTPServer = 10, NNTPNewsGroup = 11, IMAP = 12, Query = 13, Root = 14, JunkMail = 15, Notes = 16};
#endif
#ifndef SOAP_TYPE_ngwt__Frequency

@ -687,7 +687,7 @@ file by physical or electronic mail, you may find current contact information at
<xs:enumeration value="Calendar"/>
<xs:enumeration value="Contacts"/>
<xs:enumeration value="Documents"/>
<xs:enumeration value="Chectdelist"/>
<xs:enumeration value="Checklist"/>
<xs:enumeration value="Cabinet"/>
<xs:enumeration value="Normal"/>
<xs:enumeration value="NNTPServer"/>

Loading…
Cancel
Save