void setLocale(const QString &locale)
Sets the locale of the text record to locale.
QString text() const
Returns the contents of the text record as a string.
void setEncoding(Encoding encoding)
Sets the enconding of the contents to encoding.
Encoding
This enum describes the text encoding standard used.
Encoding encoding() const
Returns the encoding of the contents.
void setText(const QString text)
Sets the contents of the text record to text.