@@ -27,6 +27,7 @@ class FakeIndicatorsModel : public QAbstractListModel
2727 Q_OBJECT
2828 Q_ENUMS(Roles)
2929 Q_PROPERTY(int count READ count NOTIFY countChanged)
30+ Q_PROPERTY(QString profile READ profile WRITE setProfile NOTIFY profileChanged)
3031public:
3132
3233 FakeIndicatorsModel(QObject *parent=0);
@@ -39,6 +40,9 @@ public:
3940
4041 Q_INVOKABLE QVariant data(int row, int role) const;
4142
43+ QString profile() const;
44+ void setProfile(const QString& profile);
45+
4246 /* QAbstractItemModel */
4347 QHash<int, QByteArray> roleNames() const;
4448 int columnCount(const QModelIndex &parent = QModelIndex()) const;
@@ -48,12 +52,14 @@ public:
4852
4953Q_SIGNALS:
5054 void countChanged();
55+ void profileChanged();
5156
5257private:
5358 int count() const;
5459
5560 typedef QHash<int, QVariant> Indicator;
5661 QList<Indicator*> m_indicators;
62+ QString m_profile;
5763};
5864
5965#endif // FAKE_INDICATORSMODEL_H