/usr/share/config.kcfg/kapptemplate.kcfg is in kapptemplate 4:16.08.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | <?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<include>kuser.h</include>
<include>kemailsettings.h</include>
<kcfgfile name="kapptemplaterc"/>
<group name="Project">
<entry name="appName" type="String">
<label>Name of the project</label>
<default>KApp4</default>
</entry>
<entry name="appVersion" type="String">
<label>Project version</label>
<default>0.1</default>
</entry>
<entry name="url" type="String">
<label>Home dir of the user</label>
<code>QString defaultDir = KUser().homeDir()+"/src";
</code>
<default code="true">defaultDir</default>
</entry>
</group>
<group name="User">
<entry name="name" type="String">
<label>Name of the user</label>
<code>QString name;
{
KEMailSettings emailConfig;
emailConfig.setProfile( emailConfig.defaultProfileName() );
name = emailConfig.getSetting( KEMailSettings::RealName );
}
</code>
<default code="true">name</default>
</entry>
<entry name="email" type="String">
<label>Email of the user</label>
<code>QString address;
{
KEMailSettings emailConfig;
emailConfig.setProfile( emailConfig.defaultProfileName() );
address = emailConfig.getSetting( KEMailSettings::EmailAddress );
}
</code>
<default code="true">address</default>
</entry>
</group>
</kcfg>
|