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

List:       kde-devel
Subject:    Re: Application data file location?
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2010-03-25 15:51:33
Message-ID: 201003250851.34302.aseigo () kde ! org
[Download RAW message or body]

On March 24, 2010, lindsay.mathieson@gmail.com wrote:
> With a std KDE4 gui app, is there an api or config item that lets it
> know where it can read/write data files to  - not config entries per
> say but what ever binary data etc it may need for its own purposes.

KStandardDirs is usually what you need/want for locating such things. you can 
get to the global KStandardDirs object using KGlobal::dirs(), and the appdata 
resource is probably what you want in this case.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
 
>> 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