m_subject
Boudewijn Rempt
boud at valdyas.org
Wed Nov 19 21:24:32 CET 2003
While working on tools again, I noticed that there's a private
KisCanvasSubject *m_subject;
in both kis_tool_non_paint and in its descendants, with
void KisToolColorPicker::update(KisCanvasSubject *subject)
{
super::update(subject);
m_subject = subject;
}
updating both the parent's member variable and the object's own m_subject. Is
there a reason for that design -- i.e., is this preferable to making
m_subject protected?
--
Boudewijn Rempt | http://www.valdyas.org/index2.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: signature
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20031119/3fea5e9e/attachment.pgp
More information about the kimageshop
mailing list