mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #240, text to status message, used when a text message shall be logged or used in popup windows with status message signature
This commit is contained in:
@@ -138,6 +138,15 @@ namespace BlackMisc
|
||||
return s;
|
||||
}
|
||||
|
||||
/*
|
||||
* As status message
|
||||
*/
|
||||
CStatusMessage CTextMessage::asStatusMessage(bool withSender, bool withRecipient, const QString separator) const
|
||||
{
|
||||
QString m = this->asString(withSender, withRecipient, separator);
|
||||
return CStatusMessage::getInfoMessage(m, CStatusMessage::TypeTrafficNetwork);
|
||||
}
|
||||
|
||||
/*
|
||||
* Toggle sender / receiver
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user