Nut/src/nut/sqlmodel_p.h

26 lines
423 B
C
Raw Normal View History

2018-02-13 23:39:21 +08:00
#ifndef SQLMODEL_P_H
#define SQLMODEL_P_H
2020-07-29 22:11:19 +08:00
#include <QtCore/QSharedPointer>
#include <QtCore/QString>
2018-02-13 23:39:21 +08:00
#include "defines.h"
NUT_BEGIN_NAMESPACE
class SqlModel;
class Table;
class TableModel;
2020-07-28 16:25:06 +08:00
class NUT_EXPORT SqlModelPrivate : public QSharedData {
2018-02-13 23:39:21 +08:00
public:
2019-06-18 21:40:40 +08:00
explicit SqlModelPrivate(SqlModel *parent);
2018-02-26 18:14:36 +08:00
2018-02-13 23:39:21 +08:00
QString tableName;
2019-06-18 23:37:03 +08:00
RowList<Table> rows;
2018-02-13 23:39:21 +08:00
TableModel *model;
};
NUT_END_NAMESPACE
#endif // SQLMODEL_P_H