src/linetypes/metacommand.cpp

changeset 141
185eb297dc1e
parent 134
f77d2230e87c
child 158
5bd755eaa5a8
equal deleted inserted replaced
140:2f383e88acf4 141:185eb297dc1e
49 QDataStream& ldraw::MetaCommand::deserialize(QDataStream& stream) 49 QDataStream& ldraw::MetaCommand::deserialize(QDataStream& stream)
50 { 50 {
51 return ldraw::Object::deserialize(stream) >> this->storedText; 51 return ldraw::Object::deserialize(stream) >> this->storedText;
52 } 52 }
53 53
54 QString ldraw::MetaCommand::toLDrawCode() const
55 {
56 return "0 " + this->storedText;
57 }
58

mercurial