Das KDevelop-Programmierhandbuch: Leitfaden zur C++-Anwendungsentwicklung für das K Desktop Environment (KDE) mit Hilfe der KDevelop-IDE in der Version 1.2
Zurück | Kapitel 14. File System Usage for KDevelop Projects | Vor

# 14.6. The `kdelnk` File

The &<;appname&>;.kdelnk file currently included in your project will install itself in KDE's kpanel structure. You should think it is already created and complete, therefore shouldn't require any further notification. Despite of KDevelop's advanced qualities to help you with creating, programming and designing applications, it cannot determine the exact purpose of your application- and that is the information you have to add to the kdelnk file. As this is a text file, select it from the RFV or the LFV; it will be opened in the Header/Resource window.

The sample kdelnk file would look like this:

     # KDE Config File
     &[;KDE Desktop Entry&];
     Type=Application
     Exec=kscribble
     Icon=kscribble.xpm
     DocPath=kscribble/index.html
     Comment=
     Comment&[;de&];=
     Terminal=0
     Name=kscribble
     Name&[;de&];=kscribble

This already contains the basic configuration for the application specific data such as the icon, binary name, application name etc. You see that the section Comment is still empty. There you have to insert the Quick-Tip that will be displayed when the mouse cursor moves over the kdelnk file icon on the desktop or in kpanel. If scribble would be a small drawing program, you would enter e.g.

     Comment=A simple drawing program

Each comment line afterwards will contain the same description translated in the language the brackets symbolize. Ask translators to insert a good translation in their native language or include the kdelnk file when asking for translating the application's po file; the same applies to the name of the application set in the Name lines. [1]

### Fußnoten

[1] | for more information about the purpose of the .kdelnk file, especially its use for commandline processing, see The KDE Library Reference Guide

Zurück | Anfang | Vor
Organizing Project Data | Hoch | Programming Guidelines