A
Arturo Bonechi
Hello,
I'm trying to implement the "Address Book Example" with Qt-Ruby.
http://doc.qt.nokia.com/4.7-snapshot/itemviews-addressbook.html
The problem that I face is that in the AddressWidget class, there are
two "addEntry" methods (one without parameter and the other with two
parameters) and they are both slots.
In Ruby, I think we can't have two addEntry methods in the same class.
So, what is the solution? Only one addEntry method with a hash as only
parameter?
Thank you.
I'm trying to implement the "Address Book Example" with Qt-Ruby.
http://doc.qt.nokia.com/4.7-snapshot/itemviews-addressbook.html
The problem that I face is that in the AddressWidget class, there are
two "addEntry" methods (one without parameter and the other with two
parameters) and they are both slots.
In Ruby, I think we can't have two addEntry methods in the same class.
So, what is the solution? Only one addEntry method with a hash as only
parameter?
Thank you.