Jump to content

Archive:ISV/Developer Information (zh CN)

From KDE TechBase


工具

  • You can use the Subversion version control system to access the KDE source repository.
  • There is a list of tools available, that can be used for developing KDE applications. These include low-level debuggers, as well as the KDevelop *Integrated Development Environment (IDE), and various design programs.
  • You may also want to read the Compilation FAQ.
  • Several volumes of development documentation will help you getting started with your development.

类库和接口

DCOP和D-Bus

  • DCOP is the message bus built into KDE 3, that is used for inter-process communication (IPC) between different KDE applications. DCOP can be used in order to remotely control KDE applications from your own application or to provide scriptable interfaces for your own application.
  • 创建DCOP接口
    This tutorial shows you how to create a DCOP interface to a KDE application.
  • KDE Automation writeup
    Document by Olaf Zanger showing an overview of the scripting capabilities in KDE 2.x. Includes usage of "dcop", "kdcop", scripting languages, xmlrpc, and a FAQ.
  • Connect KDE applications using DCOP
    IBM DeveloperWorks tutorial, shows how to use kdcop and dcop with several examples such as instantly messaging a contact in kopete when he comes online, and also how to create a simple DCOP-aware application.

D-Bus will be the message bus used in KDE 4.

KIO-Slaves

KDE对网络是透明的。 This means that each application can access files via many network protocols just as if they were stored locally. There exist access modules (KIO-Slaves) for Samba (Windows Shares), HTTP, FTP and many other protocols.

  • 使用IOSlaves
    IOSlaves are the subprocesses KDE uses to fetch remote files without blocking the user interface. This document discusses how they work and how to use them. (也许有点旧,但依旧有点用的).

Portland: xdg-utils和DAPI

KDE actively supports The Portland Project aiming at making cross-desktop application development easier. For more information on this fairly young project, please refer to The Portland Project's website hosted on Freedesktop.org.