summaryrefslogtreecommitdiffstats
path: root/tderesources/groupwise/soap
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-02-19 01:16:07 +0100
committerSlávek Banko <[email protected]>2013-02-19 01:16:07 +0100
commit4b9db7650392c5b08e0ff243f5e4138c3f40553e (patch)
treed0fb864e9b57b238070196bdf35f6ad215d409ed /tderesources/groupwise/soap
parent7726de45cfff91c8704323ef8041cf30b2816809 (diff)
downloadtdepim-4b9db7650392c5b08e0ff243f5e4138c3f40553e.tar.gz
tdepim-4b9db7650392c5b08e0ff243f5e4138c3f40553e.zip
Fix unintended rename of Checklist
Diffstat (limited to 'tderesources/groupwise/soap')
-rw-r--r--tderesources/groupwise/soap/groupwiseserver.cpp2
-rw-r--r--tderesources/groupwise/soap/gwjobs.cpp12
-rw-r--r--tderesources/groupwise/soap/gwjobs.h4
-rw-r--r--tderesources/groupwise/soap/soapC.cpp2
-rw-r--r--tderesources/groupwise/soap/soapStub.h2
-rw-r--r--tderesources/groupwise/soap/types.xsd2
6 files changed, 12 insertions, 12 deletions
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
<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"/>