Development/Tutorials: Difference between revisions

From KDE TechBase
No edit summary
(Marked this version for translation)
Line 1: Line 1:
<languages />
<languages />
<translate>
<translate>
<!--T:1-->
{{Template:I18n/Language Navigation Bar|Development/Tutorials}}
{{Template:I18n/Language Navigation Bar|Development/Tutorials}}


<!--T:2-->
Tutorials are the fastest way of finding out what KDE will do for you, and how to do it. Here is a list of currently available tutorials '''for KDE4'''. Material for KDE3 and KDE2 is available on the bottom of this page.
Tutorials are the fastest way of finding out what KDE will do for you, and how to do it. Here is a list of currently available tutorials '''for KDE4'''. Material for KDE3 and KDE2 is available on the bottom of this page.


== Basics of KDE 4 Programming ==
== Basics of KDE 4 Programming == <!--T:3-->


<!--T:4-->
Are you interested in writing applications with KDE 4? This tutorial series is aimed at those completely new to KDE programming.
Are you interested in writing applications with KDE 4? This tutorial series is aimed at those completely new to KDE programming.
</translate>
</translate>
;[[Special:myLanguage/Development/Tutorials/First program|<translate>Hello World</translate>]]
;[[Special:myLanguage/Development/Tutorials/First program|<translate><!--T:5-->
:<translate>An introduction to the very basics of KDE4 programming</translate>
Hello World</translate>]]
;[[Special:myLanguage/Development/Tutorials/Using KXmlGuiWindow|<translate>Creating the Main Window</translate>]]
:<translate><!--T:6-->
:<translate>This tutorial shows you the magic of an application's most important thing: The main window.</translate>
An introduction to the very basics of KDE4 programming</translate>
;[[Special:myLanguage/Development/Tutorials/Using KActions|<translate>Using KActions</translate>]]
;[[Special:myLanguage/Development/Tutorials/Using KXmlGuiWindow|<translate><!--T:7-->
:<translate>How to add actions to the menus and toolbars. Based on the MainWindow tutorial.</translate>
Creating the Main Window</translate>]]
;[[Special:myLanguage/Development/Tutorials/Physical_Simulation|<translate>Physical Simulation]</translate>]
:<translate><!--T:8-->
:<translate>How to perform a physical simulation: animation and diagram</translate>
This tutorial shows you the magic of an application's most important thing: The main window.</translate>
;[[Special:myLanguage/Development/Tutorials/Saving and loading|<translate>Saving and Loading</translate>]]
;[[Special:myLanguage/Development/Tutorials/Using KActions|<translate><!--T:9-->
:<translate>Introduces the KIO library while adding loading and saving support to our application.</translate>
Using KActions</translate>]]
;[[Special:myLanguage/Development/Tutorials/SqLite|<translate>Using SqLite databases and QtSq</translate>l]]
:<translate><!--T:10-->
:<translate>Integrated databases without the need for a database server</translate>
How to add actions to the menus and toolbars. Based on the MainWindow tutorial.</translate>
;[[Special:myLanguage/Development/Tutorials/KCmdLineArgs|<translate>Command line arguments</translate>]]
;[[Special:myLanguage/Development/Tutorials/Physical_Simulation|<translate><!--T:11-->
:<translate>Adds the ability to specify which file to open from the command line to our text editor.</translate>
Physical Simulation]</translate>]
;[[Special:myLanguage/Development/Tutorials/CMake|<translate>Introduction to CMake</translate>]]
:<translate><!--T:12-->
:<translate>How to use the CMake build system used by KDE4.</translate>
How to perform a physical simulation: animation and diagram</translate>
;[[Special:myLanguage/Development/Tutorials/Common Programming Mistakes|<translate>Common Programming Mistakes</translate>]]
;[[Special:myLanguage/Development/Tutorials/Saving and loading|<translate><!--T:13-->
:<translate>Various common mistakes made while developing Qt and KDE applications and how to avoid them.</translate>
Saving and Loading</translate>]]
;[[Special:myLanguage/Development/Tutorials/Debugging Linker Errors|<translate>Debugging Linker Errors</translate>]]
:<translate><!--T:14-->
:<translate>How to understand and debug errors from the linker, at compile time.</translate>
Introduces the KIO library while adding loading and saving support to our application.</translate>
;[[Special:myLanguage/Development/Tutorials/Using Qt Creator|<translate>Using Qt Creator to develop your KDE program</translate>]]
;[[Special:myLanguage/Development/Tutorials/SqLite|<translate><!--T:15-->
:<translate>How to use Qt Creator as an [http://en.wikipedia.org/wiki/Integrated_development_environment IDE] to develop KDE programs</translate>
Using SqLite databases and QtSq</translate>l]]
;[[Special:myLanguage/Development/Tutorials/Creating Libraries|<translate>Creating Libraries to share code</translate>]]
:<translate><!--T:16-->
:<translate>How to add the library to the buildsystem and how to prepare the source code.</translate>
Integrated databases without the need for a database server</translate>
;[[Special:myLanguage/Development/Tutorials/Session_Management|<translate>Session Management</translate>]]
;[[Special:myLanguage/Development/Tutorials/KCmdLineArgs|<translate><!--T:17-->
:<translate>Make your application aware of X sessions</translate>
Command line arguments</translate>]]
;[[Special:myLanguage/Development/Tutorial/Icons|<translate>Icons</translate>]]
:<translate><!--T:18-->
:<translate>Deliver your application with icons that are automatically installed to the right places. Based on the [[Development/Tutorials/Using_KActions|Kaction Tutorial]].</translate>
Adds the ability to specify which file to open from the command line to our text editor.</translate>
;[[Special:myLanguage/Development/Tutorials/Desktop_File|<translate>Desktop File</translate>]]
;[[Special:myLanguage/Development/Tutorials/CMake|<translate><!--T:19-->
:<translate>Let your application show up in the K menu and in application menus. Based on the Icons Tutorial.
Introduction to CMake</translate>]]
:<translate><!--T:20-->
How to use the CMake build system used by KDE4.</translate>
;[[Special:myLanguage/Development/Tutorials/Common Programming Mistakes|<translate><!--T:21-->
Common Programming Mistakes</translate>]]
:<translate><!--T:22-->
Various common mistakes made while developing Qt and KDE applications and how to avoid them.</translate>
;[[Special:myLanguage/Development/Tutorials/Debugging Linker Errors|<translate><!--T:23-->
Debugging Linker Errors</translate>]]
:<translate><!--T:24-->
How to understand and debug errors from the linker, at compile time.</translate>
;[[Special:myLanguage/Development/Tutorials/Using Qt Creator|<translate><!--T:25-->
Using Qt Creator to develop your KDE program</translate>]]
:<translate><!--T:26-->
How to use Qt Creator as an [http://en.wikipedia.org/wiki/Integrated_development_environment IDE] to develop KDE programs</translate>
;[[Special:myLanguage/Development/Tutorials/Creating Libraries|<translate><!--T:27-->
Creating Libraries to share code</translate>]]
:<translate><!--T:28-->
How to add the library to the buildsystem and how to prepare the source code.</translate>
;[[Special:myLanguage/Development/Tutorials/Session_Management|<translate><!--T:29-->
Session Management</translate>]]
:<translate><!--T:30-->
Make your application aware of X sessions</translate>
;[[Special:myLanguage/Development/Tutorial/Icons|<translate><!--T:31-->
Icons</translate>]]
:<translate><!--T:32-->
Deliver your application with icons that are automatically installed to the right places. Based on the [[Development/Tutorials/Using_KActions|Kaction Tutorial]].</translate>
;[[Special:myLanguage/Development/Tutorials/Desktop_File|<translate><!--T:33-->
Desktop File</translate>]]
:<translate><!--T:34-->
Let your application show up in the K menu and in application menus. Based on the Icons Tutorial.


== Testing And Debugging ==
== Testing And Debugging == <!--T:35-->


</translate>
</translate>
;[[Special:myLanguage/Development/Tutorials/Debugging|<translate>Debugging your application</translate>]]
;[[Special:myLanguage/Development/Tutorials/Debugging|<translate><!--T:36-->
:<translate>Tips, tools and techniques to apply when debugging your KDE application</translate>
Debugging your application</translate>]]
;[[Special:myLanguage/Development/Tutorials/Unittests|<translate>Writing Unittests for Qt4 and KDE4 with QTestLib</translate>]] ([http://developer.kde.org/documentation/tutorials/writingunittests/writingunittests.html <translate>Original link</translate>])
:<translate><!--T:37-->
:<translate>Tutorial by [mailto:[email protected] Brad Hards] that describes how to write unit tests using the QTestLib framework. It is presented as an example based tutorial, and is still under development.</translate>
Tips, tools and techniques to apply when debugging your KDE application</translate>
;[[Special:myLanguage/Development/Tutorials/Code_Checking|<translate>Semi-automatic ways to detect code errors</translate>]]
;[[Special:myLanguage/Development/Tutorials/Unittests|<translate><!--T:38-->
<translate>:Techniques you can use to detect errors in KDE code
Writing Unittests for Qt4 and KDE4 with QTestLib</translate>]] ([http://developer.kde.org/documentation/tutorials/writingunittests/writingunittests.html <translate><!--T:39-->
Original link</translate>])
:<translate><!--T:40-->
Tutorial by [mailto:[email protected] Brad Hards] that describes how to write unit tests using the QTestLib framework. It is presented as an example based tutorial, and is still under development.</translate>
;[[Special:myLanguage/Development/Tutorials/Code_Checking|<translate><!--T:41-->
Semi-automatic ways to detect code errors</translate>]]
<translate><!--T:42-->
:Techniques you can use to detect errors in KDE code


== Managing Configuration Data With KConfig ==
== Managing Configuration Data With KConfig == <!--T:43-->


</translate>
</translate>
;[[Special:myLanguage/Development/Tutorials/KConfig|<translate>Introduction To KConfig</translate>]]
;[[Special:myLanguage/Development/Tutorials/KConfig|<translate><!--T:44-->
:<translate>An overview of the KConfig classes and how to use them in your application code</translate>
Introduction To KConfig</translate>]]
;[[Special:myLanguage/Development/Tutorials/Using KConfig XT|<translate>Using KConfig XT</translate>]]
:<translate><!--T:45-->
:<translate>Tutorial on how to efficiently use the KConfig XT framework.</translate>
An overview of the KConfig classes and how to use them in your application code</translate>
;[[Special:myLanguage/Development/Tutorials/Updating KConfig Files|<translate>Updating KConfig Files</translate>]]
;[[Special:myLanguage/Development/Tutorials/Using KConfig XT|<translate><!--T:46-->
:<translate>Tutorial on how to write an update script to keep changes in your application's config file format in sync with the user's already existing config file
Using KConfig XT</translate>]]
:<translate><!--T:47-->
Tutorial on how to efficiently use the KConfig XT framework.</translate>
;[[Special:myLanguage/Development/Tutorials/Updating KConfig Files|<translate><!--T:48-->
Updating KConfig Files</translate>]]
:<translate><!--T:49-->
Tutorial on how to write an update script to keep changes in your application's config file format in sync with the user's already existing config file


== Services: Applications and Plugins ==
== Services: Applications and Plugins == <!--T:50-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/Services/Introduction|<translate>Introduction to the Services Framework]]
;[[Special:myLanguage/Development/Tutorials/Services/Introduction|<translate><!--T:51-->
Introduction to the Services Framework]]
:An overview of the services framework in KDE and what it provides the application developer. Covers the system configuration cache (SyCoCa), the source data files and what the indexed information can be used for.</translate>
:An overview of the services framework in KDE and what it provides the application developer. Covers the system configuration cache (SyCoCa), the source data files and what the indexed information can be used for.</translate>
;[[Special:myLanguage/Development/Tutorials/Services/Traders|<translate>Finding Services Using Trader Queries</translate>]]
;[[Special:myLanguage/Development/Tutorials/Services/Traders|<translate><!--T:52-->
:<translate>How to find services, such as plugins or mimetypes, that are indexed in the SyCoCa using Trader Query Syntax</translate>
Finding Services Using Trader Queries</translate>]]
;[[Special:myLanguage/Development/Tutorials/Services/Plugins|<translate>Creating and Loading Plugins Using KService]]
:<translate><!--T:53-->
How to find services, such as plugins or mimetypes, that are indexed in the SyCoCa using Trader Query Syntax</translate>
;[[Special:myLanguage/Development/Tutorials/Services/Plugins|<translate><!--T:54-->
Creating and Loading Plugins Using KService]]
:Learn how to define custom plugin types, find installed plugins (including 3rd party plugins) and load them in an easy and portable fashion using KService.
:Learn how to define custom plugin types, find installed plugins (including 3rd party plugins) and load them in an easy and portable fashion using KService.


== Localization ==
== Localization == <!--T:55-->


<!--T:56-->
See also [[Special:myLanguage/Localization|Localization portal]].
See also [[Special:myLanguage/Localization|Localization portal]].
</translate>
</translate>
;[[Development/Tutorials/Localization/Unicode|<translate>Introduction To Unicode]]
;[[Development/Tutorials/Localization/Unicode|<translate><!--T:57-->
Introduction To Unicode]]
:An introduction to what Unicode is as well as how to handle Unicode data in KDE applications.</translate>
:An introduction to what Unicode is as well as how to handle Unicode data in KDE applications.</translate>
; [[Special:myLanguage/Development/Tutorials/Localization/i18n|<translate>Writing Applications With Localization In Mind</translate>]]
; [[Special:myLanguage/Development/Tutorials/Localization/i18n|<translate><!--T:58-->
:<translate>This tutorial covers what localization is, why it's important and how to ensure your application is ready to be localized. A must read for all application developers.</translate>
Writing Applications With Localization In Mind</translate>]]
; [[Special:myLanguage/Development/Tutorials/Localization/i18n Mistakes|<translate>Avoiding Common Localization Pitfalls</translate>]]
:<translate><!--T:59-->
:<translate>There are several common mistakes that prevent applications from being properly localized. Find out what they are and how to easily avoid them in this tutorial.</translate>
This tutorial covers what localization is, why it's important and how to ensure your application is ready to be localized. A must read for all application developers.</translate>
; [[Special:myLanguage/Development/Tutorials/Localization/Building KDE's l10n Module|<translate>Building KDE's Localization Module</translate>]]
; [[Special:myLanguage/Development/Tutorials/Localization/i18n Mistakes|<translate><!--T:60-->
:<translate>Building and installing language support from KDE's localization (l10n) module is a good idea for those working on applications in the main KDE repository. Doing so will allow you to test your application in another language and spot problem areas. Learn how to do just that in this tutorial.</translate>
Avoiding Common Localization Pitfalls</translate>]]
; [[Special:myLanguage/Development/Tutorials/Localization/i18n Build Systems|<translate>Incorporating i18n Into the Build System</translate>]]
:<translate><!--T:61-->
:<translate>Once your application is ready to be localized, the next step is to ensure that translation files are built automatically and kept up to date. This tutorial covers the necessary CMakeFiles.txt additions as well the process of distributing the resulting message catalogs with your application.</translate>
There are several common mistakes that prevent applications from being properly localized. Find out what they are and how to easily avoid them in this tutorial.</translate>
; [[Special:myLanguage/Development/Tutorials/Localization/i18n Challenges|<translate>Common i18n Challenges and Solutions</translate>]]
; [[Special:myLanguage/Development/Tutorials/Localization/Building KDE's l10n Module|<translate><!--T:62-->
:<translate>This tutorial covers challenges that you may eventually run into such as translating handbooks and other data that exists outside of the source code, merging and handling obsolete .po files, dealing with freezes, coding in languages other than English and creating independent releases of or moving applications between KDE modules.</translate>
Building KDE's Localization Module</translate>]]
; [[Special:myLanguage/Development/Tutorials/Localization/i18n_Semantics|<translate>Semantic Markup of Messages</translate>]]
:<translate><!--T:63-->
:<translate>To ensure consistent presentation and more meaningful representations of messages in applications, semantic markup can be applied to messages marked for translation using the KUIT system. This tutorial describes how this system works.</translate>
Building and installing language support from KDE's localization (l10n) module is a good idea for those working on applications in the main KDE repository. Doing so will allow you to test your application in another language and spot problem areas. Learn how to do just that in this tutorial.</translate>
; [[Special:myLanguage/Development/Tutorials/Localization/i18n Krazy|<translate>Automated i18n Code Checking</translate>]]
; [[Special:myLanguage/Development/Tutorials/Localization/i18n Build Systems|<translate><!--T:64-->
:<translate>The Krazy code checker scans KDE's code and reports common i18n mistakes.
Incorporating i18n Into the Build System</translate>]]
:<translate><!--T:65-->
Once your application is ready to be localized, the next step is to ensure that translation files are built automatically and kept up to date. This tutorial covers the necessary CMakeFiles.txt additions as well the process of distributing the resulting message catalogs with your application.</translate>
; [[Special:myLanguage/Development/Tutorials/Localization/i18n Challenges|<translate><!--T:66-->
Common i18n Challenges and Solutions</translate>]]
:<translate><!--T:67-->
This tutorial covers challenges that you may eventually run into such as translating handbooks and other data that exists outside of the source code, merging and handling obsolete .po files, dealing with freezes, coding in languages other than English and creating independent releases of or moving applications between KDE modules.</translate>
; [[Special:myLanguage/Development/Tutorials/Localization/i18n_Semantics|<translate><!--T:68-->
Semantic Markup of Messages</translate>]]
:<translate><!--T:69-->
To ensure consistent presentation and more meaningful representations of messages in applications, semantic markup can be applied to messages marked for translation using the KUIT system. This tutorial describes how this system works.</translate>
; [[Special:myLanguage/Development/Tutorials/Localization/i18n Krazy|<translate><!--T:70-->
Automated i18n Code Checking</translate>]]
:<translate><!--T:71-->
The Krazy code checker scans KDE's code and reports common i18n mistakes.


== Documentation ==
== Documentation == <!--T:72-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/API_Documentation|<translate>API Documentation</translate>]]
;[[Special:myLanguage/Development/Tutorials/API_Documentation|<translate><!--T:73-->
:<translate>This tutorial explains how to document your APIs properly.</translate>
API Documentation</translate>]]
;[[Special:myLanguage/Development/Tutorials/Man_Pages|<translate>Man Pages</translate>]]
:<translate><!--T:74-->
:<translate>Writing and Generating Reference Manual Pages.
This tutorial explains how to document your APIs properly.</translate>
;[[Special:myLanguage/Development/Tutorials/Man_Pages|<translate><!--T:75-->
Man Pages</translate>]]
:<translate><!--T:76-->
Writing and Generating Reference Manual Pages.
;Source Code</translate>
;Source Code</translate>
: http://quickgit.kde.org
: http://quickgit.kde.org
Line 104: Line 174:
== Accessibility ==
== Accessibility ==


;[[Special:myLanguage/Development/Tutorials/Accessibility|<translate>Accessibility Overview</translate>]]
;[[Special:myLanguage/Development/Tutorials/Accessibility|<translate><!--T:77-->
:<translate>A list of accessibility tutorials and general information.</translate>
Accessibility Overview</translate>]]
;[[Special:myLanguage/Development/Tutorials/Accessibility/Checklist|<translate>Accessibility Checklist</translate>]]
:<translate><!--T:78-->
:<translate>What to look for in your application to make it accessible for as many people as possible.</translate>
A list of accessibility tutorials and general information.</translate>
;[[Special:myLanguage/Development/Tutorials/Accessibility/Screen_Reader_Setup|<translate>Screen Reader</translate>]]
;[[Special:myLanguage/Development/Tutorials/Accessibility/Checklist|<translate><!--T:79-->
:<translate>This tutorial will explain some details about using screen readers with KDE applications.</translate>
Accessibility Checklist</translate>]]
;[[Special:myLanguage/Development/Tutorials/Text-To-Speech|<translate>Text-To-Speech</translate>]]
:<translate><!--T:80-->
:<translate>How to utilize Jovie text-to-speech service in your application.
What to look for in your application to make it accessible for as many people as possible.</translate>
;[[Special:myLanguage/Development/Tutorials/Accessibility/Screen_Reader_Setup|<translate><!--T:81-->
Screen Reader</translate>]]
:<translate><!--T:82-->
This tutorial will explain some details about using screen readers with KDE applications.</translate>
;[[Special:myLanguage/Development/Tutorials/Text-To-Speech|<translate><!--T:83-->
Text-To-Speech</translate>]]
:<translate><!--T:84-->
How to utilize Jovie text-to-speech service in your application.


== Application Automation and Scripting ==
== Application Automation and Scripting == <!--T:85-->


=== D-Bus ===
=== D-Bus === <!--T:86-->
</translate>
</translate>
; [[Special:myLanguage/Development/Tutorials/D-Bus/Introduction|<translate>Introduction to D-Bus</translate>]]
; [[Special:myLanguage/Development/Tutorials/D-Bus/Introduction|<translate><!--T:87-->
:<translate>A straight-forward introduction to the core concepts in D-Bus from an application developer's perspective, this tutorial covers what D-Bus is and how it can be used by applications.</translate>
Introduction to D-Bus</translate>]]
; [[Special:myLanguage/Development/Tutorials/D-Bus/Accessing Interfaces|<translate>Accessing D-Bus Interfaces</translate>]]
:<translate><!--T:88-->
:<translate>A step-by-step guide to calling D-Bus methods and connecting to D-Bus signals using QtDBus.</translate>
A straight-forward introduction to the core concepts in D-Bus from an application developer's perspective, this tutorial covers what D-Bus is and how it can be used by applications.</translate>
; [[Special:myLanguage/Development/Tutorials/D-Bus/Intermediate_D-Bus|<translate>Intermediate D-Bus</translate>]]
; [[Special:myLanguage/Development/Tutorials/D-Bus/Accessing Interfaces|<translate><!--T:89-->
:<translate>Tips to make use of QtDBus when faced with problematic real-world interfaces.</translate>
Accessing D-Bus Interfaces</translate>]]
; [[Special:myLanguage/Development/Tutorials/D-Bus/Creating Interfaces|<translate>Creating D-Bus Interfaces</translate>]]
:<translate><!--T:90-->
:<translate>Learn how to expose functionality in your application by creating and using custom D-Bus interfaces. Covers generating the XML descriptions, instantiating interfaces at run time and setting up the build system with CMake.</translate>
A step-by-step guide to calling D-Bus methods and connecting to D-Bus signals using QtDBus.</translate>
; [[Special:myLanguage/Development/Tutorials/D-Bus/CustomTypes|<translate>Using Custom Types with D-Bus</translate>]]
; [[Special:myLanguage/Development/Tutorials/D-Bus/Intermediate_D-Bus|<translate><!--T:91-->
:<translate> Learn how to use your own types in classes exported on D-Bus. Covers marhaling and unmarshaling of objects, the integration of custom types into XML descriptions and registering the custom types with the Qt Meta Object system.</translate>
Intermediate D-Bus</translate>]]
; [[Special:myLanguage/Development/Tutorials/D-Bus/Autostart Services|<translate>D-Bus Autostart Services</translate>]]
:<translate><!--T:92-->
:<translate>Turn your application into a D-Bus autostart service with this tutorial. This D-Bus feature, also known as "D-Bus service activation", will ensure that even when your application isn't running that D-Bus calls made to it will work by relying on the D-Bus daemon itself to start your app if and when needed.</translate>
Tips to make use of QtDBus when faced with problematic real-world interfaces.</translate>
; [[Special:myLanguage/Development/Tutorials/Porting_to_D-Bus|<translate>Porting from DCOP to D-Bus</translate>]]
; [[Special:myLanguage/Development/Tutorials/D-Bus/Creating Interfaces|<translate><!--T:93-->
:<translate> Port your applications from DCOP to D-Bus with this handy guide.
Creating D-Bus Interfaces</translate>]]
:<translate><!--T:94-->
Learn how to expose functionality in your application by creating and using custom D-Bus interfaces. Covers generating the XML descriptions, instantiating interfaces at run time and setting up the build system with CMake.</translate>
; [[Special:myLanguage/Development/Tutorials/D-Bus/CustomTypes|<translate><!--T:95-->
Using Custom Types with D-Bus</translate>]]
:<translate> <!--T:96-->
Learn how to use your own types in classes exported on D-Bus. Covers marhaling and unmarshaling of objects, the integration of custom types into XML descriptions and registering the custom types with the Qt Meta Object system.</translate>
; [[Special:myLanguage/Development/Tutorials/D-Bus/Autostart Services|<translate><!--T:97-->
D-Bus Autostart Services</translate>]]
:<translate><!--T:98-->
Turn your application into a D-Bus autostart service with this tutorial. This D-Bus feature, also known as "D-Bus service activation", will ensure that even when your application isn't running that D-Bus calls made to it will work by relying on the D-Bus daemon itself to start your app if and when needed.</translate>
; [[Special:myLanguage/Development/Tutorials/Porting_to_D-Bus|<translate><!--T:99-->
Porting from DCOP to D-Bus</translate>]]
:<translate> <!--T:100-->
Port your applications from DCOP to D-Bus with this handy guide.


=== Konqueror ===
=== Konqueror === <!--T:101-->
</translate>
</translate>
; [[Special:myLanguage/Development/Tutorials/Creating Konqueror Service Menus|<translate>Creating Konqueror Service Menus</translate>]]
; [[Special:myLanguage/Development/Tutorials/Creating Konqueror Service Menus|<translate><!--T:102-->
:<translate>This tutorial shows you how to create mimetype-specific actions in Konqueror's context menu (aka "servicemenus").</translate>
Creating Konqueror Service Menus</translate>]]
:<translate><!--T:103-->
This tutorial shows you how to create mimetype-specific actions in Konqueror's context menu (aka "servicemenus").</translate>


=== Kross ===
=== Kross ===


; [[Special:myLanguage/Development/Tutorials/Kross/Introduction|<translate>Introduction to Kross</translate>]]
; [[Special:myLanguage/Development/Tutorials/Kross/Introduction|<translate><!--T:104-->
:<translate>An introduction to the Kross Scripting Framework.</translate>
Introduction to Kross</translate>]]
; [[Special:myLanguage/Development/Tutorials/Kross/Hello_World|<translate>Hello World</translate>]]
:<translate><!--T:105-->
:<translate>A first application with working kross code.</translate>
An introduction to the Kross Scripting Framework.</translate>
; [[Special:myLanguage/Development/Tutorials/Kross/Call_Functions_in_Kross|<translate>Calling Functions in Kross</translate>]]
; [[Special:myLanguage/Development/Tutorials/Kross/Hello_World|<translate><!--T:106-->
:<translate>Simple demonstration of calling scripting functions</translate>
Hello World</translate>]]
; [[Special:myLanguage/Development/Tutorials/Kross/Connecting_Signals_and_slots_in_Kross|<translate>Connecting Signals and Slots in Kross</translate>]]
:<translate><!--T:107-->
:<translate>Simple demonstration of connecting object signals with script slots</translate>
A first application with working kross code.</translate>
; [[Special:myLanguage/Development/Tutorials/Kross/Scripts-as-Plugins|<translate>Scripts as Plugins with Kross</translate>]]
; [[Special:myLanguage/Development/Tutorials/Kross/Call_Functions_in_Kross|<translate><!--T:108-->
:<translate>This tutorial provides a step-by-step introduction how to integrate scripts as plugins into a KDE application.</translate>
Calling Functions in Kross</translate>]]
; [[Special:myLanguage/Development/Tutorials/Kross/Script-Actions|<translate>Placing script actions in your application menus </translate>]]
:<translate><!--T:109-->
:<translate>Simple demonstration on how to extend you application menus to execute script files.</translate>
Simple demonstration of calling scripting functions</translate>
; [[Special:myLanguage/Development/Tutorials/Kross/ActionCollections|<translate>How to use an ActionCollection ]</translate>]
; [[Special:myLanguage/Development/Tutorials/Kross/Connecting_Signals_and_slots_in_Kross|<translate><!--T:110-->
:<translate>A small Tutorial on How to use Kross::ActionCollections.
Connecting Signals and Slots in Kross</translate>]]
:<translate><!--T:111-->
Simple demonstration of connecting object signals with script slots</translate>
; [[Special:myLanguage/Development/Tutorials/Kross/Scripts-as-Plugins|<translate><!--T:112-->
Scripts as Plugins with Kross</translate>]]
:<translate><!--T:113-->
This tutorial provides a step-by-step introduction how to integrate scripts as plugins into a KDE application.</translate>
; [[Special:myLanguage/Development/Tutorials/Kross/Script-Actions|<translate><!--T:114-->
Placing script actions in your application menus </translate>]]
:<translate><!--T:115-->
Simple demonstration on how to extend you application menus to execute script files.</translate>
; [[Special:myLanguage/Development/Tutorials/Kross/ActionCollections|<translate><!--T:116-->
How to use an ActionCollection ]</translate>]
:<translate><!--T:117-->
A small Tutorial on How to use Kross::ActionCollections.
{{:KOffice/Plugin Tutorials}}
{{:KOffice/Plugin Tutorials}}


=== SuperKaramba ===
=== SuperKaramba === <!--T:118-->
</translate>
</translate>


; [[Special:myLanguage/Development/Tutorials/SuperKaramba|<translate>SuperKaramba Tutorial</translate>]]
; [[Special:myLanguage/Development/Tutorials/SuperKaramba|<translate><!--T:119-->
:<translate>This tutorial provides an overview of SuperKaramba, theme files and scripting with Python, Ruby and JavaScript.
SuperKaramba Tutorial</translate>]]
:<translate><!--T:120-->
This tutorial provides an overview of SuperKaramba, theme files and scripting with Python, Ruby and JavaScript.


=== System Activity ===
=== System Activity === <!--T:121-->
</translate>
</translate>


: [[Special:myLanguage/Development/Tutorials/SystemActivity/Scripting|<translate>Writing script actions for the process's context menu</translate>]]
: [[Special:myLanguage/Development/Tutorials/SystemActivity/Scripting|<translate><!--T:122-->
:<translate>This tutorial shows how to add a context menu action to show custom information about a process.
Writing script actions for the process's context menu</translate>]]
:<translate><!--T:123-->
This tutorial shows how to add a context menu action to show custom information about a process.


=== KWin ===
=== KWin === <!--T:124-->
</translate>
</translate>


: [[Special:myLanguage/Development/Tutorials/KWin/Scripting<translate>|KWin Scripting Tutorial</translate>]]
: [[Special:myLanguage/Development/Tutorials/KWin/Scripting<translate><!--T:125-->
:<translate>This tutorial shows how to write a useful script for KWin.
|KWin Scripting Tutorial</translate>]]
:<translate><!--T:126-->
This tutorial shows how to write a useful script for KWin.


== Plugins and KParts ==
== Plugins and KParts == <!--T:127-->
</translate>
</translate>


; [[Special:myLanguage/Development/Tutorials/Using KParts|<translate>Using KParts</translate>]]
; [[Special:myLanguage/Development/Tutorials/Using KParts|<translate><!--T:128-->
:<translate>A kPart is a plugin that you can just load into your application. For example, it is easy to integrate an editor (the katePart) or a console (the konsolePart) into your application's window.</translate>
Using KParts</translate>]]
; [[Special:myLanguage/Development/Tutorials/Writing kontact plugins|<translate>Writing kontact plugins</translate>]]
:<translate><!--T:129-->
:<translate>Kontact plugins are KParts. This tutorial describes how you can write one.</translate>
A kPart is a plugin that you can just load into your application. For example, it is easy to integrate an editor (the katePart) or a console (the konsolePart) into your application's window.</translate>
; [[Special:myLanguage/Development/Tutorials/Writing Qt Designer Plugins|<translate>Writing Qt Designer Plugins</translate>]]
; [[Special:myLanguage/Development/Tutorials/Writing kontact plugins|<translate><!--T:130-->
<translate>:Add your widgets to Qt Designer and thus make them usable in UI files.
Writing kontact plugins</translate>]]
:<translate><!--T:131-->
Kontact plugins are KParts. This tutorial describes how you can write one.</translate>
; [[Special:myLanguage/Development/Tutorials/Writing Qt Designer Plugins|<translate><!--T:132-->
Writing Qt Designer Plugins</translate>]]
<translate><!--T:133-->
:Add your widgets to Qt Designer and thus make them usable in UI files.


== Search and Metadata ==
== Search and Metadata == <!--T:134-->


=== Strigi ===
=== Strigi === <!--T:135-->
</translate>
</translate>


; [[Special:myLanguage/Development/Tutorials/Writing file analyzers|<translate>Writing file analyzers</translate>]]
; [[Special:myLanguage/Development/Tutorials/Writing file analyzers|<translate><!--T:136-->
Writing file analyzers</translate>]]
:<translate>File analyzers extract data from files to display in the file dialogs and file managers. The data gathered this way is also used to search for files. KDE4 allows the use of multiple analyzers per file type. This tutorial describes how you can write new analyzers.
:<translate>File analyzers extract data from files to display in the file dialogs and file managers. The data gathered this way is also used to search for files. KDE4 allows the use of multiple analyzers per file type. This tutorial describes how you can write new analyzers.
=== [http://nepomuk.kde.org Nepomuk] ===
=== [http://nepomuk.kde.org Nepomuk] === <!--T:137-->


<!--T:138-->
See [[Special:myLanguage/Development/Tutorials/Metadata/Nepomuk|Nepomuk tutorials]].
See [[Special:myLanguage/Development/Tutorials/Metadata/Nepomuk|Nepomuk tutorials]].




== Hardware Awareness (Solid) ==
== Hardware Awareness (Solid) == <!--T:139-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/Solid/Introduction|<translate>Introduction to Solid</translate>]]
;[[Special:myLanguage/Development/Tutorials/Solid/Introduction|<translate><!--T:140-->
:<translate>An introduction to the Solid effort in general and it library in particular.</translate>
Introduction to Solid</translate>]]
;[[Special:myLanguage/Development/Tutorials/Solid/Device_Discovery|<translate>Listing Devices</translate>]]
:<translate><!--T:141-->
:<translate>How to use the Solid core library to discover the hardware and interact with the system.</translate>
An introduction to the Solid effort in general and it library in particular.</translate>
;[[Special:myLanguage/Development/Tutorials/Solid/Network_Management|<translate>Accessing Network Information</translate>]]
;[[Special:myLanguage/Development/Tutorials/Solid/Device_Discovery|<translate><!--T:142-->
:<translate>How to use the Solid system to get information about the network</translate>
Listing Devices</translate>]]
;[[Special:myLanguage/Development/Tutorials/Solid/Device_Actions|<translate>Creating a Device Action</translate>]]
:<translate><!--T:143-->
:<translate>When your application is interested in registering actions with the system for removable hardware
How to use the Solid core library to discover the hardware and interact with the system.</translate>
;[[Special:myLanguage/Development/Tutorials/Solid/Network_Management|<translate><!--T:144-->
Accessing Network Information</translate>]]
:<translate><!--T:145-->
How to use the Solid system to get information about the network</translate>
;[[Special:myLanguage/Development/Tutorials/Solid/Device_Actions|<translate><!--T:146-->
Creating a Device Action</translate>]]
:<translate><!--T:147-->
When your application is interested in registering actions with the system for removable hardware


== Authorization and Privilege escalation (KAuth) ==
== Authorization and Privilege escalation (KAuth) == <!--T:148-->
</translate>
</translate>


; [[Special:myLanguage/Development/Tutorials/KAuth/KAuth_Basics|<translate>KAuth Basics</translate>]]
; [[Special:myLanguage/Development/Tutorials/KAuth/KAuth_Basics|<translate><!--T:149-->
:<translate>An overview of concepts and basic knowledge required to understand and use KAuth effectively</translate>
KAuth Basics</translate>]]
; [[Special:myLanguage/Development/Tutorials/KAuth/KAuth_Actions|<translate>Using KAuth actions in your application</translate>]]
:<translate><!--T:150-->
:<translate>How to execute KAuth actions in your application, and how to integrate them tightly into your UI</translate>
An overview of concepts and basic knowledge required to understand and use KAuth effectively</translate>
; [[Special:myLanguage/Development/Tutorials/KAuth/Helper_HowTo|<translate>Creating a KAuth helper to perform a privileged action</translate>]]
; [[Special:myLanguage/Development/Tutorials/KAuth/KAuth_Actions|<translate><!--T:151-->
:<translate>You will learn how to use KAuth's helpers and escalation facilities, and how to seamlessly make a privileged and non privileged portion of your application interact</translate>
Using KAuth actions in your application</translate>]]
; [[Special:myLanguage/Development/Tutorials/KAuth/KCM_HowTo|<translate>Creating a KCM requiring authorization upon saving</translate>]]
:<translate><!--T:152-->
:<translate>Learn how to use the high level KCModule API to create KCModules handling authorization, and its UI integration, on their own
How to execute KAuth actions in your application, and how to integrate them tightly into your UI</translate>
; [[Special:myLanguage/Development/Tutorials/KAuth/Helper_HowTo|<translate><!--T:153-->
Creating a KAuth helper to perform a privileged action</translate>]]
:<translate><!--T:154-->
You will learn how to use KAuth's helpers and escalation facilities, and how to seamlessly make a privileged and non privileged portion of your application interact</translate>
; [[Special:myLanguage/Development/Tutorials/KAuth/KCM_HowTo|<translate><!--T:155-->
Creating a KCM requiring authorization upon saving</translate>]]
:<translate><!--T:156-->
Learn how to use the high level KCModule API to create KCModules handling authorization, and its UI integration, on their own


== Multimedia (Phonon) ==
== Multimedia (Phonon) == <!--T:157-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/Phonon/Introduction|<translate>Phonon</translate>]]
;[[Special:myLanguage/Development/Tutorials/Phonon/Introduction|<translate><!--T:158-->
:<translate>The ;[[Special:myLanguage/Development/Tutorials/Phonon/Introduction|Introduction to Phonon]] tells how to compile and run the code.  If you like to work in Python, try [[Development/Tutorials/Phonon/Introduction/Python|this version]] of the same tutorial</translate>
Phonon</translate>]]
;[[Special:myLanguage/Development/Tutorials/Phonon/Backends|<translate>Writing Backends</translate>]]
:<translate><!--T:159-->
:<translate>How to start creating a new backend for the multimedia API</translate>
The ;[[Special:myLanguage/Development/Tutorials/Phonon/Introduction|Introduction to Phonon]] tells how to compile and run the code.  If you like to work in Python, try [[Development/Tutorials/Phonon/Introduction/Python|this version]] of the same tutorial</translate>
<translate>;Resources</translate>
;[[Special:myLanguage/Development/Tutorials/Phonon/Backends|<translate><!--T:160-->
<translate>:Please have a look at the [http://api.kde.org/kdesupport-api/kdesupport-apidocs/phonon-git/html/ online documentation] for information on the Phonon API. If you prefer using Qt Assistant or Qt Creator you can also use our [http://mts.ms/phonon-4.4.2.qch offline documentation].
Writing Backends</translate>]]
:<translate><!--T:161-->
How to start creating a new backend for the multimedia API</translate>
<translate><!--T:162-->
;Resources</translate>
<translate><!--T:163-->
:Please have a look at the [http://api.kde.org/kdesupport-api/kdesupport-apidocs/phonon-git/html/ online documentation] for information on the Phonon API. If you prefer using Qt Assistant or Qt Creator you can also use our [http://mts.ms/phonon-4.4.2.qch offline documentation].


== Plasma ==
== Plasma == <!--T:164-->
</translate>
</translate>


See [[Special:myLanguage/Development/Tutorials/Plasma|<translate>Plasma tutorials</translate>]].
See [[Special:myLanguage/Development/Tutorials/Plasma|<translate><!--T:165-->
Plasma tutorials</translate>]].


<translate>
<translate>
== Personal Information Management (Akonadi) ==
== Personal Information Management (Akonadi) == <!--T:166-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/Akonadi/Application|<translate>Using Akonadi in Applications</translate>]]
;[[Special:myLanguage/Development/Tutorials/Akonadi/Application|<translate><!--T:167-->
:<translate>Displaying and modifying data provided by Akonadi</translate>
Using Akonadi in Applications</translate>]]
;[[Special:myLanguage/Development/Tutorials/Akonadi/Resources|<translate>Developing Akonadi Resources</translate>]]
:<translate><!--T:168-->
:<translate>Akonadi Resources are agent programs which transport PIM data between Akonadi and a backend (files, servers, etc)</translate>
Displaying and modifying data provided by Akonadi</translate>
;[[Special:myLanguage/Development/Tutorials/Akonadi/SerializerPlugin|<translate>Using custom data types with Akonadi</translate>]]
;[[Special:myLanguage/Development/Tutorials/Akonadi/Resources|<translate><!--T:169-->
:<translate>Akonadi can handle arbitrary data as item payloads through the use of a plugin based serialization framework</translate>
Developing Akonadi Resources</translate>]]
;[[Special:myLanguage/Development/AkonadiPorting|<translate>Porting Applications which use KResource API</translate>]]
:<translate><!--T:170-->
:<translate>Applications using KDE's now deprecated KResource APIs, e.g. KABC or KCal, need to be ported to use their Akonadi equivalents
Akonadi Resources are agent programs which transport PIM data between Akonadi and a backend (files, servers, etc)</translate>
;[[Special:myLanguage/Development/Tutorials/Akonadi/SerializerPlugin|<translate><!--T:171-->
Using custom data types with Akonadi</translate>]]
:<translate><!--T:172-->
Akonadi can handle arbitrary data as item payloads through the use of a plugin based serialization framework</translate>
;[[Special:myLanguage/Development/AkonadiPorting|<translate><!--T:173-->
Porting Applications which use KResource API</translate>]]
:<translate><!--T:174-->
Applications using KDE's now deprecated KResource APIs, e.g. KABC or KCal, need to be ported to use their Akonadi equivalents


== Kate / Kwrite ==
== Kate / Kwrite == <!--T:175-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/Kate/KTextEditor Plugins|<translate>Getting started with KTextEditor plugins</translate>]]
;[[Special:myLanguage/Development/Tutorials/Kate/KTextEditor Plugins|<translate><!--T:176-->
:<translate>Creating your first KTextEditor plugin</translate>
Getting started with KTextEditor plugins</translate>]]
;[[Special:myLanguage/Development/Tutorials/Kate/KTextEditor_Plugins_Advanced|<translate>Developing a plugin with configuration dialog</translate>]]
:<translate><!--T:177-->
:<translate>Adding a configuration dialog to the Time & Date example</translate>
Creating your first KTextEditor plugin</translate>
;[[Special:myLanguage/Development/Tutorials/Kate/KTextEditor_Example|<translate>A small Editor</translate>]]
;[[Special:myLanguage/Development/Tutorials/Kate/KTextEditor_Plugins_Advanced|<translate><!--T:178-->
:<translate>Create a small application using KTextEditor
Developing a plugin with configuration dialog</translate>]]
:<translate><!--T:179-->
Adding a configuration dialog to the Time & Date example</translate>
;[[Special:myLanguage/Development/Tutorials/Kate/KTextEditor_Example|<translate><!--T:180-->
A small Editor</translate>]]
:<translate><!--T:181-->
Create a small application using KTextEditor


== KDevelop ==
== KDevelop == <!--T:182-->
</translate>
</translate>


;[[Special:myLanguage/Development/KDevelop-PG-Qt_Introduction|<translate>KDevelop-PG-Qt Introduction</translate>]]
;[[Special:myLanguage/Development/KDevelop-PG-Qt_Introduction|<translate><!--T:183-->
:<translate>Information on the KDevelop parser generator, useful for language plugins.
KDevelop-PG-Qt Introduction</translate>]]
:<translate><!--T:184-->
Information on the KDevelop parser generator, useful for language plugins.


==Printing==
==Printing== <!--T:185-->


<!--T:186-->
KDE mostly uses the [http://doc.qt.nokia.com/latest/printing.html Qt Printing infrastructure].
KDE mostly uses the [http://doc.qt.nokia.com/latest/printing.html Qt Printing infrastructure].
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/Printing Hello World|<translate>Hello World</translate>]]
;[[Special:myLanguage/Development/Tutorials/Printing Hello World|<translate><!--T:187-->
:<translate>Introduction to the KDE printing system
Hello World</translate>]]
:<translate><!--T:188-->
Introduction to the KDE printing system


== kioslaves ==
== kioslaves == <!--T:189-->
</translate>
</translate>


* [[Special:myLanguage/Development/Tutorials/KIO Slaves/Using KIO Slaves in your Program|<translate>Using kioslaves in your Program</translate>]]
* [[Special:myLanguage/Development/Tutorials/KIO Slaves/Using KIO Slaves in your Program|<translate><!--T:190-->
* [[Special:myLanguage/Development/Tutorials/KIO Slaves/Hello World|<translate>Creating a Hello-World kioslave</translate>]]
Using kioslaves in your Program</translate>]]
* [[Special:myLanguage/Development/Tutorials/KIO Slaves/Hello World|<translate><!--T:191-->
Creating a Hello-World kioslave</translate>]]
<translate>
<translate>
== Collaboration ==
== Collaboration == <!--T:192-->


=== Open Collaboration Services (libattica) ===
=== Open Collaboration Services (libattica) === <!--T:193-->
</translate>
</translate>
;[[Special:myLanguage/Development/Tutorials/Collaboration/Attica/Introduction|<translate>Introduction to Attica</translate>]]
;[[Special:myLanguage/Development/Tutorials/Collaboration/Attica/Introduction|<translate><!--T:194-->
:<translate>In this tutorial a simple widget showing information about a Person on the server is created.
Introduction to Attica</translate>]]
:<translate><!--T:195-->
In this tutorial a simple widget showing information about a Person on the server is created.


=== Get Hot New Stuff  ===
=== Get Hot New Stuff  === <!--T:196-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/Collaboration/HotNewStuff/Introduction|<translate>Get Hot New Stuff 3 - Download</translate>]]  
;[[Special:myLanguage/Development/Tutorials/Collaboration/HotNewStuff/Introduction|<translate><!--T:197-->
:<translate>How to use KHotNewStuff3 in your application.</translate>
Get Hot New Stuff 3 - Download</translate>]]  
;[[Special:myLanguage/Development/Tutorials/Collaboration/HotNewStuff/Updates|<translate>Get Hot New Stuff 3 - Checking for Updates</translate>]]  
:<translate><!--T:198-->
:<translate>How to check whether updates for installed stuff are available without showing the dialog/widget.</translate>
How to use KHotNewStuff3 in your application.</translate>
;[[Special:myLanguage/Development/Tutorials/Collaboration/HotNewStuff/Upload|<translate>Get Hot New Stuff 3 - Upload</translate>]]  
;[[Special:myLanguage/Development/Tutorials/Collaboration/HotNewStuff/Updates|<translate><!--T:199-->
:<translate>How to add an upload dialog to your application.
Get Hot New Stuff 3 - Checking for Updates</translate>]]  
:<translate><!--T:200-->
How to check whether updates for installed stuff are available without showing the dialog/widget.</translate>
;[[Special:myLanguage/Development/Tutorials/Collaboration/HotNewStuff/Upload|<translate><!--T:201-->
Get Hot New Stuff 3 - Upload</translate>]]  
:<translate><!--T:202-->
How to add an upload dialog to your application.


