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

    From KDE TechBase
    Line 3: Line 3:
       
       
    =Overview=
    =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 [http://developer.kde.org/documentation/library/cvs-api/kdelibs-apidocs/kinit/html/classKApplication.html kde:KApplication] (in case you want help for the class KApplication). For the Qt class QApplication, you can point your konqueror to [http://doc.trolltech.com/4.1/qapplication.html qt:QApplication].
    * To learn KDE programming, first read this:
    * To learn KDE programming, first read this:
    http://developer.kde.org/~wheeler/cpp-pitfalls.html
    http://developer.kde.org/~wheeler/cpp-pitfalls.html
    * Know how you can get help:
    Whenever you have a KDE class and want the KDE documentation for it, point your konqueror to [http://developer.kde.org/documentation/library/cvs-api/kdelibs-apidocs/kinit/html/classKApplication.html kde:KApplication] (in case you want help for the class KApplication). For the Qt class QApplication, you can point your konqueror to [http://doc.trolltech.com/4.1/qapplication.html qt:QApplication].


    =Your lessons=
    =Your lessons=
    * [[ProgrammingTutorialFirstProgram | Your first program]]
    * [[ProgrammingTutorialFirstProgram | Your first program]]
    * [[How to write Kontact plugins]]
    * [[How to write Kontact plugins]]

    Revision as of 20:40, 31 August 2006

    This is a tutorial to learn KDE programming by examples. It assumes you are working with KDE 4, not KDE 3 (see build_unstable for how to build it).


    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

    Your lessons