Just to match the ones that are already there.
Change-Id: I25acc2391feded4cac79ebf65a6bc72176f5f931
Reviewed-by: hjk <qthjk@ovi.com>
returned byte array is undefined if the string contains non-Latin1
characters.
*/
+/* \fn QByteArray QStringBuilder::toUtf8() const
+ Returns a UTF-8 representation of the string as a QByteArray.
+ */
+
/*! \internal
*/
struct QStringBuilderBase<Builder, QString> : public QStringBuilderCommon<Builder, QString>
{
QByteArray toLatin1() const { return this->resolved().toLatin1(); }
+ QByteArray toUtf8() const { return this->resolved().toUtf8(); }
QByteArray toLocal8Bit() const { return this->resolved().toLocal8Bit(); }
};