summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/scripting/scripts/copycenter/CopyCenter.py
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/scripting/scripts/copycenter/CopyCenter.py')
-rw-r--r--kexi/plugins/scripting/scripts/copycenter/CopyCenter.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/kexi/plugins/scripting/scripts/copycenter/CopyCenter.py b/kexi/plugins/scripting/scripts/copycenter/CopyCenter.py
index bdec927b..6f75bdea 100644
--- a/kexi/plugins/scripting/scripts/copycenter/CopyCenter.py
+++ b/kexi/plugins/scripting/scripts/copycenter/CopyCenter.py
@@ -89,9 +89,9 @@ def runGuiApp(copycenter, name):
#--------------------------------------------------------------------
class ListViewDialog(qt.QDialog):
- def __init__(self, tqparent, caption):
- qt.QDialog.__init__(self, tqparent, "ProgressDialog", 1)
- self.tqparent = tqparent
+ def __init__(self, parent, caption):
+ qt.QDialog.__init__(self, parent, "ProgressDialog", 1)
+ self.parent = parent
self.setCaption(caption)
tqlayout = qt.QVBoxLayout(self)
box = qt.QVBox(self)
@@ -124,9 +124,9 @@ def runGuiApp(copycenter, name):
#--------------------------------------------------------------------
class CopyJobWidget(qt.QVBox):
- def __init__(self,dialog,tqparent):
+ def __init__(self,dialog,parent):
self.dialog = dialog
- qt.QVBox.__init__(self,tqparent)
+ qt.QVBox.__init__(self,parent)
self.setSpacing(6)
typebox = qt.QHBox(self)
typebox.setSpacing(6)
@@ -165,7 +165,7 @@ def runGuiApp(copycenter, name):
def doubleClicked(self, **args):
print "CopyJobWidget.doubleClicked"
item = self.listview.selectedItem()
- if item and item.tqparent(): item.startRename(1)
+ if item and item.parent(): item.startRename(1)
def readOptions(self,domnode,plugininst):
print "CopyJobWidget.readOptions plugintype=\"%s\"" % plugininst.plugintype
@@ -442,13 +442,13 @@ def runGuiApp(copycenter, name):
#--------------------------------------------------------------------
class DataSelector(qt.QVGroupBox):
- def __init__(self, plugintype, title, caption, tqparent, dialog, items):
+ def __init__(self, plugintype, title, caption, parent, dialog, items):
self.plugintype = plugintype
self.pluginimpl = None
self.dialog = dialog
self.mainbox = None
- qt.QVGroupBox.__init__(self,title,tqparent)
+ qt.QVGroupBox.__init__(self,title,parent)
self.setInsideMargin(6)
self.setInsideSpacing(0)
@@ -520,7 +520,7 @@ def runGuiApp(copycenter, name):
#--------------------------------------------------------------------
class Dialog(qt.QDialog):
- def __init__(self, copycenter, tqparent):
+ def __init__(self, copycenter, parent):
self.copycenter = copycenter
import qt
@@ -528,7 +528,7 @@ def runGuiApp(copycenter, name):
import sys
self.ListViewDialog = ListViewDialog
- qt.QDialog.__init__(self, tqparent, "Dialog", 1, qt.Qt.WDestructiveClose)
+ qt.QDialog.__init__(self, parent, "Dialog", 1, qt.Qt.WDestructiveClose)
self.setCaption("Copy Center")
tqlayout = qt.QVBoxLayout(self)
box = qt.QVBox(self)