diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-10 10:12:35 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-10 10:12:35 +0900 |
| commit | d94985267d6f224c5a9833736762f466d264374d (patch) | |
| tree | 493b94e70d01d14903bf19aece4af02da401190c /templates/basic/basicapp.py | |
| parent | 36e3e3e1b3a8d802d926b424391e2cc9d3b19c20 (diff) | |
| download | pytde-d94985267d6f224c5a9833736762f466d264374d.tar.gz pytde-d94985267d6f224c5a9833736762f466d264374d.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'templates/basic/basicapp.py')
| -rw-r--r-- | templates/basic/basicapp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/basic/basicapp.py b/templates/basic/basicapp.py index 938e2e9..6729fe3 100644 --- a/templates/basic/basicapp.py +++ b/templates/basic/basicapp.py @@ -29,7 +29,7 @@ copyright holder. import sys -from PyTQt.tqt import SIGNAL +from PyTQt.tqt import TQ_SIGNAL from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData from tdeui import TDEMainWindow @@ -54,5 +54,5 @@ TDECmdLineArgs.init (sys.argv, aboutData) app = TDEApplication () mainWindow = MainWin (None, "main window") mainWindow.show() -app.connect (app, SIGNAL ("lastWindowClosed()"), app.quit) +app.connect (app, TQ_SIGNAL ("lastWindowClosed()"), app.quit) app.exec_loop() |
