summaryrefslogtreecommitdiff
path: root/src/model/PlaceListModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/PlaceListModel.h')
-rw-r--r--src/model/PlaceListModel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/model/PlaceListModel.h b/src/model/PlaceListModel.h
index e703d50..7239040 100644
--- a/src/model/PlaceListModel.h
+++ b/src/model/PlaceListModel.h
@@ -33,13 +33,13 @@ class PlaceListModel : public QAbstractListModel
33 33
34 public: 34 public:
35 35
36 enum PlaceRoles 36 enum PlaceListRoles
37 { 37 {
38 NAME = Qt::UserRole + 1, 38 NAME = Qt::UserRole + 1,
39 PUBKEY, 39 PUBKEY,
40 TYPE, 40 TYPE,
41 STATUS, 41 STATUS,
42 NB_PLACE_COLUMNS 42 PLACELIST_ROLE_COUNT
43 }; 43 };
44 44
45 explicit 45 explicit
@@ -78,14 +78,14 @@ class PlaceListModel : public QAbstractListModel
78 private slots: 78 private slots:
79 79
80 Place * 80 Place *
81 addNewPlaceSlot (Place * item, QString name); 81 addNewPlaceSlot (Place *item, QString name);
82 82
83 private: 83 private:
84 84
85 int 85 int
86 rowCount (const QModelIndex & parent) const; 86 rowCount (const QModelIndex & parent) const;
87 QVariant 87 QVariant
88 data (const QModelIndex & index, int role) const; 88 data (const QModelIndex &index, int role) const;
89 QHash<int, QByteArray> 89 QHash<int, QByteArray>
90 roleNames () const; 90 roleNames () const;
91 91