<!--T:203-->
Old links for KNS2 and KNS1 content:<br>
Old links for KNS2 and KNS1 content:<br>
</translate>
</translate>
;[[Special:myLanguage/Development/Tutorials/K Hot New Stuff2|<translate>Introduction to Get Hot New Stuff 2</translate>]]  
;[[Special:myLanguage/Development/Tutorials/K Hot New Stuff2|<translate><!--T:204-->
:<translate>A short tutorial about how to use KHotNewStuff2 in your application. Deprecated, use version 3 </translate>
Introduction to Get Hot New Stuff 2</translate>]]  
;[[Special:myLanguage/Development/Tutorials/Introduction to Get Hot New Stuff|<translate>Introduction to Get Hot New Stuff</translate>]]  
:<translate><!--T:205-->
:<translate>An introduction to the developer-friendly network update system that allows KDE applications to fetch new application data at runtime in a user friendly manner.</translate>
A short tutorial about how to use KHotNewStuff2 in your application. Deprecated, use version 3 </translate>
;[[Special:myLanguage/Development/Tutorials/KNewStuffSecure|<translate>KNewStuff Secure</translate>]] ([http://developer.kde.org/documentation/tutorials/knewstuffsecure/index.html <translate>Original Link</translate>])  
;[[Special:myLanguage/Development/Tutorials/Introduction to Get Hot New Stuff|<translate><!--T:206-->
:<translate>Tutorial showing how to share resources in a secured way (KDE 3.4 and later). By András Mantia &lt;[email protected]&gt;.
Introduction to Get Hot New Stuff</translate>]]  
:<translate><!--T:207-->
An introduction to the developer-friendly network update system that allows KDE applications to fetch new application data at runtime in a user friendly manner.</translate>
;[[Special:myLanguage/Development/Tutorials/KNewStuffSecure|<translate><!--T:208-->
KNewStuff Secure</translate>]] ([http://developer.kde.org/documentation/tutorials/knewstuffsecure/index.html <translate><!--T:209-->
Original Link</translate>])  
:<translate><!--T:210-->
Tutorial showing how to share resources in a secured way (KDE 3.4 and later). By András Mantia &lt;[email protected]&gt;.


== Goya ==
== Goya == <!--T:211-->
</translate>
</translate>
; [[Special:myLanguage/Development/Tutorials/Introduction to Goya usage|<translate>Introduction to Goya usage</translate>]]
; [[Special:myLanguage/Development/Tutorials/Introduction to Goya usage|<translate><!--T:212-->
:<translate>An introduction for the Goya subsystem usage, which allows you to easily add widgets to your itemviews and connect their signals to your code, as they were real widgets.</translate>
Introduction to Goya usage</translate>]]
; [[Special:myLanguage/Development/Tutorials/Introduction to Goya usage 2|<translate>Introduction to Goya usage (part 2)</translate>]]
:<translate><!--T:213-->
:<translate>The second part of the tutorial, with a slightly more complex example than the first part.
An introduction for the Goya subsystem usage, which allows you to easily add widgets to your itemviews and connect their signals to your code, as they were real widgets.</translate>
; [[Special:myLanguage/Development/Tutorials/Introduction to Goya usage 2|<translate><!--T:214-->
Introduction to Goya usage (part 2)</translate>]]
:<translate><!--T:215-->
The second part of the tutorial, with a slightly more complex example than the first part.


== Other programming languages ==
== Other programming languages == <!--T:216-->


=== Python ===
=== Python === <!--T:217-->
</translate>
</translate>
;[http://www.learningpython.com/2008/09/20/an-introduction-to-pyqt/ <translate>An Introduction to PyQt</translate>]
;[http://www.learningpython.com/2008/09/20/an-introduction-to-pyqt/ <translate><!--T:218-->
:<translate>Starting off</translate>
An Introduction to PyQt</translate>]
;[http://lateral.netmanagers.com.ar/stories/BBS47.html<translate> PyQt by Example</translate>]
:<translate><!--T:219-->
:<translate>Another introduction to PyQt</translate>
Starting off</translate>
;[[Special:myLanguage/Development/Languages/Python/PyKDE_WebKit_Tutorial|<translate>PyKDE WebKit Tutorial</translate>]]
;[http://lateral.netmanagers.com.ar/stories/BBS47.html<translate> <!--T:220-->
:<translate>A simple web browser application in PyKDE</translate>
PyQt by Example</translate>]
;[[Special:myLanguage/Development/Tutorials/Python introduction to signals and slots|<translate>101 Introduction to signals and slots</translate>]]
:<translate><!--T:221-->
:<translate>A simple introduction to Qt's signal and slot architecture.</translate>
Another introduction to PyQt</translate>
;[[Special:myLanguage/Development/Languages/Python/PyKDE_DBus_Tutorial|<translate>PyKDE DBus Tutorial</translate>]]
;[[Special:myLanguage/Development/Languages/Python/PyKDE_WebKit_Tutorial|<translate><!--T:222-->
:<translate>An introduction to DBus communication using PyKDE</translate>
PyKDE WebKit Tutorial</translate>]]
;[[Special:myLanguage/Development/Languages/Python/PyKDE_Knotify_Tutorial|<translate>PyKDE KNotify Tutorial]]
:<translate><!--T:223-->
A simple web browser application in PyKDE</translate>
;[[Special:myLanguage/Development/Tutorials/Python introduction to signals and slots|<translate><!--T:224-->
101 Introduction to signals and slots</translate>]]
:<translate><!--T:225-->
A simple introduction to Qt's signal and slot architecture.</translate>
;[[Special:myLanguage/Development/Languages/Python/PyKDE_DBus_Tutorial|<translate><!--T:226-->
PyKDE DBus Tutorial</translate>]]
:<translate><!--T:227-->
An introduction to DBus communication using PyKDE</translate>
;[[Special:myLanguage/Development/Languages/Python/PyKDE_Knotify_Tutorial|<translate><!--T:228-->
PyKDE KNotify Tutorial]]
:An introduction to Knotify (Notifications and KJobs) using PyKDE
:An introduction to Knotify (Notifications and KJobs) using PyKDE


=== Ruby ===
=== Ruby === <!--T:229-->
</translate>
</translate>


;[http://developer.kde.org/language-bindings/ruby/kde3tutorial/index.html <translate>KDE Ruby Korundum tutorial</translate>]
;[http://developer.kde.org/language-bindings/ruby/kde3tutorial/index.html <translate><!--T:230-->
:<translate>A ruby version of Antonio Larrosa Jim&eacute;nez's KDE tutorial by Richard Dale. See the [[Development/Languages/Ruby|Ruby Developers Corner]] for Qt tutorials and other info.</translate>
KDE Ruby Korundum tutorial</translate>]
;[[Special:myLanguage/Development/Tutorials/Qt4_Ruby_Tutorial|<translate>Qt4 Ruby Tutorial</translate>]]
:<translate><!--T:231-->
:<translate>Nokia's fabulous introductory tutorial to Qt, translated to Ruby.</translate>
A ruby version of Antonio Larrosa Jim&eacute;nez's KDE tutorial by Richard Dale. See the [[Development/Languages/Ruby|Ruby Developers Corner]] for Qt tutorials and other info.</translate>
;[[Special:myLanguage/Development/Tutorials/Plasma/RubyApplet|<translate>Creating a Plasma Widget in Ruby</translate>]]
;[[Special:myLanguage/Development/Tutorials/Qt4_Ruby_Tutorial|<translate><!--T:232-->
:<translate>Tutorial that shows how to create your first Plasma Applet using the Ruby language.</translate>
Qt4 Ruby Tutorial</translate>]]
;[[Special:myLanguage/Development/Tutorials/Developing_Qt4_Applications_using_Qt_Designer_and_Ruby_on_Kubuntu|<translate>Developing Qt4 Applications using Qt Designer and Ruby on Kubuntu</translate>]]
:<translate><!--T:233-->
:<translate>Tutorial that shows how to design a simple User Interface in Qt Designer and then use the resulting widget in a Qt Ruby application we build from scratch.</translate>
Nokia's fabulous introductory tutorial to Qt, translated to Ruby.</translate>
;[[Special:myLanguage/Development/Languages/Ruby/Ruby-Qt/KDE_Book|<translate>Ruby-Qt/KDE Book]]
;[[Special:myLanguage/Development/Tutorials/Plasma/RubyApplet|<translate><!--T:234-->
Creating a Plasma Widget in Ruby</translate>]]
:<translate><!--T:235-->
Tutorial that shows how to create your first Plasma Applet using the Ruby language.</translate>
;[[Special:myLanguage/Development/Tutorials/Developing_Qt4_Applications_using_Qt_Designer_and_Ruby_on_Kubuntu|<translate><!--T:236-->
Developing Qt4 Applications using Qt Designer and Ruby on Kubuntu</translate>]]
:<translate><!--T:237-->
Tutorial that shows how to design a simple User Interface in Qt Designer and then use the resulting widget in a Qt Ruby application we build from scratch.</translate>
;[[Special:myLanguage/Development/Languages/Ruby/Ruby-Qt/KDE_Book|<translate><!--T:238-->
Ruby-Qt/KDE Book]]
:There is also an approach to create an Ruby-Qt/KDE Book under a free license. The content will be created in this wiki.
:There is also an approach to create an Ruby-Qt/KDE Book under a free license. The content will be created in this wiki.


=== Shell ===
=== Shell === <!--T:239-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/Shell_Scripting_with_KDE_Dialogs|<translate>Shell Scripting with KDE dialogs</translate>]] ([http://developer.kde.org/documentation/tutorials/kdialog/t1.html <translate>Original Link</translate>])  
;[[Special:myLanguage/Development/Tutorials/Shell_Scripting_with_KDE_Dialogs|<translate><!--T:240-->
:<translate>Tutorial by [mailto:[email protected] Brad Hards] that describes how to use KDE dialogs in shell scripts with kdialog. It is presented as an example based tutorial.
Shell Scripting with KDE dialogs</translate>]] ([http://developer.kde.org/documentation/tutorials/kdialog/t1.html <translate><!--T:241-->
Original Link</translate>])  
:<translate><!--T:242-->
Tutorial by [mailto:[email protected] Brad Hards] that describes how to use KDE dialogs in shell scripts with kdialog. It is presented as an example based tutorial.


== Graphics Programming ==
== Graphics Programming == <!--T:243-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/Graphics/Performance|<translate>QPainter Perfomance</translate>]]
;[[Special:myLanguage/Development/Tutorials/Graphics/Performance|<translate><!--T:244-->
:<translate>Hints on avoiding common mistakes leading to poor performance when using QPainter
QPainter Perfomance</translate>]]
:<translate><!--T:245-->
Hints on avoiding common mistakes leading to poor performance when using QPainter


== Using the KDE Games Libraries ==
== Using the KDE Games Libraries == <!--T:246-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/Games/KStandardGameAction|<translate> KStandardGameAction</translate>]]
;[[Special:myLanguage/Development/Tutorials/Games/KStandardGameAction|<translate> <!--T:247-->
:<translate>Using libkdegames to make your game fit the kdegames standard</translate>
KStandardGameAction</translate>]]
;[[Special:myLanguage/Development/Tutorials/Games/Highscores| <translate>Highscores</translate>]]
:<translate><!--T:248-->
:<translate>Implementing a simple highscore table into your game</translate>
Using libkdegames to make your game fit the kdegames standard</translate>
;[[Special:myLanguage/Development/Tutorials/Games/Theme Selector|<translate> Theme Selector</translate>]]
;[[Special:myLanguage/Development/Tutorials/Games/Highscores| <translate><!--T:249-->
:<translate>Using the libkdegames theme selection dialog</translate>
Highscores</translate>]]
;[[Special:myLanguage/Development/Tutorials/Games/Palapeli Patterns|<translate> Palapeli Slicers</translate>]]
:<translate><!--T:250-->
:<translate>Creating a slicer plugin for Palapeli
Implementing a simple highscore table into your game</translate>
;[[Special:myLanguage/Development/Tutorials/Games/Theme Selector|<translate> <!--T:251-->
Theme Selector</translate>]]
:<translate><!--T:252-->
Using the libkdegames theme selection dialog</translate>
;[[Special:myLanguage/Development/Tutorials/Games/Palapeli Patterns|<translate> <!--T:253-->
Palapeli Slicers</translate>]]
:<translate><!--T:254-->
Creating a slicer plugin for Palapeli


=== KGLEngine ===
=== KGLEngine === <!--T:255-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/Games/kglengine/kglengine-simpleBox|<translate> Installation and your first KGLItem</translate>]]
;[[Special:myLanguage/Development/Tutorials/Games/kglengine/kglengine-simpleBox|<translate> <!--T:256-->
:<translate>start your first kglengine application</translate>
Installation and your first KGLItem</translate>]]
:<translate><!--T:257-->
start your first kglengine application</translate>
;[[Special:myLanguage/Development/Tutorials/Games/KGLEngine2d| kglpong]]
;[[Special:myLanguage/Development/Tutorials/Games/KGLEngine2d| kglpong]]
:<translate>Now use our knowledge to make a pong</translate>
:<translate><!--T:258-->
Now use our knowledge to make a pong</translate>


