1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/UserProfileModel.h b/src/ui/UserProfileModel.h
index c21a806d..ba7a2525 100644
--- a/src/ui/UserProfileModel.h
+++ b/src/ui/UserProfileModel.h
@@ -1,5 +1,6 @@
#pragma once
+#include "UserProfile.h"
#include <QAbstractListModel>
class UserProfile; // forward declaration of the class UserProfile
@@ -7,7 +8,7 @@ class UserProfile; // forward declaration of the class UserProfile
class UserProfileModel : public QAbstractListModel
{
Q_OBJECT
- Q_PROPERTY(UserProfile *deviceList READ getList WRITE setList)
+ Q_PROPERTY(UserProfile *deviceList READ getList)
public:
explicit UserProfileModel(QObject *parent = nullptr);
@@ -15,10 +16,10 @@ public:
enum
{
DEVICEID,
- DISPLAYNAME
+ DISPLAYNAME,
+ VERIFIED_STATUS
};
UserProfile *getList() const;
- void setList(UserProfile *devices);
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
QVariant data(const QModelIndex &index, int role) const override;
|