[Kmymoney-devel] Plugin Config File Install
Allan
agander93 at gmail.com
Fri Dec 30 13:13:15 UTC 2011
I'm progressing with adding profiles to the csv plugin, and have a
startup-type query.
Each profile has its own group within the config file, and because the
config for brokers is, well, complicated, I want to include the two
broker configs that I've done in the plugin config file, which I install
in /user/share/.....
So, after installation, those two sections are available, and I load
into memory from the default config file the parameters for the chosen
profile. When the plugin is closed, the current parameters are saved to
the user's ~/.kde/4 config location, but this new file contains only the
one profile, the one that was first loaded.
So, the question is, how do I get the two profiles into the user's
config file? Is there a way to install into the user's .kde folder
rather than /usr/share/... ? I could, I suppose supply the absolute
path, but is there a KDEDIR version I can use? (I've used the absolute
path now, which is OK, but doesn't allow for distros that use ~/.kde
instead of ~/.kde4.) Or, do I have to resort to copying groups from the
default config into the one that gets saved locally? That doesn't seem
the right approach, but...
Allan
More information about the KMyMoney-devel
mailing list