[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: The 'new document' crash
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2004-08-23 8:49:47
Message-ID: 200408231049.48570.boud () valdyas ! org
[Download RAW message or body]

On Monday 23 August 2004 09:50, Boudewijn Rempt wrote:

> Note that I'm right now removing the KisView::activeView static: every
> filter already knows its current view, because it is created from that
> view. That's one of the problems with the registry. There's one central
> registry singleton, but the kparts system recreates the filters every view
> anyway. So what you is probably either a registry per view. Anyway, the
> class was misnamed, because it didn't create anything, so it wasn't a
> factory. _______________________________________________

Checked in: I don't think having static object grabbers for any class that's 
not a singleton is a bad idea. (I don't like singletons all that much: 
they're likely to lead to really entangled code.)
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic