open tasks, jobs, unmaintained stuff, etc.

Zack Rusin zack at kde.org
Sat Mar 6 04:14:32 GMT 2004


On Friday 05 March 2004 22:08, Adriaan de Groot wrote:
> Um ... here's what I've got in a .kcfg file (one entry):
>
>     <entry name="CalendarFile" key="CalFile"  type="String">
>         <label>
>         </label>
>         <default></default>
>     </entry>
>
> The useful description I can come up for this one is "The file
> (usually with .ics extension) that you want to put all of your Palm
> Pilot appointments into." Where's that go? Is there a <description>
> element I've missed here?

Oh, no, I didn't explain it right. 'description'is just what 
kconfigeditor calls it. The tag in kcfg is called <whatsthis> so I'd 
use the following :
<entry name="CalendarFile" key="CalFile"  type="String">
         <whatsthis>
            The file (usually with .ics extension) that you want to put 
            all of your Palm Pilot appointments into.
         </whatsthis>
         <label>
             Calender file
         </label>
         <default code="true">KStandardDirs...</default>
</entry>
Where the default is of your chosing (I'm just assuming here that you'd 
want to use kstandarddirs and code to set it, instead of having a 
hardcoded string in there.

Zack

-- 
A man is accepted into church for what he believes--and turned out for
what he knows. -Mark Twain




More information about the kde-core-devel mailing list