== Using the KDE PIM Libraries ==
== Using the KDE PIM Libraries ==


;[[Special:myLanguage/Development/Tutorials/PIM/ical|<translate> iCalendar functionality</translate>]]
;[[Special:myLanguage/Development/Tutorials/PIM/ical|<translate> <!--T:259-->
:<translate>Using kcal to manage iCalendar files</translate>
iCalendar functionality</translate>]]
:<translate><!--T:260-->
Using kcal to manage iCalendar files</translate>


<translate>== Other tutorials ==
<translate>== Other tutorials == <!--T:261-->


=== 2D Plotting (KPlotWidget) ===
=== 2D Plotting (KPlotWidget) === <!--T:262-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/KPlotWidget|<translate>Using the KDE data-plotting widget</translate>]]
;[[Special:myLanguage/Development/Tutorials/KPlotWidget|<translate><!--T:263-->
:<translate>This tutorial introduces KPlotWidget, which is used for 2-D data plotting.  It includes information on simple usage of the widget (including adding and modifying data sets, and customizing the plot axes and labels), and advanced customization (including extending the widget through sub-classing).
Using the KDE data-plotting widget</translate>]]
:<translate><!--T:264-->
This tutorial introduces KPlotWidget, which is used for 2-D data plotting.  It includes information on simple usage of the widget (including adding and modifying data sets, and customizing the plot axes and labels), and advanced customization (including extending the widget through sub-classing).


