void JSObjectProxy::addBindingsSlots( KJS::ExecState *exec, KJS::Object &object ) { // Publish slots with supported signatures as methods. QMetaObject * mo = obj->metaObject(); QStrList slotList( mo->slotNames( true ) ); for ( QStrListIterator iter( slotList ); iter.current(); ++iter ) { addSlotBinding( iter.current(), exec, object ); } }