Revision f5087482
Von Christian Ehringfeld vor fast 9 Jahren hinzugefügt
example/models/artikel.h | ||
---|---|---|
#include <QHash>
|
||
#include <QVariant>
|
||
|
||
class Artikel : public CuteEntityManager::Entity {
|
||
class Artikel : virtual public CuteEntityManager::Entity {
|
||
Q_OBJECT
|
||
Q_PROPERTY(double preis READ getPreis WRITE setPreis)
|
||
Q_PROPERTY(QString name READ getName WRITE setName)
|
Auch abrufbar als: Unified diff
some sql and inheritance stuff,debugging entityinstancefactory