(cls, *args, **kw)
| 46 | """ |
| 47 | |
| 48 | def __new__(cls, *args, **kw): |
| 49 | # We initialize QObject as early as possible. Without this, Qt complains |
| 50 | # if SuperQObject is not the first class in the super class list. |
| 51 | inst = QtCore.QObject.__new__(cls) |
| 52 | QtCore.QObject.__init__(inst) |
| 53 | return inst |
| 54 | |
| 55 | def __init__(self, *args, **kw): |
| 56 | # Emulate super by calling the next method in the MRO, if there is one. |