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

List:       kde-devel
Subject:    KGlobal::config()
From:       Klaas Freitag <freitag () suse ! de>
Date:       2002-01-09 12:05:00
[Download RAW message or body]


Hi,

just a short question: Does KGlobal::config() give access to the
_application_ config file or to kdeglobals ?

Just for my clarification: Which files do the following lines read ?

 KSimpleConfig *c = new KSimpleConfig(QString::fromLatin1("kdeglobals"), false);

 KConfig *cfg = KGlobal::config();

 KConfig *cfg = KApp->sessionConfig();

Can somebody point out which is intended for which reason and which is the
recommended way for to read from/write in
 myapplicationrc
and
 kdeglobals

Thanks very much,

Klaas

-- 
 ----------------------------------------------------------------------
 Ja mach nur einen Plan und sei ein grosses Licht         Klaas Freitag
 dann mach noch einen zweiten Plan    *            mail freitag@suse.de
 gehn tun sie beide nicht. - B. Brecht             SuSE Labs, Nuernberg
 ----------------------------------------------------------------------

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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