6#include <QDBusMetaType>
13namespace swift::misc::aviation
17 for (
const QString &c : callsigns)
66 qRegisterMetaType<swift::misc::CSequence<CCallsign>>();
67 qDBusRegisterMetaType<swift::misc::CSequence<CCallsign>>();
68 qRegisterMetaType<swift::misc::CCollection<CCallsign>>();
69 qDBusRegisterMetaType<swift::misc::CCollection<CCallsign>>();
70 qRegisterMetaType<CCallsignSet>();
71 qDBusRegisterMetaType<CCallsignSet>();
iterator push_back(const CCallsign &value)
bool contains(const T &object) const
Value object encapsulating information of a callsign.
TypeHint
Representing what.
const QString & asString() const
Get callsign (normalized).
bool isEmpty() const
Is empty?
static void registerMetadata()
Register metadata.
QStringList getCallsignStrings(bool sorted=false) const
The callsign strings.
QString getCallsignsAsString(bool sorted=false, const QString &separator=", ") const
Callsigns as string.
CCallsignSet()=default
Default constructor.
bool containsCallsign(const QString &callsign) const
Contains by string.
#define SWIFT_DEFINE_COLLECTION_MIXINS(Namespace, T, Set)
Explicit template definition of mixins for a CCollection subclass.
void registerMetaValueType()
This registers the value type T with the swift::misc:: meta type system, making it available for use ...
void push_back(QList< T >::parameter_type value)
QString join(QChar separator) const const
void sort(Qt::CaseSensitivity cs)