<div class="gmail_quote">On Mon, Jul 11, 2011 at 8:22 AM, Silvio Heinrich <span dir="ltr"><></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I personally think that all the calss naming in krita is a big mess and<br>
that is because we are not using namespaces.<br>
I mean, seriously... that is what namespaces are for. To group classes<br>
logically and prevent name clashes.<br></blockquote><div><br>I think it's a great idea! I didn't even think about it! =)<br><br>Well, the strokes do not use any moc-related stuff so they can be done this way.<br>
Like:<br><br>StrokeStrategy::UndoCommandBased<br>StrokeStrategy::PainterBased<br>StrokeStrategy::Freehand<br><br>StrokeJobStrategy::UndoCommandBased<br>
StrokeJobStrategy::PainterBased<br>
StrokeJobStrategy::Freehand<br>
<br><br>Boud, Cyrille, why don't we use namespaces in Krita? Maybe, there is some reason other than moc for it?<br><br> </div></div>-- <br>Dmitry Kazakov<br>