summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/scripting/scripts/copycenter/CopyCenterPluginQtSQL.py
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/scripting/scripts/copycenter/CopyCenterPluginQtSQL.py')
-rw-r--r--kexi/plugins/scripting/scripts/copycenter/CopyCenterPluginQtSQL.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/plugins/scripting/scripts/copycenter/CopyCenterPluginQtSQL.py b/kexi/plugins/scripting/scripts/copycenter/CopyCenterPluginQtSQL.py
index 8f983eb5..9cb8ef93 100644
--- a/kexi/plugins/scripting/scripts/copycenter/CopyCenterPluginQtSQL.py
+++ b/kexi/plugins/scripting/scripts/copycenter/CopyCenterPluginQtSQL.py
@@ -234,8 +234,8 @@ class CopyCenterPlugin:
if table == text:
self.listview.setSelected(item,True)
self.listview.ensureItemVisible(item)
- tqt.TQObject.connect(self.listview, tqt.SIGNAL("doubleClicked(TQListViewItem*, const TQPoint&, int)"), self.okClicked)
- tqt.TQObject.connect(self.okbtn, tqt.SIGNAL("clicked()"), self.okClicked)
+ tqt.TQObject.connect(self.listview, tqt.TQ_SIGNAL("doubleClicked(TQListViewItem*, const TQPoint&, int)"), self.okClicked)
+ tqt.TQObject.connect(self.okbtn, tqt.TQ_SIGNAL("clicked()"), self.okClicked)
def okClicked(self):
item = self.listview.selectedItem()
if item == None:
@@ -267,7 +267,7 @@ class CopyCenterPlugin:
item = self.addItem((fieldinfo.name(), tqt.TQVariant.typeToName(fieldinfo.type()), opts),item)
if allfields or fieldinfo.name() in fieldslist:
self.listview.setSelected(item,True)
- tqt.TQObject.connect(self.okbtn, tqt.SIGNAL("clicked()"), self.okClicked)
+ tqt.TQObject.connect(self.okbtn, tqt.TQ_SIGNAL("clicked()"), self.okClicked)
def okClicked(self):
selitems = []
item = self.listview.firstChild()
@@ -335,18 +335,18 @@ class CopyCenterPlugin:
statusbar.setSpacing(2)
statusbar.setStretchFactor(tqt.TQWidget(statusbar),1)
self.connectbtn = tqt.TQPushButton("Connect",statusbar)
- tqt.TQObject.connect(self.connectbtn, tqt.SIGNAL("clicked()"),self.connectClicked)
+ tqt.TQObject.connect(self.connectbtn, tqt.TQ_SIGNAL("clicked()"),self.connectClicked)
self.disconnectbtn = tqt.TQPushButton("Disconnect",statusbar)
self.disconnectbtn.setEnabled(False)
- tqt.TQObject.connect(self.disconnectbtn, tqt.SIGNAL("clicked()"),self.disconnectClicked)
+ tqt.TQObject.connect(self.disconnectbtn, tqt.TQ_SIGNAL("clicked()"),self.disconnectClicked)
tablebox = tqt.TQHBox(parent)
tablelabel = tqt.TQLabel("Table:",tablebox)
self.tableedit = tqt.TQLineEdit(self.plugin.options['table'],tablebox)
- tqt.TQObject.connect(self.tableedit, tqt.SIGNAL("textChanged(const TQString&)"), self.tableEditChanged)
+ tqt.TQObject.connect(self.tableedit, tqt.TQ_SIGNAL("textChanged(const TQString&)"), self.tableEditChanged)
self.tablebtn = tqt.TQPushButton("...",tablebox)
self.tablebtn.setEnabled(False)
- tqt.TQObject.connect(self.tablebtn, tqt.SIGNAL("clicked()"), self.tableBtnClicked)
+ tqt.TQObject.connect(self.tablebtn, tqt.TQ_SIGNAL("clicked()"), self.tableBtnClicked)
tablelabel.setBuddy(self.tableedit)
tablebox.setStretchFactor(self.tableedit,1)
@@ -355,7 +355,7 @@ class CopyCenterPlugin:
self.fieldedit = tqt.TQLineEdit(self.plugin.options['fields'],fieldbox)
self.fieldbtn = tqt.TQPushButton("...",fieldbox)
self.fieldbtn.setEnabled(False)
- tqt.TQObject.connect(self.fieldbtn, tqt.SIGNAL("clicked()"), self.fieldBtnClicked)
+ tqt.TQObject.connect(self.fieldbtn, tqt.TQ_SIGNAL("clicked()"), self.fieldBtnClicked)
fieldlabel.setBuddy(self.fieldedit)
fieldbox.setStretchFactor(self.fieldedit,1)
@@ -381,7 +381,7 @@ class CopyCenterPlugin:
operationlabel.setBuddy(self.mainwidget.operationedit)
opbox.setStretchFactor(self.mainwidget.operationedit,1)
self.box = None
- tqt.TQObject.connect(self.mainwidget.operationedit, tqt.SIGNAL("activated(int)"), self.operationActivated)
+ tqt.TQObject.connect(self.mainwidget.operationedit, tqt.TQ_SIGNAL("activated(int)"), self.operationActivated)
self.operationActivated()
def operationActivated(self, **args):
if self.box: