12#include <QAbstractListModel>
13#include <QNetworkReply>
20class test_SurveyModel;
26 :
public QAbstractListModel
30 friend class ::test_SurveyModel;
36 int mMaximumNfcPacketLength;
40 const QString mAusweisAppVersionNumber;
42 bool mNfcDataAvailable;
43 bool mAuthWasSuccessful;
45 QList<QPair<QString, QString>>
mData;
50 TITLE = Qt::UserRole + 1,
57 void buildDataObject();
62 void onNetworkReplyFinished();
Definition ReaderInfo.h:18
Definition SurveyModel.h:27
void transmitSurvey()
Definition SurveyModel.cpp:218
Q_INVOKABLE bool askForDeviceSurvey() const
Definition SurveyModel.cpp:198
QVariant data(const QModelIndex &pIndex, int pRole=Qt::DisplayRole) const override
Definition SurveyModel.cpp:72
void setReaderInfo(const ReaderInfo &pReaderInfo)
Definition SurveyModel.cpp:152
int rowCount(const QModelIndex &=QModelIndex()) const override
Definition SurveyModel.cpp:66
Q_INVOKABLE void setDeviceSurveyPending(bool pValue) const
Definition SurveyModel.cpp:212
bool isDeviceSurveyPending() const
Definition SurveyModel.cpp:205
QHash< int, QByteArray > roleNames() const override
Definition SurveyModel.cpp:90
void setAuthWasSuccessful(bool pSuccess)
Definition SurveyModel.cpp:192
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:16
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition ASN1TemplateUtil.h:114