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

List:       kde-bugs-dist
Subject:    [Bug 70630] Better file cleanup or tidying
From:       Jeroen Wijnhout <Jeroen.Wijnhout () kdemail ! net>
Date:       2004-01-19 8:46:55
Message-ID: 20040119084655.18062.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=70630      




------- Additional Comments From Jeroen.Wijnhout@kdemail.net  2004-01-19 09:46 -------
Subject: Re:  Better file cleanup or tidying

On Sunday 18 January 2004 20:23, you wrote:
> When a new user starts he won't have any file extensions in his confi so
> I'll need to create defaults, where should I do this. I have seen 2 places
> where this sort of thing goes on..
>
> Kile::readConfig()
>
> and
>
> Kile::ReadSettings()
>
> What I am going to do is use the "if (!config->hasGroup("XYZ")) and then
> create the defaults (.aux, .toc etc. etc.)

Defaults are set as follows:
config->readEntry("entryname", "defaultvalue");
i.e.
extensions = config->readConfig("extensions", ".log,.aux,.bbl,.......");

best,
Jeroen
[prev in list] [next in list] [prev in thread] [next in thread] 

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