From 4b9db7650392c5b08e0ff243f5e4138c3f40553e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 19 Feb 2013 01:16:07 +0100 Subject: Fix unintended rename of Checklist --- tderesources/groupwise/soap/groupwiseserver.cpp | 2 +- tderesources/groupwise/soap/gwjobs.cpp | 12 ++++++------ tderesources/groupwise/soap/gwjobs.h | 4 ++-- tderesources/groupwise/soap/soapC.cpp | 2 +- tderesources/groupwise/soap/soapStub.h | 2 +- tderesources/groupwise/soap/types.xsd | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'tderesources') diff --git a/tderesources/groupwise/soap/groupwiseserver.cpp b/tderesources/groupwise/soap/groupwiseserver.cpp index 4e2810777..d3e98f08f 100644 --- a/tderesources/groupwise/soap/groupwiseserver.cpp +++ b/tderesources/groupwise/soap/groupwiseserver.cpp @@ -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(); diff --git a/tderesources/groupwise/soap/gwjobs.cpp b/tderesources/groupwise/soap/gwjobs.cpp index 435bb2aef..8857ff8e5 100644 --- a/tderesources/groupwise/soap/gwjobs.cpp +++ b/tderesources/groupwise/soap/gwjobs.cpp @@ -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; diff --git a/tderesources/groupwise/soap/gwjobs.h b/tderesources/groupwise/soap/gwjobs.h index e3ce4a2fa..e562ebd5a 100644 --- a/tderesources/groupwise/soap/gwjobs.h +++ b/tderesources/groupwise/soap/gwjobs.h @@ -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; }; diff --git a/tderesources/groupwise/soap/soapC.cpp b/tderesources/groupwise/soap/soapC.cpp index f36c24637..6decf59f2 100644 --- a/tderesources/groupwise/soap/soapC.cpp +++ b/tderesources/groupwise/soap/soapC.cpp @@ -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" }, diff --git a/tderesources/groupwise/soap/soapStub.h b/tderesources/groupwise/soap/soapStub.h index 4f42a3372..5566ba0ba 100644 --- a/tderesources/groupwise/soap/soapStub.h +++ b/tderesources/groupwise/soap/soapStub.h @@ -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 diff --git a/tderesources/groupwise/soap/types.xsd b/tderesources/groupwise/soap/types.xsd index 096e7a9e6..d0416f8e1 100644 --- a/tderesources/groupwise/soap/types.xsd +++ b/tderesources/groupwise/soap/types.xsd @@ -687,7 +687,7 @@ file by physical or electronic mail, you may find current contact information at - + -- cgit v1.2.1