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

void MsnNotificationConnection::changedMsnObject (  )  [slot]

Called when the MSN Object of the current user changed.

When this method is called, contacts will be informed the user has a new display picture. Some clients automatically initiate a background chat to retrieve the new display picture. Other clients wait until a real chat is initiated, to request the display picture at that moment.

Internally, this method calls changeStatus( Status ) because that same command is used to notify about MsnObject changes. The MsnObject is extracted from the CurrentAccount class.

Definition at line 334 of file msnnotificationconnection.cpp.

References changeStatus(), CurrentAccount::getStatus(), and MsnConnection::isConnected().

{
  if(isConnected())
  {
    // Send the same status message, with a new msn object
    changeStatus(currentAccount_->getStatus());
  }
}


Generated by  Doxygen 1.6.0   Back to index