MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / toSString

Function toSString

source/mod_uploader/StarStringConversion.hpp:9–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace Star {
8
9inline String toSString(QString const& str) {
10 return String(str.toUtf8().data());
11}
12
13inline QString toQString(String const& str) {
14 return QString::fromUtf8(str.utf8Ptr(), str.utf8Size());

Callers 3

selectDirectoryMethod · 0.85
writeMetadataMethod · 0.85
uploadToSteamMethod · 0.85

Calls 2

StringClass · 0.85
dataMethod · 0.45

Tested by

no test coverage detected