PDA

View Full Version : KPart settings?



maartenS
21st November 2008, 14:18
Hi,

I'm using okular kpart in my application. Now I was wondering if I can do something more than only showing a file in the KPart. Is it possible to disable the sidebar? Or can I connect buttons in my own application to zoom the file that's showed in the KPart?

wysota
26th November 2008, 09:43
You can surely use the DBus interface to your part and control it through there. You can also use the whole KParts API.
http://api.kde.org/4.1-api/kdelibs-apidocs/kparts/html/classes.html