Lines Matching refs:orig
21 def toKVOClass(orig, new):
24 origdct = dict(orig.__dict__)
35 _kvoclassed[new] = orig
47 orig = FooClass #type(self)
48 super(orig, self).addObserver_forKeyPath_options_context_(observer, keyPath, options, context)
50 print orig, type(self), new
51 if orig is not new:
53 self.__class__ = toKVOClass(orig, new)
57 orig = type(self)
58 super(orig, self).removeObserver_forKeyPath_(observer, keyPath)
60 print orig, type(self), new
61 if orig is not new:
63 self.__class__ = fromKVOClass(orig)