diff options
Diffstat (limited to 'kexi/plugins/scripting/scripts/copycenter/CopyCenter.py')
-rw-r--r-- | kexi/plugins/scripting/scripts/copycenter/CopyCenter.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/plugins/scripting/scripts/copycenter/CopyCenter.py b/kexi/plugins/scripting/scripts/copycenter/CopyCenter.py index 3a2734aa..43fa7e25 100644 --- a/kexi/plugins/scripting/scripts/copycenter/CopyCenter.py +++ b/kexi/plugins/scripting/scripts/copycenter/CopyCenter.py @@ -238,19 +238,19 @@ def runGuiApp(copycenter, name): f.close() print "File \%s\" successfully written." % filename - def addItem(self, pluginimpl, afteritem = None, tqparentitem = None): + def addItem(self, pluginimpl, afteritem = None, parentitem = None): #print "CopyJobWidget.addItem" class ListViewItem(qt.QListViewItem): - def __init__(self, pluginimpl, listview, tqparentitem = None, afteritem = None): + def __init__(self, pluginimpl, listview, parentitem = None, afteritem = None): self.pluginimpl = pluginimpl - if tqparentitem == None: + if parentitem == None: qt.QListViewItem.__init__(self,listview) self.setOpen(True) else: if afteritem == None: - qt.QListViewItem.__init__(self,tqparentitem) + qt.QListViewItem.__init__(self,parentitem) else: - qt.QListViewItem.__init__(self,tqparentitem,afteritem) + qt.QListViewItem.__init__(self,parentitem,afteritem) self.setRenameEnabled(1,True) def startRename(self, columnindex): qt.QListViewItem.startRename(self,columnindex) @@ -274,7 +274,7 @@ def runGuiApp(copycenter, name): if qt.QListViewItem.text(self,0).tqcontains("password"): return "*" * len(str(qt.QListViewItem.text(self,1))) return qt.QListViewItem.text(self,columnindex) - return ListViewItem(pluginimpl, self.listview, tqparentitem, afteritem) + return ListViewItem(pluginimpl, self.listview, parentitem, afteritem) def updateItem(self,pluginname,pluginimpl): #print "CopyJobWidget.updateItem" |