Logo Search packages:      
Sourcecode: kmess version File versions  Download package

void MsnConnection::addSoapClient ( HttpSoapConnection client  )  [protected, inherited]

Internal function to track SOAP clients.

This method connects the HttpSoapConnection::soapError() signal, and appends the client to the internal list.

Parameters:
client The SOAP client class.

Definition at line 107 of file msnconnection.cpp.

References MsnConnection::slotError().

Referenced by MsnNotificationConnection::createAddressBookService(), MsnNotificationConnection::createOfflineImService(), and MsnNotificationConnection::createPassportLoginService().

{
#ifdef KMESSDEBUG_NOTIFICATION_GENERAL
  kDebug() << "Adding SOAP client to list.";
#endif

  // Connect signals
  connect( client, SIGNAL( soapError(QString,MsnSocketBase::ErrorType) ),
           this,   SLOT  ( slotError(QString,MsnSocketBase::ErrorType) ) );

  // Add to list so it cleans up when the connection closes
  soapClients_.append( client );
}


Generated by  Doxygen 1.6.0   Back to index