def __init__(self, parent, name='BaseMainWindow'):
     KMainWindow.__init__(self, parent, name)
     HasDialogs.__init__(self)
     self.app = get_application_pointer()
 def __init__(self, parent, name='BaseInfoPart'):
     KHTMLPart.__init__(self, parent, name)
     HasDialogs.__init__(self)
     self.app = get_application_pointer()
     self.dialog_parent = QWidget(self.parent(), 'dialog_parent')