Rajagopalan Srinivasan wrote:
> I think the offending code is my slot :
> 
>    procedure Add_Digit( Self : not null access Engine_Widget'Class ;
>                         Digit : Character ) ;
>    pragma Q_Slot(Add_Digit,"addDigit(char)") ;
> 
> I suspect only certain types are allowed as parameters to slots?
> 
You are right. amoc supports only limited number of types now:

bool
int
Qt::DockWidgetArea
QModelIndex
QString
QVariant
QWidget

I don't want to add support for Ada's Character as C's char, because of
semantic difference between them. But I suppose it is not too
complicated to add support for QChar. Let me known if you want to have
such support.

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

Reply via email to