1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <kcfg xmlns=
"http://www.kde.org/standards/kcfg/1.0"
3 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
4 xsi:
schemaLocation=
"http://www.kde.org/standards/kcfg/1.0
5 http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
6 <kcfgfile name=
"kmessedwordsrc"/>
7 <group name=
"Environment">
8 <entry name=
"GamerName" type=
"String">
9 <label>The name of the current user
</label>
13 pw = getpwuid(getuid());
16 gamerName= pw-
>pw_gecos;
17 int i = gamerName.find(',');
19 gamerName.truncate(i);
23 <default code=
"true">gamerName
</default>
25 <entry name=
"Level" type=
"String">
26 <label>The current level
</label>
27 <default>easy
</default>
32 <entry name=
"Name" type=
"Int">
36 <entry name=
"Background" type=
"Bool">
37 <label>Set a background pic
</label>
38 <default>true
</default>
40 <entry name=
"Sound" type=
"Bool">
42 <default>false
</default>