[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Integrating the UI of a KPart
From: Andras Mantia <amantia () freemail ! hu>
Date: 2003-03-30 0:05:16
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have an older problem with loading the XML UI of KParts. I use the kate
part, and it has groups defined for various actions like:
<Action name="file_save" group="save_merge" />
<Action name="file_save_as" group="save_merge" />
Now, in the application, where I use the part, I would like to have my own
slot to handle the saving, so I put there
<Action name="file_save" />
The problem is that after calling the guiFactory()->addClient() for the part,
it adds the "save_merge" group at the end of the menu.
If I use:
<Action name="file_save" />
<DefineGroup name="save_merge" />
obviously I will have two Save menu items.
So how can I ignore some items from the KPart XML GUI? I've tried to play with
the noMerge="1" for the <Menu> and <MenuBar>, but without any luck. :-(
Andras
- --
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+hjS8TQdfac6L/08RAuJ+AJ4mYB299cKRoSp7YcO9JyDCXfPbCACfSzPC
/0f4C1vXwgzJ+e/ixQF0G1o=
=Uf2/
-----END PGP SIGNATURE-----
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic