Thanks for your answer. It was the good solution.

On Sun, Jan 3, 2010 at 11:09 PM, [email protected] <[email protected]> wrote:

> As you can see here, in the listing, you cannot pass Standard.String as
> label parameter to this function,
> cause its type Q_String, but not String.
> You should create Q_String from ada String:
>
> Tab_Id := tabwidg.Add_Tab (Text_Edit2, Qt4.Strings.From_Utf_8 ("default"));
>
>
> 04.01.2010 01:03, Loic Derrien пишет:
>
>  Recover the output does not change the problem. I always had this error :
>>
>>
>>
>>>  no selector "Add_Tab" for type "Q_Tab_Widget'Class" defined at
>>> qt4-tab_widgets.ads:51
>>>
>>>
>>
>> The fonction add_tabb is defined in the same file at line 59
>>
>>
>>
>>> type Q_Tab_Widget is limited interface
>>>
>>>
>>>
>> and Qt4.Widgets.Q_Widget;
>>
>>
>>>
>>>
>>
>>
>>> type Q_Tab_Widget_Access is
>>>
>>>
>>>
>> access all Q_Tab_Widget'Class;
>>
>>
>>>
>>>
>>
>>
>>> type Q_Tab_Widget_Pointer is tagged;
>>>
>>>
>>>
>>
>>
>>> function Add_Tab
>>>
>>>
>>>
>> (Self : not null access Q_Tab_Widget'Class;
>>
>>
>>>
>>>
>> Widget : not null access Qt4.Widgets.Q_Widget'Class;
>>
>>
>>>
>>>
>> Label : Qt4.Strings.Q_String)
>>
>>
>>>
>>>
>>   return Qt4.Q_Integer;
>>
>>
>>>
>>>
>>
>>
>
>
> --
> Best regards,
> Alexander Basov.
>
>
>
> _______________________________________________
> qtada-users mailing list
> [email protected]
> http://lists.qtada.com/mailman/listinfo/qtada-users_lists.qtada.com
>



-- 
Loic Derrien
MiddleWare Reseau PlayAll
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.qtada.com/pipermail/qtada-users_lists.qtada.com/attachments/20100103/67d2062d/attachment.html>
_______________________________________________
qtada-users mailing list
[email protected]
http://lists.qtada.com/mailman/listinfo/qtada-users_lists.qtada.com

Reply via email to