KDEdu Logo

KTouch KDE 4 - Developer Information

General information about the program

The program has been written in C++ (of course) with the help of KDevelop and QT designer. The programming interface (API) is very similar to the API used in the QT and KDE libs, so it shouldn't be difficult to understand the source code.

The source code is available as part of the KDE source code repository, or as isolated tarball from the sourceforge release page. Note, however, that the development happens nowadays in the KDE trunk and the sourceforge releases may be well out of date.

Once you have a source code copy on your compute, you can fire up the cmake based build system and start coding right away. Of course there are also numerous other ways to contribute to the project (which would be much appreciated).

Contributing to KTouch

There are several ways to help us improve KTouch. You could

  • code patches or join the project permanently as developer
  • write lectures/training files or improve the existing ones
  • create new keyboard layouts
  • draw some nice icons/images for the toolbars and the preferences dialog
  • write and keep the program documentation up-to-date
  • do anything else you think that could be beneficial to the project

You are more then welcome to contribute to this (in my humble opinion) GREAT program :-)

 Source code contributions/Patches

If you want to fix a bug, implement a feature or just contribute and source code change you like to the program, feel free to send me (Andreas) a patch, so that I can include it into the official SVN source code.

The easiest way to do that is to get a local copy of the source code on SVN (see developer into at techbase.kde.org on how to get a the KDE source code). If you already have the source code, make sure you work with an up-to-date version, using

  svn update

inside the kdeedu/ktouch directory.

Now let's assume you fix a bug and modify the files


After your changes are complete and tested, type

    svn status
in the kdeedu/ktouch directory. You will get an output like:
    M      src/ktouch.h
    M      src/ktouch.cpp
and possibly some other lines. Unless you added files yourself, ignore the lines with ? in front (these are temporary files). Note the lines with an M in front of the file names. These lines show you the files that you modified. Now type
    svn diff -u ktouch.h ktouch.cpp > ktouch_featureX_implementation_added.patch
or use a different descriptive name for your patch.

After -u add all files you have modified, then a > and afterwards the file name of your patch file. Send the patch file to me (preferably gzipped together with some ChangeLog info) or the kdeedu mailing list and we'll check and apply the patch to the SVN source code.

 Designing icons and graphics

Any contributions of nice looking icons and graphics are highly appreciated. If you can draw icons that looks better than the current icons or are more fitting, please send it to us per mail (see main page for developer emails, or use the kdeedu mailing list)!

Last update: 2014-07-29

Global navigation links