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

List:       kde-devel
Subject:    Multiple user configurations
From:       Branan Riley <branan () gmail ! com>
Date:       2007-02-26 21:59:34
Message-ID: 200702261359.36324.branan () gmail ! com
[Download RAW message or body]

For KSpaceDuel, I'm trying to figure out how to allow the user to save 
multiple sets of configuration data. I just wanted to verify that I 
understand the KStandardDirs API docs.

For saving, I create the files in  
KStandardDirs::saveLocation("appdata","configs/")

For populating the combobox, I just enumerate all the files in the directories 
returned by  KStandardDirs::findDirs("appdata","configs"), And I should have 
all the built-in configurations, as well as all the user configurations.

Is that it, then? Or did I miss a step in finding the files/directories?

Branna
 
>> 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