On Thursday, 8 August 2013 10:44:44 CEST, Pali Rohár wrote:
In XML file are defined menubars and toolbars with all K/QActions. It matching objectName(). In your cpp code you need to push all KActions objects to some list (KActionCollection).

My Kontact plugin will got pointers to QAction objects via findChild and push them to KActionCollection list. It also install needed XML file.

Looks like you're doing the right thing, then. Thomas, could you please comment?

Jan

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Reply via email to