summaryrefslogtreecommitdiffstats
path: root/kresources/groupwise/soap
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/groupwise/soap')
-rw-r--r--kresources/groupwise/soap/contactconverter.cpp6
-rw-r--r--kresources/groupwise/soap/groupwiseserver.cpp8
-rw-r--r--kresources/groupwise/soap/gwjobs.cpp4
-rw-r--r--kresources/groupwise/soap/ksslsocket.cpp4
-rw-r--r--kresources/groupwise/soap/soapC.cpp2
-rw-r--r--kresources/groupwise/soap/soapStub.h2
-rw-r--r--kresources/groupwise/soap/stdsoap2.h4
7 files changed, 15 insertions, 15 deletions
diff --git a/kresources/groupwise/soap/contactconverter.cpp b/kresources/groupwise/soap/contactconverter.cpp
index 605d14d69..d4ab5f6a4 100644
--- a/kresources/groupwise/soap/contactconverter.cpp
+++ b/kresources/groupwise/soap/contactconverter.cpp
@@ -313,7 +313,7 @@ KABC::Addressee ContactConverter::convertFromContact( ngwt__Contact* contact )
std::vector<std::string> list = contact->emailList->email;
std::vector<std::string>::const_iterator it;
for ( it = list.begin(); it != list.end(); ++it ) {
- if ( emails.tqfind( stringToTQString( *it ) ) == emails.end() )
+ if ( emails.find( stringToTQString( *it ) ) == emails.end() )
emails.append( stringToTQString( *it ) );
}
}
@@ -618,12 +618,12 @@ ngwt__ImAddressList* ContactConverter::convertImAddresses( const KABC::Addressee
void ContactConverter::splitField( const TQString &str, TQString &app, TQString &name, TQString &value )
{
- int colon = str.tqfind( ':' );
+ int colon = str.find( ':' );
if ( colon != -1 ) {
TQString tmp = str.left( colon );
value = str.mid( colon + 1 );
- int dash = tmp.tqfind( '-' );
+ int dash = tmp.find( '-' );
if ( dash != -1 ) {
app = tmp.left( dash );
name = tmp.mid( dash + 1 );
diff --git a/kresources/groupwise/soap/groupwiseserver.cpp b/kresources/groupwise/soap/groupwiseserver.cpp
index 3aee84877..93a3f0a27 100644
--- a/kresources/groupwise/soap/groupwiseserver.cpp
+++ b/kresources/groupwise/soap/groupwiseserver.cpp
@@ -60,7 +60,7 @@ static TQMap<struct soap *,GroupwiseServer *> mServerMap;
int myOpen( struct soap *soap, const char *endpoint, const char *host, int port )
{
TQMap<struct soap *,GroupwiseServer *>::ConstIterator it;
- it = mServerMap.tqfind( soap );
+ it = mServerMap.find( soap );
if ( it == mServerMap.end() ) {
soap->error = SOAP_FAULT;
return SOAP_INVALID_SOCKET;
@@ -72,7 +72,7 @@ int myOpen( struct soap *soap, const char *endpoint, const char *host, int port
int myClose( struct soap *soap )
{
TQMap<struct soap *,GroupwiseServer *>::ConstIterator it;
- it = mServerMap.tqfind( soap );
+ it = mServerMap.find( soap );
if ( it == mServerMap.end() ) return SOAP_FAULT;
return (*it)->gSoapClose( soap );
@@ -81,7 +81,7 @@ int myClose( struct soap *soap )
int mySendCallback( struct soap *soap, const char *s, size_t n )
{
TQMap<struct soap *,GroupwiseServer *>::ConstIterator it;
- it = mServerMap.tqfind( soap );
+ it = mServerMap.find( soap );
if ( it == mServerMap.end() ) return SOAP_FAULT;
return (*it)->gSoapSendCallback( soap, s, n );
@@ -90,7 +90,7 @@ int mySendCallback( struct soap *soap, const char *s, size_t n )
size_t myReceiveCallback( struct soap *soap, char *s, size_t n )
{
TQMap<struct soap *,GroupwiseServer *>::ConstIterator it;
- it = mServerMap.tqfind( soap );
+ it = mServerMap.find( soap );
if ( it == mServerMap.end() ) {
kdDebug() << "No soap object found" << endl;
soap->error = SOAP_FAULT;
diff --git a/kresources/groupwise/soap/gwjobs.cpp b/kresources/groupwise/soap/gwjobs.cpp
index 7a95cf6e8..6f5918597 100644
--- a/kresources/groupwise/soap/gwjobs.cpp
+++ b/kresources/groupwise/soap/gwjobs.cpp
@@ -84,7 +84,7 @@ void ReadAddressBooksJob::run()
} else {
TQString id = GWConverter::stringToTQString( (*it)->id );
kdDebug() << "Reading ID: " << id << endl;
- if ( mAddressBookIds.tqfind( id ) != mAddressBookIds.end() ) {
+ if ( mAddressBookIds.find( id ) != mAddressBookIds.end() ) {
readAddressBook( *(*it)->id );
mProgress += 100;
}
@@ -438,7 +438,7 @@ void ReadCalendarJob::run()
// perform consistency checks
kdDebug() << "Total count of items of all types in folders we read: " << totalItems << endl;
kdDebug() << "Folders we read contained " << totals.appointments << " appointments, " << totals.notes << " notes, and " << totals.tasks << " tasks." << endl;
- kdDebug() << "Local calendar now tqcontains " << mCalendar->rawEvents().count() << " events and " << mCalendar->rawJournals().count() << " journals, and " << mCalendar->rawTodos().count() << " todos." << endl;
+ kdDebug() << "Local calendar now contains " << mCalendar->rawEvents().count() << " events and " << mCalendar->rawJournals().count() << " journals, and " << mCalendar->rawTodos().count() << " todos." << endl;
if ( totals.appointments == mCalendar->rawEvents().count() )
kdDebug() << "All events accounted for." << endl;
else
diff --git a/kresources/groupwise/soap/ksslsocket.cpp b/kresources/groupwise/soap/ksslsocket.cpp
index c07708799..30e8bb643 100644
--- a/kresources/groupwise/soap/ksslsocket.cpp
+++ b/kresources/groupwise/soap/ksslsocket.cpp
@@ -150,12 +150,12 @@ void KSSLSocket::setMetaData( const TQString &key, const TQVariant &data )
bool KSSLSocket::hasMetaData( const TQString &key )
{
- return d->metaData.tqcontains(key);
+ return d->metaData.contains(key);
}
TQString KSSLSocket::metaData( const TQString &key )
{
- if( d->metaData.tqcontains(key) )
+ if( d->metaData.contains(key) )
return d->metaData[key];
return TQString();
}
diff --git a/kresources/groupwise/soap/soapC.cpp b/kresources/groupwise/soap/soapC.cpp
index 17c52d602..b446bc4ba 100644
--- a/kresources/groupwise/soap/soapC.cpp
+++ b/kresources/groupwise/soap/soapC.cpp
@@ -12992,7 +12992,7 @@ static const struct soap_code_map soap_codes_ngwt__FilterOp[] =
{ (long)lt, "lt" },
{ (long)gte, "gte" },
{ (long)lte, "lte" },
- { (long)tqcontains, "tqcontains" },
+ { (long)contains, "contains" },
{ (long)containsWord, "containsWord" },
{ (long)begins, "begins" },
{ (long)exists, "exists" },
diff --git a/kresources/groupwise/soap/soapStub.h b/kresources/groupwise/soap/soapStub.h
index 7ba6692e9..829237fda 100644
--- a/kresources/groupwise/soap/soapStub.h
+++ b/kresources/groupwise/soap/soapStub.h
@@ -115,7 +115,7 @@ enum ngwt__FilterDate {Today = 0, Tomorrow = 1, ThisMonth = 2, ThisWeek = 3, Thi
#ifndef SOAP_TYPE_ngwt__FilterOp
#define SOAP_TYPE_ngwt__FilterOp (357)
/* ngwt:FilterOp */
-enum ngwt__FilterOp {and_ = 0, or_ = 1, not_ = 2, eq = 3, ne = 4, gt = 5, lt = 6, gte = 7, lte = 8, tqcontains = 9, containsWord = 10, begins = 11, exists = 12, notExist = 13, isOf = 14, isNotOf = 15, fieldEqual = 16, fieldGTE = 17, fieldGT = 18, fieldLTE = 19, fieldLT = 20, fieldNE = 21, fieldDateEqual = 22};
+enum ngwt__FilterOp {and_ = 0, or_ = 1, not_ = 2, eq = 3, ne = 4, gt = 5, lt = 6, gte = 7, lte = 8, contains = 9, containsWord = 10, begins = 11, exists = 12, notExist = 13, isOf = 14, isNotOf = 15, fieldEqual = 16, fieldGTE = 17, fieldGT = 18, fieldLTE = 19, fieldLT = 20, fieldNE = 21, fieldDateEqual = 22};
#endif
#ifndef SOAP_TYPE_ngwt__FolderACLtqStatus
diff --git a/kresources/groupwise/soap/stdsoap2.h b/kresources/groupwise/soap/stdsoap2.h
index 3a337402a..603d4def9 100644
--- a/kresources/groupwise/soap/stdsoap2.h
+++ b/kresources/groupwise/soap/stdsoap2.h
@@ -1257,8 +1257,8 @@ struct soap_dom_element
struct soap_dom_element &add(struct soap_dom_attribute&);
soap_dom_iterator begin();
soap_dom_iterator end();
- soap_dom_iterator tqfind(const char *nstr, const char *name);
- soap_dom_iterator tqfind(int type);
+ soap_dom_iterator find(const char *nstr, const char *name);
+ soap_dom_iterator find(int type);
void unlink();
soap_dom_element();
soap_dom_element(struct soap *soap);