--===============1684631678== Content-Type: multipart/signed; boundary="nextPart19341436.EeFRgKTzRx"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart19341436.EeFRgKTzRx Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 28 December 2007, Lorenzo Bettini wrote: > Hi there > > I was using a similar code and it still didn't work... then I realized > that in order for these instructions to work, they must be executed > after the call to setupUI(), and now everything works and I have my menu > :-) > > there's still a small problem: the menu is shown after the Help menu > which is quite bad; I managed to insert it before Help by specifying the > index, but if now the number of menus change I must make sure to > re-insert it correctly... is there a better way to handle this? Maybe this document can help you solve your problem: http://developer.kde.org/documentation/library/kdeqt/kde3arch/xmlgui.html See section "Dynamical menus" Cheers, Kevin =2D-=20 Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --nextPart19341436.EeFRgKTzRx Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHdS4wnKMhG6pzZJIRAr+3AJ40GZvTxuc40Ra/pNp+Nq1RlDIbGwCfb3He gTm5TXC/qVginAw3j2ySjo8= =e+v1 -----END PGP SIGNATURE----- --nextPart19341436.EeFRgKTzRx-- --===============1684631678== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1684631678==--