Ruby Logo Home

KDE Tutorial

Next Previous Table of Contents

v1.2
14/3/2002 Málaga . Spain
Antonio Larrosa Jiménez
larrosa@kde.org

ruby translation v1.0
17/9/2004 Reading, UK
Richard Dale

This is a tutorial that teaches you how to develop a simple KDE application step by step, with some explanation against every line of code. It places more emphasis on clean easy to understand code, rather than describing anything too complex that might actually be needed for building a real application.

The main requisite to read this tutorial is to have a bit of experience with ruby programming (this is not a ruby tutorial!), no Qt nor KDE previous knowledge is needed. Anyway I recommend that you also read the Qt tutorial which is quite useful to start on this passionate world.

You'll need KDE 3.x . If you haven't installed it yet, read this page for information on how to install the KDE 3.x (recommended) or this one for information on how to install the latest stable version. You can also install KDE from sources by following this link. Be warned that the SVN snapshot versions are not suitable for daily usage and should only be installed by developers who want to be sure that their applications will run on the future desktop technology.

Having said this, I will mention that in only 4 steps we will build a web browser and that the sixth example is a bookmark application that communicates with the web browser to store the bookmark links. But let's not anticipate things, and let's start by the beginning ...

Introduction
p1 : A simple Qt "Hello World" application
p2 : A simple KDE "Hello World" application
p3 : We add our first menu
p4 : A web browser
p5 : Open the communications Uhura !
p6 : A bookmark book
p7 : Back and forth
p8 : A smart bookmark
p9 : Using the XMLGUI framework

Next Previous Table of Contents


© 1999-2002 Antonio Larrosa © 2004 Richard Dale