summaryrefslogtreecommitdiffstats
path: root/kspread/plugins/scripting/scripts/exporthtml/ExportHtml.py
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:30:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 12:36:03 +0900
commitc0332621bc998c9786f4841e86a62b7711fe4abf (patch)
tree38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /kspread/plugins/scripting/scripts/exporthtml/ExportHtml.py
parent6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff)
downloadkoffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz
koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kspread/plugins/scripting/scripts/exporthtml/ExportHtml.py')
-rwxr-xr-xkspread/plugins/scripting/scripts/exporthtml/ExportHtml.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kspread/plugins/scripting/scripts/exporthtml/ExportHtml.py b/kspread/plugins/scripting/scripts/exporthtml/ExportHtml.py
index a72c5f6c7..70f0918f6 100755
--- a/kspread/plugins/scripting/scripts/exporthtml/ExportHtml.py
+++ b/kspread/plugins/scripting/scripts/exporthtml/ExportHtml.py
@@ -81,7 +81,7 @@ class Dialog(tqt.TQDialog):
filelabel = tqt.TQLabel("File:",filebox)
self.fileedit = tqt.TQLineEdit(self.getDefaultFile(),filebox)
btn = tqt.TQPushButton("...",filebox)
- tqt.TQObject.connect(btn, tqt.SIGNAL("clicked()"),self.browseClicked)
+ tqt.TQObject.connect(btn, tqt.TQ_SIGNAL("clicked()"),self.browseClicked)
filelabel.setBuddy(self.fileedit)
filebox.setStretchFactor(self.fileedit,1)
@@ -90,10 +90,10 @@ class Dialog(tqt.TQDialog):
okbtn = tqt.TQPushButton(btnbox)
okbtn.setText("Export")
okbtn.setDefault(True)
- tqt.TQObject.connect(okbtn,tqt.SIGNAL("clicked()"),self.startExport)
+ tqt.TQObject.connect(okbtn,tqt.TQ_SIGNAL("clicked()"),self.startExport)
cancelbtn = tqt.TQPushButton(btnbox)
cancelbtn.setText("Cancel")
- tqt.TQObject.connect(cancelbtn,tqt.SIGNAL("clicked()"),self.close)
+ tqt.TQObject.connect(cancelbtn,tqt.TQ_SIGNAL("clicked()"),self.close)
box.setMinimumWidth(480)