=== Spelling and Grammar Checking (Sonnet) ===
=== Spelling and Grammar Checking (Sonnet) === <!--T:265-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/Sonnet/SonnetTutorial|<translate>Adding spell-checking or grammar-checking to KDE applications</translate>]]
;[[Special:myLanguage/Development/Tutorials/Sonnet/SonnetTutorial|<translate><!--T:266-->
:<translate>This tutorial introduces Sonnet and how one may use it to add language correction to your KDE application. Sonnet's auxiliary features shall be described in a separate tutorial.
Adding spell-checking or grammar-checking to KDE applications</translate>]]
:<translate><!--T:267-->
This tutorial introduces Sonnet and how one may use it to add language correction to your KDE application. Sonnet's auxiliary features shall be described in a separate tutorial.


=== Pixmap cache (KPixmapCache) ===
=== Pixmap cache (KPixmapCache) === <!--T:268-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/KPixmapCache|<translate>Using the KDE pixmap cache</translate>]]
;[[Special:myLanguage/Development/Tutorials/KPixmapCache|<translate><!--T:269-->
:<translate>This tutorial shows how to use KPixmapCache to cache e.g. pixmaps generated from SVGs or some data.
Using the KDE pixmap cache</translate>]]
:<translate><!--T:270-->
This tutorial shows how to use KPixmapCache to cache e.g. pixmaps generated from SVGs or some data.


=== Using MarbleWidget (Marble) ===
=== Using MarbleWidget (Marble) === <!--T:271-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/MarbleWidget|<translate>Using MarbleWidget</translate>]]
;[[Special:myLanguage/Development/Tutorials/MarbleWidget|<translate><!--T:272-->
:<translate>This short tutorial describes how to use the MarbleWidget in your project
Using MarbleWidget</translate>]]
:<translate><!--T:273-->
This short tutorial describes how to use the MarbleWidget in your project


=== Using local SCM for KDE development ===
=== Using local SCM for KDE development === <!--T:274-->
</translate>
</translate>
;[[Special:myLanguage/Development/Git|<translate>Using Git to develop for KDE</translate>]]
;[[Special:myLanguage/Development/Git|<translate><!--T:275-->
:<translate>Here you find how to use Git to develop for KDE
Using Git to develop for KDE</translate>]]
:<translate><!--T:276-->
Here you find how to use Git to develop for KDE


=== Kwin effect tutorial (blog) ===
=== Kwin effect tutorial (blog) === <!--T:277-->


<!--T:278-->
;[http://blog.martin-graesslin.com/blog/?p=258 blog by Martin Graesslin]
;[http://blog.martin-graesslin.com/blog/?p=258 blog by Martin Graesslin]
:This tutorial guides you through the development of a simple KWin effect
:This tutorial guides you through the development of a simple KWin effect


=== Implementing KSysGuard sensors and adding them ===
=== Implementing KSysGuard sensors and adding them === <!--T:279-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/Sensors|<translate>Sensors Tutorial</translate>]]
;[[Special:myLanguage/Development/Tutorials/Sensors|<translate><!--T:280-->
:<translate>This tutorial shows how to write and KSysGuard sensor and connect it to the systray. </translate>
Sensors Tutorial</translate>]]
:<translate><!--T:281-->
This tutorial shows how to write and KSysGuard sensor and connect it to the systray. </translate>
Runners
Runners


<translate>
<translate>
=== Porting an application from KSystemTrayIcon to KStatusNotifierItem ===
=== Porting an application from KSystemTrayIcon to KStatusNotifierItem === <!--T:282-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/PortToKStatusNotifierItem|<translate>Porting from KSystemTrayIcon to KStatusNotifierItem</translate>]]
;[[Special:myLanguage/Development/Tutorials/PortToKStatusNotifierItem|<translate><!--T:283-->
:<translate>This tutorials shows how to port an application using KSystemTrayIcon to KStatusNotifierItem
Porting from KSystemTrayIcon to KStatusNotifierItem</translate>]]
:<translate><!--T:284-->
This tutorials shows how to port an application using KSystemTrayIcon to KStatusNotifierItem


=== Using the KDE Wallet API for safe storage ===
=== Using the KDE Wallet API for safe storage === <!--T:285-->
</translate>
</translate>


;[[Special:myLanguage/Development/Tutorials/KWallet|<translate>KWallet</translate>]]
;[[Special:myLanguage/Development/Tutorials/KWallet|<translate><!--T:286-->
:<translate>"Brief introduction to the KWallet API which can be used for storing all kinds of sensitive information."
KWallet</translate>]]
:<translate><!--T:287-->
"Brief introduction to the KWallet API which can be used for storing all kinds of sensitive information."


===How to edit a wiki with Libmediawiki ===
===How to edit a wiki with Libmediawiki === <!--T:288-->
</translate>
</translate>
;[[Special:myLanguage/Development/Tutorials/Libmediawiki|<translate>Libmediawiki</translate>]]
;[[Special:myLanguage/Development/Tutorials/Libmediawiki|<translate><!--T:289-->
:<translate>This tutorial present how to edit a wiki with Libmediawiki.
Libmediawiki</translate>]]
:<translate><!--T:290-->
This tutorial present how to edit a wiki with Libmediawiki.


== KDE2 and KDE3 Materials ==
== KDE2 and KDE3 Materials == <!--T:291-->
</translate>
</translate>
;[[Special:myLanguage/Development/Tutorials/KWallet|<translate>KWallet]]</translate>
;[[Special:myLanguage/Development/Tutorials/KWallet|<translate><!--T:292-->
;[[Special:myLanguage/Development/Tutorials/KDE4 Porting Guide|<translate>Porting Your Application from KDE 3 to KDE 4</translate>]]
KWallet]]</translate>
:<translate>These tutorials cover topics related to the migration from KDE 3 to KDE 4.</translate>
;[[Special:myLanguage/Development/Tutorials/KDE4 Porting Guide|<translate><!--T:293-->
;[[Special:myLanguage/Development/Tutorials/KDE3|<translate>KDE3 Tutorials</translate>]]
Porting Your Application from KDE 3 to KDE 4</translate>]]
:<translate>These tutorials cover topics related to KDE3.</translate>
:<translate><!--T:294-->
;[[Special:myLanguage/Development/Tutorials/KDE2|<translate>KDE2 Tutorials</translate>]]
These tutorials cover topics related to the migration from KDE 3 to KDE 4.</translate>
:<translate>These tutorials cover topics related to KDE2.
;[[Special:myLanguage/Development/Tutorials/KDE3|<translate><!--T:295-->
KDE3 Tutorials</translate>]]
:<translate><!--T:296-->
These tutorials cover topics related to KDE3.</translate>
;[[Special:myLanguage/Development/Tutorials/KDE2|<translate><!--T:297-->
KDE2 Tutorials</translate>]]
:<translate><!--T:298-->
These tutorials cover topics related to KDE2.


<!--T:299-->
[[Category:KDE4]]
[[Category:KDE4]]
[[Category:Tutorials]]
[[Category:Tutorials]]
</translate>
</translate>

Revision as of 15:34, 24 March 2012


Development/Tutorials


Tutorials are the fastest way of finding out what KDE will do for you, and how to do it. Here is a list of currently available tutorials for KDE4. Material for KDE3 and KDE2 is available on the bottom of this page.

Basics of KDE 4 Programming

Are you interested in writing applications with KDE 4? This tutorial series is aimed at those completely new to KDE programming.

Hello World
An introduction to the very basics of KDE4 programming
Creating the Main Window
This tutorial shows you the magic of an application's most important thing: The main window.
Using KActions
How to add actions to the menus and toolbars. Based on the MainWindow tutorial.
Physical Simulation
How to perform a physical simulation: animation and diagram
Saving and Loading
Introduces the KIO library while adding loading and saving support to our application.
Using SqLite databases and QtSql
Integrated databases without the need for a database server
Command line arguments
Adds the ability to specify which file to open from the command line to our text editor.
Introduction to CMake
How to use the CMake build system used by KDE4.
Common Programming Mistakes
Various common mistakes made while developing Qt and KDE applications and how to avoid them.
Debugging Linker Errors
How to understand and debug errors from the linker, at compile time.
Using Qt Creator to develop your KDE program
How to use Qt Creator as an IDE to develop KDE programs
Creating Libraries to share code
How to add the library to the buildsystem and how to prepare the source code.
Session Management
Make your application aware of X sessions
Icons
Deliver your application with icons that are automatically installed to the right places. Based on the Kaction Tutorial.
Desktop File
Let your application show up in the K menu and in application menus. Based on the Icons Tutorial.

Testing And Debugging

Debugging your application
Tips, tools and techniques to apply when debugging your KDE application
Writing Unittests for Qt4 and KDE4 with QTestLib (Original link)
Tutorial by Brad Hards that describes how to write unit tests using the QTestLib framework. It is presented as an example based tutorial, and is still under development.
Semi-automatic ways to detect code errors
Techniques you can use to detect errors in KDE code

Managing Configuration Data With KConfig

Introduction To KConfig
An overview of the KConfig classes and how to use them in your application code
Using KConfig XT
Tutorial on how to efficiently use the KConfig XT framework.
Updating KConfig Files
Tutorial on how to write an update script to keep changes in your application's config file format in sync with the user's already existing config file

Services: Applications and Plugins

Introduction to the Services Framework
An overview of the services framework in KDE and what it provides the application developer. Covers the system configuration cache (SyCoCa), the source data files and what the indexed information can be used for.
Finding Services Using Trader Queries
How to find services, such as plugins or mimetypes, that are indexed in the SyCoCa using Trader Query Syntax
Creating and Loading Plugins Using KService
Learn how to define custom plugin types, find installed plugins (including 3rd party plugins) and load them in an easy and portable fashion using KService.

Localization

See also Localization portal.

Introduction To Unicode
An introduction to what Unicode is as well as how to handle Unicode data in KDE applications.
Writing Applications With Localization In Mind
This tutorial covers what localization is, why it's important and how to ensure your application is ready to be localized. A must read for all application developers.
Avoiding Common Localization Pitfalls
There are several common mistakes that prevent applications from being properly localized. Find out what they are and how to easily avoid them in this tutorial.
Building KDE's Localization Module
Building and installing language support from KDE's localization (l10n) module is a good idea for those working on applications in the main KDE repository. Doing so will allow you to test your application in another language and spot problem areas. Learn how to do just that in this tutorial.
Incorporating i18n Into the Build System
Once your application is ready to be localized, the next step is to ensure that translation files are built automatically and kept up to date. This tutorial covers the necessary CMakeFiles.txt additions as well the process of distributing the resulting message catalogs with your application.
Common i18n Challenges and Solutions
This tutorial covers challenges that you may eventually run into such as translating handbooks and other data that exists outside of the source code, merging and handling obsolete .po files, dealing with freezes, coding in languages other than English and creating independent releases of or moving applications between KDE modules.
Semantic Markup of Messages
To ensure consistent presentation and more meaningful representations of messages in applications, semantic markup can be applied to messages marked for translation using the KUIT system. This tutorial describes how this system works.
Automated i18n Code Checking
The Krazy code checker scans KDE's code and reports common i18n mistakes.

Documentation

API Documentation
This tutorial explains how to document your APIs properly.
Man Pages
Writing and Generating Reference Manual Pages.
Source Code
http://quickgit.kde.org
http://websvn.kde.org

Accessibility

Accessibility Overview
A list of accessibility tutorials and general information.
Accessibility Checklist
What to look for in your application to make it accessible for as many people as possible.
Screen Reader
This tutorial will explain some details about using screen readers with KDE applications.
Text-To-Speech
How to utilize Jovie text-to-speech service in your application.

Application Automation and Scripting

D-Bus

