[Okular-devel] okular kpart

Maarten Storm storm.maarten at gmail.com
Mon Nov 24 23:43:51 CET 2008


Thanks for your reply.

My application will make pdf's from simple invoices. Mostly it will be
one page, so I won't need the left panel, and the bookmarks for
example. I tried to take away the QActions from the actionCollection
like
  m_part->actionCollection()->takeAction(QAction)
but then I have an empty menu item for bookmarks. It would be most
easy if I could write an alternate kpart.rc for use of my program, but
I couldn't find a way to succeed in this. I thought about
XMLGUIClient->setXMLFile() via the actionCollection but that function
is protected.
Do you have a suggestion?

Maarten Storm.


2008/11/24, Pino Toscano <pino at kde.org>:
> Hi,
>
>> in my application I'm using the okular KPart. I like all the features
>> of okular, but in my application I won't need them all.
>
> What is the use case of your application?
>
>> Hopefully I'm at the right place for my question.
>
> It is, yes.
>
> --
> Pino Toscano
>


More information about the Okular-devel mailing list