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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/plugins/scripting/scripts/copycenter/CopyCenter.py b/kexi/plugins/scripting/scripts/copycenter/CopyCenter.py
index 43fa7e25..bdec927b 100644
--- a/kexi/plugins/scripting/scripts/copycenter/CopyCenter.py
+++ b/kexi/plugins/scripting/scripts/copycenter/CopyCenter.py
@@ -210,7 +210,7 @@ def runGuiApp(copycenter, name):
if filename != "": self.jobfilecombobox.setCurrentText(filename)
def escape(self,s):
- return s.tqreplace("&", "&amp;").tqreplace("'", "&apos;").tqreplace("<", "&lt;").tqreplace(">", "&gt;").tqreplace('"', "&quot;")
+ return s.replace("&", "&amp;").replace("'", "&apos;").replace("<", "&lt;").replace(">", "&gt;").replace('"', "&quot;")
def writeOptions(self,writer,pluginname,plugininst):
print "CopyJobWidget.writeOptions"
@@ -271,7 +271,7 @@ def runGuiApp(copycenter, name):
def text(self, columnindex):
if columnindex == 1:
- if qt.QListViewItem.text(self,0).tqcontains("password"):
+ if qt.QListViewItem.text(self,0).contains("password"):
return "*" * len(str(qt.QListViewItem.text(self,1)))
return qt.QListViewItem.text(self,columnindex)
return ListViewItem(pluginimpl, self.listview, parentitem, afteritem)