Archive:Development/Architecture/KDE4/KParts (zh CN)

From KDE TechBase
Revision as of 12:36, 23 June 2013 by AnneW (talk | contribs) (AnneW moved page Development/Architecture/KDE4/KParts (zh CN) to Archive:Development/Architecture/KDE4/KParts (zh CN) without leaving a redirect: Obsolete)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

KParts 是 KDE 组件框架的命名。一个独立的组件叫做一个 KPart。举例来说,Konsole 就是一个用在类似于 Konqueror 和 Kate 这样的应用程序中的 KPart。一个说明关于 KParts 能够被如何使用的优秀范例是 Konqueror,它使用 KWord来显示文档, KMPlayer来播放多媒体,另外一个是 Kontact,它在一个起始的根上嵌入了 KDEPIM 的应用程序。

KParts更进一步提供了软件配置灵活性;同一软件你可以有更多选择。例如,KHTML 是 Konqueror 的缺省HTML 渲染器;但他开发者可以很容易用 Webkit KPart 取代它。

深入阅读