mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
refs #336 Style and const-correctness.
This commit is contained in:
@@ -132,7 +132,7 @@ namespace BlackMisc
|
||||
* \param separator values separated by given value
|
||||
* \return
|
||||
*/
|
||||
QString asString(bool withSender, bool withRecipient, const QString separator = ", ") const;
|
||||
QString asString(bool withSender, bool withRecipient, const QString &separator = ", ") const;
|
||||
|
||||
/*!
|
||||
* Whole message as BlackMisc::CStatusMessage.
|
||||
@@ -142,7 +142,7 @@ namespace BlackMisc
|
||||
* \param separator values separated by given value
|
||||
* \return
|
||||
*/
|
||||
BlackMisc::CStatusMessage asStatusMessage(bool withSender, bool withRecipient, const QString separator = ", ") const;
|
||||
BlackMisc::CStatusMessage asStatusMessage(bool withSender, bool withRecipient, const QString &separator = ", ") const;
|
||||
|
||||
//! \brief Toggle sender receiver, can be used to ping my own message
|
||||
void toggleSenderRecipient();
|
||||
|
||||
Reference in New Issue
Block a user