Revision 9d05e414
Von Christian Ehringfeld vor etwa 9 Jahren hinzugefügt
src/entity.cpp | ||
---|---|---|
|
||
using namespace CuteEntityManager;
|
||
|
||
Entity::Entity() : QObject() {
|
||
Entity::Entity(QObject *parent) : QObject(parent) {
|
||
this->id = -1;
|
||
}
|
||
|
||
... | ... | |
this->id = id;
|
||
}
|
||
|
||
QString Entity::toString() {
|
||
return this->getTablename()+ ":" + QString::number(this->id);
|
||
}
|
||
|
||
Entity::~Entity() {
|
||
}
|
||
|
Auch abrufbar als: Unified diff
brainfuck