Revision b0e92bc6
Von Christian Ehringfeld vor fast 9 Jahren hinzugefügt
src/tableschema.h | ||
---|---|---|
#include <QSharedPointer>
|
||
#include <QSqlField>
|
||
#include <QSqlRelation>
|
||
#include <QSqlRelationalTableModel>
|
||
namespace CuteEntityManager {
|
||
|
||
class TableSchema {
|
||
... | ... | |
QHash<QString, QSharedPointer<QSqlRelation> > getRelations() const;
|
||
void setRelations(const QHash<QString, QSharedPointer<QSqlRelation> > &value);
|
||
|
||
QSharedPointer<QSqlRelationalTableModel> getTableModel() const;
|
||
|
||
private:
|
||
QString schemaName;
|
||
QString name;
|
||
... | ... | |
QString sequenceName;
|
||
QHash<QString, QSharedPointer<QSqlRelation>> relations;
|
||
QHash<QString, QSharedPointer<QSqlField>> columns;
|
||
|
||
};
|
||
|
||
}
|
Auch abrufbar als: Unified diff
fks