mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 18:22:46 +00:00
WIP: Refractor C++-side. Loader should be working again
This commit is contained in:
parent
2360b261f7
commit
9643482ae1
840 changed files with 100813 additions and 23560 deletions
|
@ -122,5 +122,31 @@ QJsonValue toJsonValue(const QUuid &source) {
|
|||
return uuidToString(source);
|
||||
}
|
||||
|
||||
// String types
|
||||
template <>
|
||||
QString toString(const QUuid &source) {
|
||||
return uuidToString(source);
|
||||
}
|
||||
|
||||
template <>
|
||||
QString toString(const qint32 &source) {
|
||||
return QString::number(source);
|
||||
}
|
||||
|
||||
template <>
|
||||
QString toString(const qint64 &source) {
|
||||
return QString::number(source);
|
||||
}
|
||||
|
||||
template <>
|
||||
QString toString(const bool &source) {
|
||||
return source ? QStringLiteral("true") : QStringLiteral("false");
|
||||
}
|
||||
|
||||
template <>
|
||||
QString toString(const QString &source) {
|
||||
return source;
|
||||
}
|
||||
|
||||
} // NS Support
|
||||
} // NS Jellyfin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue