mirror of
https://github.com/Indy970/QtHPConnect
synced 2024-11-15 19:48:02 +01:00
17 lines
461 B
C++
17 lines
461 B
C++
#ifndef DATAMODEL_H
|
|
#define DATAMODEL_H
|
|
|
|
#include <QAbstractTableModel>
|
|
#include <QString>
|
|
|
|
class dataModel: public QAbstractTableModel
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
dataModel(QObject *parent);
|
|
int rowCount(const QModelIndex &parent = QModelIndex()) const override ;
|
|
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
|
|
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
|
};
|
|
|
|
#endif // DATAMODEL_H
|