26 for (
int i(0), n(1); ((i = qformat.indexOf(
'a', i)) != -1) && (n <= 4); ++n)
27 qformat.replace(i, 1, QString(
"%%1").arg(n));
42 QString q(toString());
43 if (q.length() < narrow_to<int>(
string->length))
44 string->length = q.length();
45 memcpy(string->
data, q.utf16(),
string->length *
sizeof(
utf16_t));
53 return QString(qformat).arg(val >> 24)
54 .arg((val >> 16) & 0xFF)
55 .arg((val >> 8) & 0xFF)
Copyright (C) 2012 Xpace, LLC.
A string, Unicode UTF-16 and reference-counted.
Xpace project main namespace