Programming KDE - A Primer Sirtaj Singh Kang <
[email protected]> Conference of Australian Linux Users, Melbourne, Australia July 1999 1 ht2is2uhic 4 A framework for Graphical User Applications for UNIX and the X Window System 4 Brings consistency to look and feel and functionality 4 Why do I want to program for KDE? 4 Libraries provide excellent functionality and are well documented. All KDE libraries are supplied under the GNU Library GPL. 4 Fills in many feature-holes in available application frameworks 4 All applications respond to look and feel changes immediately with almost zero programmer effort 4 Drag and drop 4 HTML-based documentation system 4 Internationalization support - KDE already supports over 30 languages 4 Session management built in to the system - applications are notified when the user wishes to log out, and can save its state. State is restored on next login 4 Easy non-blocking network file transfers, without threads 4 Easy-to-use three-level (Global/User/Application) configuration system 4 High-level C++ access to all library features allows quick development of applications 4 GNU Autoconf/Automake frameworks for source portability to other UNIXes. 2 ht2do2s2need2to2know2to2progrm2for uhic 4 You need to know a little C++ to begin, but more C++ experience will help with more advanced features (templates and exceptions, for example) 4 A general idea of Object Oriented (OO) programming, eg classes, inheritance and programming to interfaces 4 You should know how to program in the UNIX environment - using text editors and compilers (and sometimes debuggers!) 3 ht2tools2do2s2needc 4 A system running UNIX and X11 4 An ANSI-compliant C++ compiler - all KDE development is done with the EGCS compiler 4 The Qt GUI toolkit 4 KDE libraries 4 The KDE Software Development Kit (optional) 4 Example applications 4 Application framework generator - generates a generic KDE application which you can customize and add your specific features.