6#include <QStringBuilder>
10using namespace swift::misc::network;
14namespace swift::misc::aviation
29 if (!m_username.isEmpty())
31 url.
setQuery(
"username=" % m_username);
61 case IndexUrl: m_url = variant.
toString();
break;
62 case IndexUsername: m_username = variant.
toString();
break;
70 return m_username %
" " % m_url;
static const QString & flightPlan()
Flight plan.
Non-owning reference to a CPropertyIndex with a subset of its features.
CastType frontCasted() const
First element casted to given type, usually the PropertIndex enum.
bool isMyself() const
Myself index, used with nesting.
network::CUrl getUrlAndUsername() const
Get URL plus username.
QString convertToQString(bool i18n=false) const
Cast as QString.
const QString & getUrl() const
Get URL.
QVariant propertyByIndex(CPropertyIndexRef index) const
Property by index.
void setPropertyByIndex(CPropertyIndexRef index, const QVariant &variant)
Set property by index.
ColumnIndex
Properties by index.
static const QStringList & getLogCategories()
The log. catgeories.
CSimBriefData()
Default constructor.
void setPropertyByIndex(CPropertyIndexRef index, const QVariant &variant)
Set property by index.
QVariant propertyByIndex(CPropertyIndexRef index) const
Property by index.
Value object encapsulating information of a location, kind of simplified CValueObject compliant versi...
void setQuery(const QString &query)
Set query.
QVariant fromValue(T &&value)
QString toString() const const
#define SWIFT_DEFINE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template definition of mixins for a CValueObject subclass.