diff options
Diffstat (limited to 'lib/kross/test/testgui.py')
-rw-r--r-- | lib/kross/test/testgui.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kross/test/testgui.py b/lib/kross/test/testgui.py index a7353873..98552044 100644 --- a/lib/kross/test/testgui.py +++ b/lib/kross/test/testgui.py @@ -44,8 +44,8 @@ class QtTest: apply(qt.QPushButton.__init__, (self,) + args) class ComboBox(qt.QHBox): - def __init__(self, tqparent, caption, items = []): - qt.QHBox.__init__(self, tqparent) + def __init__(self, parent, caption, items = []): + qt.QHBox.__init__(self, parent) self.setSpacing(6) label = qt.QLabel(str(caption), self) self.combobox = qt.QComboBox(self) @@ -85,8 +85,8 @@ class QtTest: self.edit.setText(filename) class Dialog(qt.QDialog): - def __init__(self, tqparent = None, name = None, modal = 0, fl = 0): - qt.QDialog.__init__(self, tqparent, name, modal, fl) + def __init__(self, parent = None, name = None, modal = 0, fl = 0): + qt.QDialog.__init__(self, parent, name, modal, fl) qt.QDialog.accept = self.accept self.setCaption("Export to HTML") #self.tqlayout() |