This document contains the changes you have to apply to PIM programs written for KDE 3.x when you want to port them to KDE 4.0. As a start you should have a look at doc/html/porting4.html in the Qt package, or this page online.