mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Ref T335, misc. improvements of value classes/list
- verifyModelData - setModelType - getCallsignsAsString
This commit is contained in:
@@ -48,6 +48,12 @@ namespace BlackMisc
|
||||
return callsigns;
|
||||
}
|
||||
|
||||
QString CCallsignSet::getCallsignsAsString(bool sorted, const QString &separator) const
|
||||
{
|
||||
if (this->isEmpty()) { return QStringLiteral(""); }
|
||||
return this->getCallsignStrings(sorted).join(separator);
|
||||
}
|
||||
|
||||
void CCallsignSet::registerMetadata()
|
||||
{
|
||||
qRegisterMetaType<BlackMisc::CSequence<CCallsign>>();
|
||||
|
||||
Reference in New Issue
Block a user