Hello,

it looks like my new kontact plugin working.

Trojita desktop version is compiled as shared library (not 
executable) and glued kontact plugin code initializing main 
trojita window as kontact kpart view widget. Next it disable 
trojita native toolbar, menubar and statusbar and add 
toolbar/menubar actions via kde/kontact API. Statusbar is not 
"ported" yet, so is not visible.

So now Trojita is in Kontact window like KMail.

Code is in my git repository:
http://quickgit.kde.org/?p=clones/trojita/pali/trojita.git
branch pali-gsoc

Please look at it and write comments. What do you think about it?

There is one problem with "New Message" and "Reply" action menus 
in main toolbar. Kontact show only texts and no icons for these 
buttons. It is because KDE api KActionCollection accept only 
QAction. But these actions are QWidget(s).

Kevin, can you help me? How can I push QWidget to 
KActionCollection, so it will appear in KDE application menu? Or 
it is possible to set icon for (sub)menu in XML .rc file?

-- 
Pali Rohár
pali.ro...@gmail.com

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to