|     85 QVariant ldraw::ColoredObject::getProperty(Property id) const | 
    87 QVariant ldraw::ColoredObject::getProperty(Property id) const | 
|     86 { | 
    88 { | 
|     87 	switch (id) | 
    89 	switch (id) | 
|     88 	{ | 
    90 	{ | 
|     89 	case Property::Color: | 
    91 	case Property::Color: | 
|     90 		return colorIndex.index; | 
    92 		return QVariant::fromValue<Color>(colorIndex); | 
|     91 	default: | 
    93 	default: | 
|     92 		return Object::getProperty(id); | 
    94 		return Object::getProperty(id); | 
|     93 	} | 
    95 	} | 
|     94 } | 
    96 } | 
|     95  | 
    97  | 
|     96 void ldraw::ColoredObject::setProperty(SetPropertyResult* result, const PropertyKeyValue& pair) | 
    98 void ldraw::ColoredObject::setProperty(SetPropertyResult* result, const PropertyKeyValue& pair) | 
|     97 { | 
    99 { | 
|     98 	LDRAW_OBJECT_HANDLE_SET_PROPERTY(Color, {colorIndex.index = value;}); | 
   100 	LDRAW_OBJECT_HANDLE_SET_PROPERTY(Color, {colorIndex = value;}); | 
|     99 	Object::setProperty(result, pair); | 
   101 	Object::setProperty(result, pair); | 
|    100 } | 
   102 } | 
|    101  | 
   103  | 
|    102 QString ldraw::Empty::textRepresentation() const | 
   104 QString ldraw::Empty::textRepresentation() const | 
|    103 { | 
   105 { |