注册多个对象 @param objects: 对象列表 @type objects: list
(self, objects)
| 78 | self.m_webchannel.registerObject(name, obj) |
| 79 | |
| 80 | def registerObjects(self, objects): |
| 81 | """注册多个对象 |
| 82 | @param objects: 对象列表 |
| 83 | @type objects: list |
| 84 | """ |
| 85 | for name, obj in objects: |
| 86 | self.registerObject(name, obj) |
| 87 | |
| 88 | def deregisterObject(self, obj): |
| 89 | """注销对象 |
nothing calls this directly
no test coverage detected