summaryrefslogtreecommitdiffstats
path: root/kresources/groupwise/soap/groupwiseserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/groupwise/soap/groupwiseserver.cpp')
-rw-r--r--kresources/groupwise/soap/groupwiseserver.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kresources/groupwise/soap/groupwiseserver.cpp b/kresources/groupwise/soap/groupwiseserver.cpp
index 28c73b68..ac62a364 100644
--- a/kresources/groupwise/soap/groupwiseserver.cpp
+++ b/kresources/groupwise/soap/groupwiseserver.cpp
@@ -129,7 +129,7 @@ int GroupwiseServer::gSoapOpen( struct soap *soap, const char *,
if (rc != 0 ) {
kdError() << "gSoapOpen: lookup of " << host << " failed " << rc << endl;
TQString errorMessage;
- errorMessage = TQString::fromLatin1( strerror( errno ) );
+ errorMessage = TQString::tqfromLatin1( strerror( errno ) );
perror( 0 );
soap->error = SOAP_TCP_ERROR;
mErrorText = i18n("Connect failed: %1.").arg( errorMessage );
@@ -141,13 +141,13 @@ int GroupwiseServer::gSoapOpen( struct soap *soap, const char *,
kdError() << "gSoapOpen: connect failed " << rc << endl;
TQString errorMessage;
if ( rc == -1 ) {
- errorMessage = TQString::fromLatin1( strerror( errno ) );
+ errorMessage = TQString::tqfromLatin1( strerror( errno ) );
perror( 0 );
}
//set the soap struct's error here!
else {
if ( rc == -3 )
- errorMessage = TQString::fromLatin1( "Connection timed out. Check host and port number" );
+ errorMessage = TQString::tqfromLatin1( "Connection timed out. Check host and port number" );
}
mErrorText = i18n("Connect failed: %1.").arg( errorMessage );
soap->error =SOAP_TCP_ERROR;
@@ -208,7 +208,7 @@ int GroupwiseServer::gSoapSendCallback( struct soap * soap, const char *s, size_
ret = m_sock->writeBlock( s, n );
if ( ret < 0 ) {
kdError() << "Send failed: " << strerror( m_sock->systemError() )
- << " " << m_sock->socketStatus() << " " << m_sock->fd() << endl;
+ << " " << m_sock->sockeStatus() << " " << m_sock->fd() << endl;
soap->error = SOAP_TCP_ERROR;
return SOAP_TCP_ERROR;
}
@@ -217,7 +217,7 @@ int GroupwiseServer::gSoapSendCallback( struct soap * soap, const char *s, size_
if ( n !=0 ) {
kdError() << "Send failed: " << strerror( m_sock->systemError() )
- << " " << m_sock->socketStatus() << " " << m_sock->fd() << endl;
+ << " " << m_sock->sockeStatus() << " " << m_sock->fd() << endl;
soap->error = SOAP_TCP_ERROR;
}
@@ -246,7 +246,7 @@ size_t GroupwiseServer::gSoapReceiveCallback( struct soap *soap, char *s,
long ret = m_sock->readBlock( s, n );
if ( ret < 0 ) {
kdError() << "Receive failed: " << strerror( m_sock->systemError() )
- << " " << m_sock->socketStatus() << " " << m_sock->fd() << endl;
+ << " " << m_sock->sockeStatus() << " " << m_sock->fd() << endl;
} else {
if ( getenv("DEBUG_GW_RESOURCE") ) {
qDebug("*************************");
@@ -518,7 +518,7 @@ void GroupwiseServer::dumpCalendarFolder( const std::string &id )
itemsRequest.container = soap_new_std__string( mSoap, -1 );
*(itemsRequest.container) = id;
std::string *str = soap_new_std__string( mSoap, -1 );
- str->append( "recipients message recipientStatus" );
+ str->append( "recipients message recipienStatus" );
itemsRequest.view = str;
itemsRequest.filter = 0;