Unified "simplification" to ASCII only for text messages

Based on the codepage discussion of text messages

* in text message value object still store the unicode string
* the text is only "cleaned" up and Qt "simplified" (do not confuse with conversion to ASCII)
* only place where we simplify to ASCII only is
** in VATLIB
** or the utility
This commit is contained in:
Klaus Basan
2018-12-30 10:50:53 +01:00
committed by Mat Sutcliffe
parent 1e35519a0d
commit cb084427ec
5 changed files with 25 additions and 6 deletions

View File

@@ -85,6 +85,9 @@ namespace BlackMisc
//! Get message
const QString &getMessage() const { return m_message; }
//! Get ASCII only message
QString getAsciiOnlyMessage() const;
//! Empty message
bool isEmpty() const { return m_message.isEmpty(); }