Directory Layout

O Manual de Programação do KDevelop: O Guia do Utilizador para Desenvolvimento de Aplicações C++ para o Ambiente de Trabalho K (KDE) com o ambiente de trabalho KDevelop, Versão 2.1
Prev | Capítulo 13. The KDE File System Standard | Next

# 13.2. Directory Layout

The KDE directory structure is as shown below, the top of the KDE installation tree is usually '/opt/kde' and can be found at run time by using the kdedir() method of KApplication (this replaces the KDEDIR environment variable the use of which is now deprecated). This document will refer to this directory as kdedir().

- kdedir()/

  - bin/

    - Application binaries

  - lib/

    - standard kde libraries (libkdecore etc.)

    - &<;appname&>;/

      - Application specific data that is platform dependent

  - include/

    - standard kde header files

  - parts/

  - cgi-bin/

    - CGI programs for kdehelp

  - share/

    - doc/

      - HTML/

        - default --> Link to kdedir()/share/doc/HTML/en

        - &<;lang&>;/

          - &<;appname&>;/

            - index.html

            - other application help files

    - config/

    - applnk/

      - System/

      - Utilities/

      - Applications/

      - Games/

      - kfind.kdelnk

      - khelp.kdelnk

      - khome.kdelnk

      - krefresh.kdelnk

    - mimelnk/

      - magic

      - text/

      - audio/

    - partlnk/

      - &<;partname&>;.kdelnk

    - icons/

      - Icons used in kdelnk files

      - &<;appname&>;.xpm

      - mini/

        - Mini Icons for kpanel

    - toolbar /

      - Standard toolbar pixmaps (eg. fileopen.xpm)

    - wallpapers/

      - Wallpapers used by kdisplay

    - apps/

      - &<;appname&>;/

        - toolbar /

          - Toolbar pixmaps

        - pics/

          - Other application pixmaps

        - application specific data (must be platform independent)

      - &<;libname&>;/

        - pics/

    - locale/

      - &<;lang&>;/

        - LC&_;MESSAGES/

          - &<;appname&>;.mo

Prev | Home | Next
The KDE File System Standard | Up | What does this mean to application developers?