summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/misc/passivepop.py
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-10 10:12:35 +0900
committerMichele Calgaro <[email protected]>2024-01-11 10:03:49 +0900
commitdb88dbbdb24193c81d3b4b893553b78cddf32eb3 (patch)
tree392ed8ab9606ee7a8a67b201e84a8b4a9e8ddb5a /examples/pytde-sampler/misc/passivepop.py
parentbab19cc2a24fceccebe4477c4af99a6a162ef998 (diff)
downloadpytde-db88dbbdb24193c81d3b4b893553b78cddf32eb3.tar.gz
pytde-db88dbbdb24193c81d3b4b893553b78cddf32eb3.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit d94985267d6f224c5a9833736762f466d264374d)
Diffstat (limited to 'examples/pytde-sampler/misc/passivepop.py')
-rw-r--r--examples/pytde-sampler/misc/passivepop.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pytde-sampler/misc/passivepop.py b/examples/pytde-sampler/misc/passivepop.py
index 316b69e..2704783 100644
--- a/examples/pytde-sampler/misc/passivepop.py
+++ b/examples/pytde-sampler/misc/passivepop.py
@@ -1,4 +1,4 @@
-from PyTQt.tqt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQLabel, SIGNAL
+from PyTQt.tqt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQLabel, TQ_SIGNAL
from tdeui import KPassivePopup, KTextEdit, KPushButton
from tdecore import TDEGlobal, TDEIcon
@@ -22,7 +22,7 @@ class MainFrame(TQFrame):
layout.addStretch(10)
- self.connect(self.button, SIGNAL('clicked()'), self.showPopups)
+ self.connect(self.button, TQ_SIGNAL('clicked()'), self.showPopups)
def showPopups(self):