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

void Application::modifyOfferMessage ( const QString &  newMessage = QString() ) [protected, inherited]

Replace an application's accept/reject/cancel links with another text.

Removes from the chat the confirmation links for the application, and replaces them with some other informative message.

Parameters:
newMessageThe new displayed message

Definition at line 504 of file application.cpp.

References Application::getCookie(), and Application::updateApplicationMessage().

Referenced by P2PApplication::contactAborted(), MimeApplication::contactAborted(), FileTransfer::contactAborted(), Application::contactAborted(), Application::contactRejected(), FileTransferP2P::contactStarted2_UserAccepts(), FileTransfer::contactStarted2_UserAccepts(), P2PApplication::showTimeoutMessage(), P2PApplication::userAborted(), MimeApplication::userAborted(), Application::userAborted(), P2PApplication::userRejected(), MimeApplication::userRejected(), FileTransferP2P::userStarted2_ContactAccepts(), and FileTransfer::userStarted2_ContactAccepts().

{
#ifdef KMESSDEBUG_APPLICATION
  kmDebug() << "Changing offer links in chat";
#endif

  emit updateApplicationMessage( getCookie(), newMessage );
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index