qlopdatabaseviewermodel.h
24 lines
| 729 B
| text/x-c
|
CLexer
r13 | #ifndef QLOPDATABASEVIEWERMODEL_H | |||
#define QLOPDATABASEVIEWERMODEL_H | ||||
#include <QObject> | ||||
#include <QAbstractTableModel> | ||||
#include <qlopdatabase.h> | ||||
class QLopDataBaseViewerModel : public QAbstractTableModel | ||||
{ | ||||
public: | ||||
QLopDataBaseViewerModel(QObject *parent=0); | ||||
~QLopDataBaseViewerModel(); | ||||
int rowCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | ||||
int columnCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | ||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE; | ||||
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE; | ||||
private: | ||||
}; | ||||
#endif // QLOPDATABASEVIEWERMODEL_H | ||||