Development/Architecture/KDE4/KParts: Difference between revisions

From KDE TechBase
(Removed page from translation)
 
(15 intermediate revisions by 10 users not shown)
Line 1: Line 1:
KParts is the name of the component framework for the KDE desktop environment. An individual component is called a KPart. KParts are analogous to Bonobo components in GNOME, both of which are based on the same concepts as Microsoft's Object Linking and Embedding.


===Example usage===
'''KParts''' is the name of the component framework for KDE. An individual component is called a '''KPart'''. As an example, Konsole is available as a KPart and is used in applications like Konqueror and Kate. Good examples about how KParts can be used are Konqueror, which (among other things) uses the KWord part to display documents, KMPlayer part to play multimedia, and Kontact, which embeds kdepim applications under one roof.
Konsole is available as a KPart and is used in applications like Konqueror and Kate. Konqueror is good example of how KParts can be used. Konqueror uses the KWord part to display documents, KMPlayer part to play multimedia and the Kontact part to display contact information.
 
KParts also provide flexibility in your software selection. For example, the KHTML part which is by default used by Konqueror for HTML rendering can very easily be exchanged by a Webkit KPart.


===Further reading===
===Further reading===
* [[Special:myLanguage/Development/Tutorials/Using_KParts|Techbase Tutorial: "Using KParts"]]
* [http://api.kde.org/4.0-api/kdelibs-apidocs/kparts/html/index.html KParts API Reference]
* [http://api.kde.org/4.0-api/kdelibs-apidocs/kparts/html/classKParts_1_1Part.html KParts Class Reference]
* [http://www-106.ibm.com/developerworks/library/l-kparts/ Coding with KParts] (from IBM)
* [http://www-106.ibm.com/developerworks/library/l-kparts/ Coding with KParts] (from IBM)
[[Category:KDE4]]

Latest revision as of 12:33, 9 February 2018

KParts is the name of the component framework for KDE. An individual component is called a KPart. As an example, Konsole is available as a KPart and is used in applications like Konqueror and Kate. Good examples about how KParts can be used are Konqueror, which (among other things) uses the KWord part to display documents, KMPlayer part to play multimedia, and Kontact, which embeds kdepim applications under one roof.

KParts also provide flexibility in your software selection. For example, the KHTML part which is by default used by Konqueror for HTML rendering can very easily be exchanged by a Webkit KPart.

Further reading