22 return sizeof(wchar_t) ==
sizeof(QChar)
23 ? QString::fromUtf16(
reinterpret_cast<const ushort *
>(str),
static_cast<int>(wcslen(str)))
24 : QString::fromUcs4(
reinterpret_cast<const uint *
>(str),
static_cast<int>(wcslen(str)));
35 return sizeof(wchar_t) ==
sizeof(QChar)
36 ? QString::fromUtf16(
reinterpret_cast<const ushort *
>(str.data()),
static_cast<int>(str.size()))
37 : QString::fromUcs4(
reinterpret_cast<const uint *
>(str.data()),
static_cast<int>(str.size()));
QString toQStringInternal(const wchar_t *str)
Internal version of QString::fromStdWString.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...