10#include <QAbstractListModel>
11#include <QtQml/qqmlregistration.h>
17 :
public QAbstractListModel
31 TITLE = Qt::UserRole + 1,
39 void onSurveyDataChanged();
42 [[nodiscard]]
int rowCount(
const QModelIndex& = QModelIndex())
const override;
43 [[nodiscard]] QVariant
data(
const QModelIndex& pIndex,
int pRole = Qt::DisplayRole)
const override;
44 [[nodiscard]] QHash<int, QByteArray>
roleNames()
const override;
Definition SingletonCreator.h:22
Definition SurveyModel.h:19
Q_INVOKABLE bool askForDeviceSurvey() const
Definition SurveyModel.cpp:64
QVariant data(const QModelIndex &pIndex, int pRole=Qt::DisplayRole) const override
Definition SurveyModel.cpp:37
int rowCount(const QModelIndex &=QModelIndex()) const override
Definition SurveyModel.cpp:31
Q_INVOKABLE void setDeviceSurveyPending(bool pValue) const
Definition SurveyModel.cpp:70
QHash< int, QByteArray > roleNames() const override
Definition SurveyModel.cpp:55
QList< QPair< QString, QString > > SurveyData
Definition Survey.h:26
Defines the AccessRight and AccessRole enum.
Definition CommandApdu.h:17