[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Global variables
From: Peter Putzer <pputzer () edu ! uni-klu ! ac ! at>
Date: 2000-06-01 9:03:16
[Download RAW message or body]
On Wed, 31 May 2000, David Faure wrote:
> On Wed, May 31, 2000 at 11:24:34PM +0200, Bernd Gehrmann wrote:
> > On Wed, 31 May 2000, David Faure wrote:
> >
> > > On Wed, May 31, 2000 at 09:50:23PM +0200, Bernd Gehrmann wrote:
> > > > In there a special reason why toolBarHighlightColor is in KGlobalSettings,
> > > > toolBarFont is in KGlobal, and activeTitleColor is in KApplication?
> > >
> > > Not really :-)
> > > Well fonts are in KGlobal because they are global objects,
> > > but all colors should be in KGlobalSettings, so activeTitleColor should be moved
> > > there IMHO.
> >
> > Hmm, I don't really see the difference between colors and fonts.
> > After all, the font methods in KGlobal are also different from the
> > other methods in KGlobal and similar to those in KGlobalSettings
> > in that they a) return an (implicitly shared) object, not a pointer
> > to an object, b) have a lifetime which depends on KControl settings,
> > not the same lifetime as the instance/application.
>
> I agree. I vote for moving all fonts and colors to KGlobalSettings.
Yes, I think that would be a good idea.
You've got my vote do (yes yes, I know, KDE-is-not-done-by-voting-TM ;)
Peter
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic