Development/Tutorials/Programming Tutorial KDE 4: Difference between revisions

From KDE TechBase
No edit summary
Line 12: Line 12:


=Your lessons=
=Your lessons=
* [[First program]]
* [[/First progra|First program]]
* [[How to write an HTML parser]]
* [[/How to write an HTML parser|How to write an HTML parser]]
* [[How to load and save configuration]]
* [[/How to load and save configuration|How to load and save configuration]]
* [http://developer.kde.org/documentation/other/makefile_am_howto/en/index.html How to write Makefile.am]s
* [http://developer.kde.org/documentation/other/makefile_am_howto/en/index.html How to write Makefile.am]s
* [[Drag-and-drop]]
* [[/Drag-and-drop|Drag-and-drop]]
* [http://edu.kde.org/development/tips.php#HowtodealwithsoundwhencodingaKDEapplication How to write sound programs]
* [http://edu.kde.org/development/tips.php#HowtodealwithsoundwhencodingaKDEapplication How to write sound programs]
* [[/printing|Printing]]
* [[/printing|Printing]]
* [[How to write Kontact plugins]]
* [[/How to write Kontact plugins|How to write Kontact plugins]]


=Suggested readings=
=Suggested readings=
http://edu.kde.org/development/tips.php
http://edu.kde.org/development/tips.php

Revision as of 12:34, 28 September 2006

This is a tutorial to learn KDE programming by examples. It assumes you are working with KDE 4, not KDE 3.


Overview

  • Basics:

KDE is tied together with Qt. KDE classes mostly inherit Qt classes and specify them. KDE 4 is based on QT 4, KDE 3 is based on Qt. When this tutorial introduces Qt classes, this helps you learn KDE programming.

  • Know how you can get help:

Whenever you have a KDE class and want the KDE documentation for it, point your konqueror to kde:KApplication (in case you want help for the class KApplication). For the Qt class QApplication, you can point your konqueror to qt:QApplication.

  • To learn KDE programming, first read this:

http://developer.kde.org/~wheeler/cpp-pitfalls.html

  • Get an overview about the tools you can use.

Your lessons

Suggested readings

http://edu.kde.org/development/tips.php