From d94985267d6f224c5a9833736762f466d264374d Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Wed, 10 Jan 2024 10:12:35 +0900
Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 examples/pytde-sampler/dialogs/progress.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'examples/pytde-sampler/dialogs/progress.py')

diff --git a/examples/pytde-sampler/dialogs/progress.py b/examples/pytde-sampler/dialogs/progress.py
index 1f4ab4b..3ac1182 100644
--- a/examples/pytde-sampler/dialogs/progress.py
+++ b/examples/pytde-sampler/dialogs/progress.py
@@ -2,7 +2,7 @@ iconName = 'go'
 labelText = 'KProgressDialog'
 
 
-from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, TQ_SIGNAL
 from tdecore import i18n
 from tdeui import KPushButton, KProgressDialog, KTextEdit
 
@@ -22,7 +22,7 @@ class MainFrame(TQFrame):
         buttonlayout.addWidget(self.button)
         buttonlayout.addStretch(1)
         layout.addStretch(1)
-        self.connect(self.button, SIGNAL('clicked()'), self.showProgressDialog)
+        self.connect(self.button, TQ_SIGNAL('clicked()'), self.showProgressDialog)
 
     def showProgressDialog(self):
         self.dlg = dlg = KProgressDialog(self, None, 'Sample Progress Dialog', 
@@ -30,7 +30,7 @@ class MainFrame(TQFrame):
         dlg.progressBar().setTotalSteps(20)
         dlg.progressBar().setFormat('% complete: %p - value: %v - maximum: %m')
         timer = TQTimer(self)
-        self.connect(timer, SIGNAL('timeout()'), self.updateProgress)
+        self.connect(timer, TQ_SIGNAL('timeout()'), self.updateProgress)
         timer.start(250, False)
         dlg.exec_loop()
         timer.stop()
-- 
cgit v1.2.1