diff options
author | Michele Calgaro <[email protected]> | 2024-01-10 10:12:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-10 10:12:35 +0900 |
commit | d94985267d6f224c5a9833736762f466d264374d (patch) | |
tree | 493b94e70d01d14903bf19aece4af02da401190c /examples/uiqxembed.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 <[email protected]>
Diffstat (limited to 'examples/uiqxembed.py')
-rw-r--r-- | examples/uiqxembed.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/uiqxembed.py b/examples/uiqxembed.py index 9778e1e..c912ae1 100644 --- a/examples/uiqxembed.py +++ b/examples/uiqxembed.py @@ -4,7 +4,7 @@ """ import sys -from PyTQt.tqt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT +from PyTQt.tqt import TQIconSet, TQProcess, TQTimer, TQ_SIGNAL, TQ_SLOT from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, TDEIcon from tdecore import KWin, KWinModule @@ -115,5 +115,5 @@ if __name__ == '__main__': app = TDEApplication() mainWindow = ExampleMain() mainWindow.show() - app.connect(app, SIGNAL('lastWindowClosed()'), app, SLOT('quit()')) + app.connect(app, TQ_SIGNAL('lastWindowClosed()'), app, TQ_SLOT('quit()')) app.exec_loop() |