
If you want to do KOffice development, the following resources might be of interest:
At http://developer.kde.org you'll find many documents about programming with Qt™ and KDE. Here you can find the online version of the complete KDE library documentation.
In the KOffice sources you'll find an example application in the
example
folder.