blob: aed8b57963c8ce894877d9b38ff0ee6d50c39cf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include <QString>
#include "StarString.hpp"
namespace Star {
inline String toSString(QString const& str) {
return String(str.toUtf8().data());
}
inline QString toQString(String const& str) {
return QString::fromUtf8(str.utf8Ptr(), str.utf8Size());
}
}
|