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

List:       kde-core-devel
Subject:    Re: kdebase/khelpcenter/kwelcome
From:       pbrown () redhat ! com
Date:       2000-05-02 16:36:41
[Download RAW message or body]

On Tue, 2 May 2000, Stephan Kulow wrote:

> Why? KGlobal access the current instance and either the app is a kapp,
> then it's exactly the one it wants to write to (kapp->config()) or the
> app is not a kapp, then it's kpart and it should access the config
> through it's instance pointer. KGlobal::config() should be used
> (almost only) by kdelibs code for example.

Well then I got it backwards.  But there was a huge mix (seemingly
random) that was born out of the confusion of the birth of KGlobal, and
many apps used KGlobal::config() and kapp->config() intechangeably.  If
kapp->config() is preferred, it should be documented as such, and a global
search/replace on kdebase needs to be made.

-- 
  Preston Brown
  pbrown@redhat.com                                Red Hat, Inc. 

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

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