summaryrefslogtreecommitdiffstats
path: root/examples/uiqxembed.py
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-10 10:12:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-11 10:03:49 +0900
commitdb88dbbdb24193c81d3b4b893553b78cddf32eb3 (patch)
tree392ed8ab9606ee7a8a67b201e84a8b4a9e8ddb5a /examples/uiqxembed.py
parentbab19cc2a24fceccebe4477c4af99a6a162ef998 (diff)
downloadpytde-db88dbbd.tar.gz
pytde-db88dbbd.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d94985267d6f224c5a9833736762f466d264374d)
Diffstat (limited to 'examples/uiqxembed.py')
-rw-r--r--examples/uiqxembed.py4
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()