[Kwintv] QtVision class

George Staikos kwintv@mail.kde.org
Thu, 3 Oct 2002 19:44:05 -0400


On Thursday October 03 2002 19:27, Dawit A. wrote:
> On Wednesday 02 October 2002 17:03, George Staikos wrote:
> > What do you think of making the QtVision class a singleton?  I don't see
> > a) how it could work in multiple instances in any sane way, and b) why we
> > would ever need more than one in an app anyways.  The goal is to not be
> > KUnique so multiple tuners are still usable without multiple QtVision
> > instances.  I think being singleton would simplify lots of code, and make
> > it easier to get at the driver from various places without having to
> > proxy it along or access it via dcop.
>
> I think that is a good idea.  However, you would still need the DCOP
> interface to give people the flexability to remotely (by that I mean
> outside of the application) control it, no ?

  Actually Rich brought up the fact that this will really break the KPart when 
embedded.  This means that we have to fix the rest of the code too (ie remove 
the singletons).  This is messy and I have no intentions of doing before the 
next alpha release.


-- 

George Staikos