--- a/src/colors.h Sun Jun 22 21:13:50 2014 +0300 +++ b/src/colors.h Sun Jun 29 15:22:43 2014 +0300 @@ -43,23 +43,15 @@ class LDColor; -class LDColorData +struct LDColorData { -protected: QString _name; QString _hexcode; QColor _faceColor; QColor _edgeColor; qint32 _index; - friend class LDConfigParser; - friend class LDColor; - friend void initColors(); - -public: - LDColorData(){} }; - class LDColor : public QSharedPointer<LDColorData> { SHARED_POINTER_DERIVATIVE (LDColor)