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

List:       kde-devel
Subject:    Re: where to store config files?
From:       Thiago Macieira <thiago () kde ! org>
Date:       2005-08-30 8:23:19
Message-ID: 200508300523.29913.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


James Horey wrote:
>My application needs to store several files and I'd like to put those
> files in a well known location such as
> ~/.kde/share/apps/my_application. Are there any KDE classes that allows
> me to do this easily or will I just have to do it manually (create the
> folder in the correct location, etc)? Thanks for the help.

KStandardDirs in libkdecore can be used to do that.

Your configure files should be read/written using KConfig. If possible at 
all, use higher-level classes like KConfigXT.
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he géanhwearf tó timbran, and hwonne he cóm, lá! Unix cwæð "Hello, 
World". Ǽfre ǽghwilc wæs glæd and seo woruld wæs fréo.

[Attachment #5 (application/pgp-signature)]

 =

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=
e <<


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

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