summaryrefslogtreecommitdiffstats
path: root/lib/kross/test/testgui.py
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /lib/kross/test/testgui.py
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'lib/kross/test/testgui.py')
-rw-r--r--lib/kross/test/testgui.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/kross/test/testgui.py b/lib/kross/test/testgui.py
index 6a629c66..22b6f04b 100644
--- a/lib/kross/test/testgui.py
+++ b/lib/kross/test/testgui.py
@@ -89,27 +89,27 @@ class QtTest:
qt.QDialog.__init__(self, parent, name, modal, fl)
qt.QDialog.accept = self.accept
self.setCaption("Export to HTML")
- #self.tqlayout()
+ #self.layout()
- self.tqlayout = qt.QVBoxLayout(self)
- self.tqlayout.setSpacing(6)
- self.tqlayout.setMargin(11)
+ self.layout = qt.QVBoxLayout(self)
+ self.layout.setSpacing(6)
+ self.layout.setMargin(11)
infolabel = qt.QLabel("Export the data of a table or a query to a HTML-file.", self)
- self.tqlayout.addWidget(infolabel)
+ self.layout.addWidget(infolabel)
source = ComboBox(self, "Datasource:")
- self.tqlayout.addWidget(source)
+ self.layout.addWidget(source)
self.exporttype = ComboBox(self, "Style:", ["Plain","Paper","Desert","Blues"])
- self.tqlayout.addWidget(self.exporttype)
+ self.layout.addWidget(self.exporttype)
self.filechooser = FileChooser(self)
- self.tqlayout.addWidget(self.filechooser)
+ self.layout.addWidget(self.filechooser)
buttonbox = qt.QHBox(self)
buttonbox.setSpacing(6)
- self.tqlayout.addWidget(buttonbox)
+ self.layout.addWidget(buttonbox)
savebutton = Button("Save", buttonbox)
qt.QObject.connect(savebutton, qt.SIGNAL("clicked()"), self, qt.SLOT("accept()"))