diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /lib/kross/test/testgui.py | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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() |