Strokes framework naming problem

Dmitry Kazakov dimula73 at gmail.com
Mon Jul 11 09:24:52 CEST 2011


On Mon, Jul 11, 2011 at 8:22 AM, Silvio Heinrich <> wrote:

>
> I personally think that all the calss naming in krita is a big mess and
> that is because we are not using namespaces.
> I mean, seriously... that is what namespaces are for. To group classes
> logically and prevent name clashes.
>

I think it's a great idea! I didn't even think about it! =)

Well, the strokes do not use any moc-related stuff so they can be done this
way.
Like:

StrokeStrategy::UndoCommandBased
StrokeStrategy::PainterBased
StrokeStrategy::Freehand

StrokeJobStrategy::UndoCommandBased
StrokeJobStrategy::PainterBased
StrokeJobStrategy::Freehand


Boud, Cyrille, why don't we use namespaces in Krita? Maybe, there is some
reason other than moc for it?


-- 
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20110711/052271e8/attachment.htm 


More information about the kimageshop mailing list