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") // (e.g. "GpgME supports protocol OpenPGP")
class Kleo::ProtocolCheckListItem : public TQCheckListItem class Kleo::ProtocolCheckListItem : public TQCheckListItem
{ {

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

@ -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;

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

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

@ -127,7 +127,7 @@ enum ngwt__FolderACLStatus {pending = 0, accepted = 1, deleted = 2, opened = 3,
#ifndef SOAP_TYPE_ngwt__FolderType #ifndef SOAP_TYPE_ngwt__FolderType
#define SOAP_TYPE_ngwt__FolderType (359) #define SOAP_TYPE_ngwt__FolderType (359)
/* ngwt:FolderType */ /* 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 #endif
#ifndef SOAP_TYPE_ngwt__Frequency #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="Calendar"/>
<xs:enumeration value="Contacts"/> <xs:enumeration value="Contacts"/>
<xs:enumeration value="Documents"/> <xs:enumeration value="Documents"/>
<xs:enumeration value="Chectdelist"/> <xs:enumeration value="Checklist"/>
<xs:enumeration value="Cabinet"/> <xs:enumeration value="Cabinet"/>
<xs:enumeration value="Normal"/> <xs:enumeration value="Normal"/>
<xs:enumeration value="NNTPServer"/> <xs:enumeration value="NNTPServer"/>

Loading…
Cancel
Save