Introduction to D-Bus
A straight-forward introduction to the core concepts in D-Bus from an application developer's perspective, this tutorial covers what D-Bus is and how it can be used by applications.
Accessing D-Bus Interfaces
A step-by-step guide to calling D-Bus methods and connecting to D-Bus signals using QtDBus.
Intermediate D-Bus
Tips to make use of QtDBus when faced with problematic real-world interfaces.
Creating D-Bus Interfaces
Learn how to expose functionality in your application by creating and using custom D-Bus interfaces. Covers generating the XML descriptions, instantiating interfaces at run time and setting up the build system with CMake.
Using Custom Types with D-Bus
Learn how to use your own types in classes exported on D-Bus. Covers marhaling and unmarshaling of objects, the integration of custom types into XML descriptions and registering the custom types with the Qt Meta Object system.
D-Bus Autostart Services
Turn your application into a D-Bus autostart service with this tutorial. This D-Bus feature, also known as "D-Bus service activation", will ensure that even when your application isn't running that D-Bus calls made to it will work by relying on the D-Bus daemon itself to start your app if and when needed.
Porting from DCOP to D-Bus
Port your applications from DCOP to D-Bus with this handy guide.

Konqueror

Creating Konqueror Service Menus
This tutorial shows you how to create mimetype-specific actions in Konqueror's context menu (aka "servicemenus").

Kross

Introduction to Kross
An introduction to the Kross Scripting Framework.
Hello World
A first application with working kross code.
Calling Functions in Kross
Simple demonstration of calling scripting functions
Connecting Signals and Slots in Kross
Simple demonstration of connecting object signals with script slots
Scripts as Plugins with Kross
This tutorial provides a step-by-step introduction how to integrate scripts as plugins into a KDE application.
Placing script actions in your application menus
Simple demonstration on how to extend you application menus to execute script files.
How to use an ActionCollection
A small Tutorial on How to use Kross::ActionCollections.

Calligra Plugin Tutorials

Calligra Overview
This document shows an overview of the different Calligra plugin types and tells you what each of their purpose and strengths are. If you are new with Calligra plugins, this is the place to start.
Calligra Plugin Creation
This gives a technical overview of what it means to write a Calligra plugin.
Creating Calligra Flake Plugins
This tutorial shows you how you can build a plugin for Calligra applications to allow you embed content in ODF documents using Flake.
Calligra Words Scripting
This tutorial shows how to script Calligra Words with Python, or JavaScript using Kross.
Calligra Sheets Scripting
This tutorial shows how to script Calligra Sheets with Python, or JavaScript using Kross.


SuperKaramba

SuperKaramba Tutorial
This tutorial provides an overview of SuperKaramba, theme files and scripting with Python, Ruby and JavaScript.

System Activity

Writing script actions for the process's context menu
This tutorial shows how to add a context menu action to show custom information about a process.

KWin

KWin Scripting Tutorial
This tutorial shows how to write a useful script for KWin.

Plugins and KParts

Using KParts
A kPart is a plugin that you can just load into your application. For example, it is easy to integrate an editor (the katePart) or a console (the konsolePart) into your application's window.
Writing kontact plugins
Kontact plugins are KParts. This tutorial describes how you can write one.
Writing Qt Designer Plugins
Add your widgets to Qt Designer and thus make them usable in UI files.

Search and Metadata

Strigi

Writing file analyzers
File analyzers extract data from files to display in the file dialogs and file managers. The data gathered this way is also used to search for files. KDE4 allows the use of multiple analyzers per file type. This tutorial describes how you can write new analyzers.

Nepomuk

See Nepomuk tutorials.


Hardware Awareness (Solid)

Introduction to Solid
An introduction to the Solid effort in general and it library in particular.
Listing Devices
How to use the Solid core library to discover the hardware and interact with the system.
Accessing Network Information
How to use the Solid system to get information about the network
Creating a Device Action
When your application is interested in registering actions with the system for removable hardware

Authorization and Privilege escalation (KAuth)

KAuth Basics
An overview of concepts and basic knowledge required to understand and use KAuth effectively
Using KAuth actions in your application
How to execute KAuth actions in your application, and how to integrate them tightly into your UI
Creating a KAuth helper to perform a privileged action
You will learn how to use KAuth's helpers and escalation facilities, and how to seamlessly make a privileged and non privileged portion of your application interact
Creating a KCM requiring authorization upon saving
Learn how to use the high level KCModule API to create KCModules handling authorization, and its UI integration, on their own

Multimedia (Phonon)

Phonon
The ;Introduction to Phonon tells how to compile and run the code. If you like to work in Python, try this version of the same tutorial
Writing Backends
How to start creating a new backend for the multimedia API
Resources
Please have a look at the online documentation for information on the Phonon API. If you prefer using Qt Assistant or Qt Creator you can also use our offline documentation.

Plasma

See Plasma tutorials.

Personal Information Management (Akonadi)

Using Akonadi in Applications
Displaying and modifying data provided by Akonadi
Developing Akonadi Resources
Akonadi Resources are agent programs which transport PIM data between Akonadi and a backend (files, servers, etc)
Using custom data types with Akonadi
Akonadi can handle arbitrary data as item payloads through the use of a plugin based serialization framework
Porting Applications which use KResource API
Applications using KDE's now deprecated KResource APIs, e.g. KABC or KCal, need to be ported to use their Akonadi equivalents

Kate / Kwrite

Getting started with KTextEditor plugins
Creating your first KTextEditor plugin
Developing a plugin with configuration dialog
Adding a configuration dialog to the Time & Date example
A small Editor
Create a small application using KTextEditor

KDevelop

KDevelop-PG-Qt Introduction
Information on the KDevelop parser generator, useful for language plugins.

Printing

KDE mostly uses the Qt Printing infrastructure.

Hello World
Introduction to the KDE printing system

kioslaves

Collaboration

Open Collaboration Services (libattica)

Introduction to Attica
In this tutorial a simple widget showing information about a Person on the server is created.

Get Hot New Stuff

Get Hot New Stuff 3 - Download
How to use KHotNewStuff3 in your application.
Get Hot New Stuff 3 - Checking for Updates
How to check whether updates for installed stuff are available without showing the dialog/widget.
Get Hot New Stuff 3 - Upload
How to add an upload dialog to your application.

Old links for KNS2 and KNS1 content:

Introduction to Get Hot New Stuff 2
A short tutorial about how to use KHotNewStuff2 in your application. Deprecated, use version 3
Introduction to Get Hot New Stuff
An introduction to the developer-friendly network update system that allows KDE applications to fetch new application data at runtime in a user friendly manner.
KNewStuff Secure (Original Link)
Tutorial showing how to share resources in a secured way (KDE 3.4 and later). By András Mantia <[email protected]>.

Goya

Introduction to Goya usage
An introduction for the Goya subsystem usage, which allows you to easily add widgets to your itemviews and connect their signals to your code, as they were real widgets.
Introduction to Goya usage (part 2)
The second part of the tutorial, with a slightly more complex example than the first part.

Other programming languages

Python

An Introduction to PyQt
Starting off
PyQt by Example
Another introduction to PyQt
PyKDE WebKit Tutorial
A simple web browser application in PyKDE
101 Introduction to signals and slots
A simple introduction to Qt's signal and slot architecture.
PyKDE DBus Tutorial
An introduction to DBus communication using PyKDE
PyKDE KNotify Tutorial
An introduction to Knotify (Notifications and KJobs) using PyKDE

Ruby

KDE Ruby Korundum tutorial
A ruby version of Antonio Larrosa Jiménez's KDE tutorial by Richard Dale. See the Ruby Developers Corner for Qt tutorials and other info.
Qt4 Ruby Tutorial
Nokia's fabulous introductory tutorial to Qt, translated to Ruby.
Creating a Plasma Widget in Ruby
Tutorial that shows how to create your first Plasma Applet using the Ruby language.
Developing Qt4 Applications using Qt Designer and Ruby on Kubuntu
Tutorial that shows how to design a simple User Interface in Qt Designer and then use the resulting widget in a Qt Ruby application we build from scratch.
Ruby-Qt/KDE Book
There is also an approach to create an Ruby-Qt/KDE Book under a free license. The content will be created in this wiki.

Shell

Shell Scripting with KDE dialogs (Original Link)
Tutorial by Brad Hards that describes how to use KDE dialogs in shell scripts with kdialog. It is presented as an example based tutorial.

Graphics Programming

QPainter Perfomance
Hints on avoiding common mistakes leading to poor performance when using QPainter

Using the KDE Games Libraries

KStandardGameAction
Using libkdegames to make your game fit the kdegames standard
Highscores
Implementing a simple highscore table into your game
Theme Selector
Using the libkdegames theme selection dialog
Palapeli Slicers
Creating a slicer plugin for Palapeli

KGLEngine

Installation and your first KGLItem
start your first kglengine application
kglpong
Now use our knowledge to make a pong

Using the KDE PIM Libraries

iCalendar functionality
Using kcal to manage iCalendar files

Other tutorials

2D Plotting (KPlotWidget)

Using the KDE data-plotting widget
This tutorial introduces KPlotWidget, which is used for 2-D data plotting. It includes information on simple usage of the widget (including adding and modifying data sets, and customizing the plot axes and labels), and advanced customization (including extending the widget through sub-classing).

Spelling and Grammar Checking (Sonnet)

Adding spell-checking or grammar-checking to KDE applications
This tutorial introduces Sonnet and how one may use it to add language correction to your KDE application. Sonnet's auxiliary features shall be described in a separate tutorial.

Pixmap cache (KPixmapCache)

Using the KDE pixmap cache
This tutorial shows how to use KPixmapCache to cache e.g. pixmaps generated from SVGs or some data.

Using MarbleWidget (Marble)

Using MarbleWidget
This short tutorial describes how to use the MarbleWidget in your project

Using local SCM for KDE development

Using Git to develop for KDE
Here you find how to use Git to develop for KDE

Kwin effect tutorial (blog)

blog by Martin Graesslin
This tutorial guides you through the development of a simple KWin effect

Implementing KSysGuard sensors and adding them

Sensors Tutorial
This tutorial shows how to write and KSysGuard sensor and connect it to the systray.

Runners

Porting an application from KSystemTrayIcon to KStatusNotifierItem

Porting from KSystemTrayIcon to KStatusNotifierItem
This tutorials shows how to port an application using KSystemTrayIcon to KStatusNotifierItem

Using the KDE Wallet API for safe storage

KWallet
"Brief introduction to the KWallet API which can be used for storing all kinds of sensitive information."

How to edit a wiki with Libmediawiki

Libmediawiki
This tutorial present how to edit a wiki with Libmediawiki.

KDE2 and KDE3 Materials

KWallet
Porting Your Application from KDE 3 to KDE 4
These tutorials cover topics related to the migration from KDE 3 to KDE 4.
KDE3 Tutorials
These tutorials cover topics related to KDE3.
KDE2 Tutorials
These tutorials cover topics related to KDE2.