diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:22:52 +0900 |
| commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
| tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kspread/plugins/scripting/scripts/exporthtml | |
| parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
| download | koffice-e1b37ac1.tar.gz koffice-e1b37ac1.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'kspread/plugins/scripting/scripts/exporthtml')
| -rwxr-xr-x | kspread/plugins/scripting/scripts/exporthtml/ExportHtml.py | 6 |
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) |
