Config files naming policy

David Faure faure at kde.org
Thu Oct 24 08:51:05 UTC 2013


On Wednesday 23 October 2013 19:37:21 Ivan Čukić wrote:
> I guess I'll rename my config file then. I've been using activitymanagerrc,
> while the binary was actually prefixed with a 'k' and suffixed with a 'd'.

Hmm, if you use KGlobal::config() (in kde4) or KSharedConfig::openConfig() (in 
KF5), the name of the config file would be automatically generated from the 
application name.

(assuming this is about an application like the daemon, not a library)

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list