summaryrefslogtreecommitdiffstats
path: root/kresources/groupwise/soap/groupwiseserver.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kresources/groupwise/soap/groupwiseserver.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 28c73b68d..ac62a3640 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;