summaryrefslogtreecommitdiffstats
path: root/examples/semaphore.py
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-08 11:54:27 +0900
committerMichele Calgaro <[email protected]>2024-01-08 12:02:42 +0900
commit7d5aea7e8497095f76841f3dd8f2eab9c4cb58aa (patch)
treecf2ca395f0812f228baba1d7f2a79c5b91c56263 /examples/semaphore.py
parent456d0fb6a207e9c80593967f2e37ddd21d32f5a4 (diff)
downloadpytqt-7d5aea7e8497095f76841f3dd8f2eab9c4cb58aa.tar.gz
pytqt-7d5aea7e8497095f76841f3dd8f2eab9c4cb58aa.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/semaphore.py')
-rwxr-xr-xexamples/semaphore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/semaphore.py b/examples/semaphore.py
index 7988e6c..e948f2d 100755
--- a/examples/semaphore.py
+++ b/examples/semaphore.py
@@ -119,7 +119,7 @@ class SemaphoreExample(TQWidget):
greenSem = TQSemaphore(1)
self.button = TQPushButton("&Ignition!",self)
- self.connect(self.button,SIGNAL("clicked()"),self.startExample)
+ self.connect(self.button,TQ_SIGNAL("clicked()"),self.startExample)
self.mlineedit = TQMultiLineEdit(self)
self.label = TQLabel(self)