On 04/09/2010 02:42 PM, Rajagopalan Srinivasan wrote:
> when I had a bug in my code like the following, amoc did not catch that.
> 
>  procedure warpClicked (Self : not null access Captcha_Window);
>   pragma Q_Slot (warpClicked, "warpClicked()");
> 
>    procedure saveClicked (Self : not null access Captcha_Window);
>    pragma Q_Slot (warpClicked, "saveClicked()");
> 
> The result was that warpClicked was invoked when I expected saveClicked.
> 
Program do that you ask to do :-) It is definitely strange amoc MUST
check this situation, thank you for report!

PS. By the way, second argument of Q_Slot and Q_Signal pragmas is not
required now, amoc even able to transform Ada-style names like
Wrap_Clicked to C++-style name wrapClicked and construct set of parameters.

_______________________________________________
qtada-users mailing list
[email protected]
http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com

Reply via email to