2
0
mirror of https://github.com/status-im/status-desktop.git synced 2025-01-18 02:21:17 +00:00
Michał Cieślak 1481790183 chore(general): move cpp files of monitoring tool from DOtherSide to ui dir
Additionally bumps DOtherSide cmake min version to 3.19

Closes: 
2023-02-09 14:27:53 +01:00

23 lines
554 B
C++

#pragma once
#include <QObject>
#include <QAbstractListModel>
class ContextPropertiesModel : public QAbstractListModel
{
Q_OBJECT
public:
explicit ContextPropertiesModel(QObject* parent = nullptr);
static constexpr int NameRole = Qt::UserRole + 1;
int rowCount(const QModelIndex &parent) const override;
QVariant data(const QModelIndex &index, int role) const override;
QHash<int, QByteArray> roleNames() const override;
void addContextProperty(const QString &property);
private:
QStringList m_contextProperties;
};