[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: find the path for default config
From: Anatoli Gorchetchnikov <anatoli () cns ! bu ! edu>
Date: 2004-09-28 20:16:49
Message-ID: 200409281616.49657.anatoli () cns ! bu ! edu
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
try KStandardDirs::resourceDirs()
IIRC in the returned list the global dirs go first, then local...
BTW, I think ther should be a better way, I just don't know it...
On Monday 27 September 2004 18:21, Manuel Pérez López wrote:
> Hi:
>
> I am looking for the absolute path where kde store the defatult config.
>
> This simple code
> KStandardDirs mksd;
> QString pathConfig = mksd.findResourceDir("config", "xxxxrc");
>
> return me a local directory (into HOME), which include the config file
> xxxxrc. But, I am looking for the directoy for default configuration,
> something like /usr/kde/x.x/share/config/
> How I can find it?
>
> Thanks
> mapelo
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<
--
Regards,
Anatoli
[Attachment #5 (application/pgp-signature)]
>> 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