From: Peter Zotov Date: 2012-08-31T20:15:55+09:00 Subject: Re: Qt signals driving me crazy Damjan Rems писал 31.08.2012 10:58: > I oversleep problem a little, looked into source code and found > metaObject().signalNames method. The catch is that if I create > TreeWidget like: > > t = Qt::TreeWidget.new > p t.metaObject().signalNames > > I get nice output of all available signals, but if I write > > p self.metaObject().signalNames > > inside my defined TreeView class i get []. Where is the catch? As far as I understand, #metaObject only describes the exact class it was called on, not a full ancestor tree. You might need to walk every superclass to get complete information. -- WBR, Peter Zotov.