Stefano Crocco wrote in post #962967: > > Yes, you need to do that also for arrays, except when they stand for a > QStringList (and maybe some other specialized class). > >> One last question : >> In the Qt-Ruby declaration of signals and slots, the C++ keywords >> "const" and "&" are sometimes added, but they aren't added in the code >> when a slot is "connected" (only the C++ type is mentioned). >> >> For example : >> ... >> slots 'a_slot(const QString&)' >> ... >> connect an_object, SIGNAL('a_signal(QString)'), self, >> SLOT('a_slot(QString)') >> ... >> >> Must I add those keywords to the declaration or are they optional? When >> do I know that I have to add them? > > No, you don't need them. The only modifier you need is the * for > pointers. For example, > > slots 'my_slot(QObject*)' > > would be correct, while > > slots 'my_slot(QObject)' > > would give you an error > > Stefano Ok, thanks for all this details! Back to code, now! Thank you. -- Posted via http://www.ruby-forum.com/.