0 / 60 seg.

In the KOffice sources you'll find an example application in the example folder.