summaryrefslogtreecommitdiffstats
path: root/languages/python/app_templates/pyqt/app.py
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-14 14:24:33 +0900
committerMichele Calgaro <[email protected]>2024-01-14 14:24:33 +0900
commit35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c (patch)
treebb3c7d39dd8592f3676cbd663a3cc42c7b288b41 /languages/python/app_templates/pyqt/app.py
parent59f10590f7686267df6e294111a2ff5661089026 (diff)
downloadtdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.tar.gz
tdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'languages/python/app_templates/pyqt/app.py')
-rw-r--r--languages/python/app_templates/pyqt/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/python/app_templates/pyqt/app.py b/languages/python/app_templates/pyqt/app.py
index d2207de3..960dcf40 100644
--- a/languages/python/app_templates/pyqt/app.py
+++ b/languages/python/app_templates/pyqt/app.py
@@ -262,7 +262,7 @@ def main(args):
app=QApplication(args)
mainWindow = %{APPNAME}()
mainWindow.show()
- app.connect(app, SIGNAL("lastWindowClosed()"), app, SLOT("quit()"))
+ app.connect(app, TQ_SIGNAL("lastWindowClosed()"), app, TQ_SLOT("quit()"))
app.exec_loop()