[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KGlobal (was: Re: caption stuff and embeddable components)
From: Stephan Kulow <coolo () kde ! org>
Date: 1999-10-23 10:26:07
[Download RAW message or body]
Simon Hausmann wrote:
>
> On Sat, 23 Oct 1999, Sirtaj Singh Kang wrote:
>
> >
> > On Sat, 23 Oct 1999, Simon Hausmann wrote:
> > > - providing KGlobal *KApplication::global()
> >
> > I'm a bit confused. Right now KGlobal is a namespace only. You want to
> > convert it into a real object with virtuals?
>
> Yes, but you *have* to do this for embeddable components, that's why
> Torben wrote KLibGlobal, which is used as object.
>
> However the fact that there are two 99% similar interface, KGlobal and
> KLibGlobal, and the additional fact that currently attributes like
> app/component name, icon, etc. are only available through KApplication
> (which makes it impossible to provide this for embeddable components
> through shlibs) brought up the idea mentioned in the previous mail.
>
But KGlobal is something else than KApplication - KGlobal keeps
variables
that are meant to be accessed just once while KApplication keeps
variables.
You're right, that we should make this a bit less strict as shlibs will
be
used more and more within KDE - but not like you suggested. I don't like
your solution at all as it makes the code of 90% of the apps uglier.
Greetings, Stephan
--
KDEDIR is dead, long lives KDEDIRS - the winner takes it all
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic