2014-04-05 13:44 GMT+02:00 Vesa <[email protected]>: >> QColor lineColor() const; >> void setlineColor( const QColor & _c ); >> ... >> QColor * m_lineColor; //!< unused yet >> ... >> Q_PROPERTY(QColor lineColor READ lineColor WRITE setlineColor) >> >> So this is the same as for outerColor. Is this what you need? > > Yeah. That works.
No, m_lineColor shouldn't be a pointer but a regular class instance instead. (Besides this: coding style! -> setLineColor( const QColor& c ); The rest looks good, go ahead! :-) ------------------------------------------------------------------------------ _______________________________________________ LMMS-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lmms-devel
