Commit 9482cf0f authored by Volker Krause's avatar Volker Krause
Browse files

Unify rawData property on all binary ticket types

parent 1e8ecbf2
......@@ -55,7 +55,7 @@ class KITINERARY_EXPORT SSBv1Ticket : protected SSBTicketBase
SSB_NUM_PROPERTY(specimen, 306, 1)
SSB_STR_PROPERTY(viaStations, 307, 5) // is that the correct encoding? page 131 of TAP TSI Annex B.6 could also be read as 6 times 5 bit content
Q_PROPERTY(QByteArray rawData READ rawData)
Q_PROPERTY(QByteArray rawData READ rawData STORED false)
public:
SSBv1Ticket();
......
......@@ -52,7 +52,7 @@ class KITINERARY_EXPORT SSBv2Ticket : protected SSBTicketBase
SSB_NUM_PROPERTY(railwayCarrierCode, 349, 14)
SSB_STR_PROPERTY(reference, 363, 8)
Q_PROPERTY(QByteArray rawData READ rawData)
Q_PROPERTY(QByteArray rawData READ rawData STORED false)
public:
SSBv2Ticket();
......
......@@ -101,7 +101,7 @@ class KITINERARY_EXPORT SSBv3Ticket : protected SSBTicketBase {
};
Q_ENUM(TicketType)
Q_PROPERTY(QByteArray rawData READ rawData)
Q_PROPERTY(QByteArray rawData READ rawData STORED false)
public:
SSBv3Ticket();
......
......@@ -43,6 +43,8 @@ class KITINERARY_EXPORT VdvTicket
/** Ticket number. */
Q_PROPERTY(QString ticketNumber READ ticketNumber)
Q_PROPERTY(QByteArray rawData READ rawData STORED false)
public:
VdvTicket();
VdvTicket(const QByteArray &data, const QByteArray &rawData);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment