2008/10/2 Emanuel Rumpf <[EMAIL PROTECTED]>:
>
> 2008/10/2 Chris Cannam <[EMAIL PROTECTED]>:
>>
>> I'm concerned that making ad-hoc changes ....
>> .... to multi-line QAction construction and property setups
>> may only be making it harder to carry out a nice uniform transfer to a
>> new mechanism,
>>
I don't think so.
Because kde actions
used different names (toggleAction, radioAction,...)
and parameters.
I've actually tried scripting auto-conversion for
the kde actions - with very limited success.

I started converting the Actions early.
Most of them are converted already.
So the code is almost the sames, as it was with
kde. Not the best option maybe,
but not so bad at all.

The rc-files defined the menus and created the
connections.

Regarding the current situation the most simple
thing to do
(A:) would be to include a simple and lightweight xml-library
and immitate the old behavior.

(B:) Don't include xml library and xml-files, instead hard-code menus and
add the actions to it. (code only solution)
( This would require us to re-create the menu-structure )

(C:) Think about a complete new way.
       Maybe I will write something in the next mail.




I don't see, why we would need to manage menu state.
Doesn't qt handle this automatically? (selection, deselection)



> A unified call for creating and connecting those would
> of course be better. (But a lot more work to change the existing
> actions to use it.)
>

I don't know, why I've not thought of this sooner.


Best Regards,
Emanuel

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to