diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-10 10:12:35 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:03:49 +0900 |
| commit | db88dbbdb24193c81d3b4b893553b78cddf32eb3 (patch) | |
| tree | 392ed8ab9606ee7a8a67b201e84a8b4a9e8ddb5a /examples/pytde-sampler/dialogs/edreplace.py | |
| parent | bab19cc2a24fceccebe4477c4af99a6a162ef998 (diff) | |
| download | pytde-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/pytde-sampler/dialogs/edreplace.py')
| -rw-r--r-- | examples/pytde-sampler/dialogs/edreplace.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/pytde-sampler/dialogs/edreplace.py b/examples/pytde-sampler/dialogs/edreplace.py index 249ca42..07954fe 100644 --- a/examples/pytde-sampler/dialogs/edreplace.py +++ b/examples/pytde-sampler/dialogs/edreplace.py @@ -1,4 +1,4 @@ -from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString +from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, TQ_SIGNAL, TQFont, TQString from tdecore import i18n from tdeui import KPushButton, KEdReplace, KTextEdit @@ -20,14 +20,14 @@ class MainFrame(TQFrame): buttonlayout.addWidget(self.button) buttonlayout.addStretch(1) layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showEdReplace) + self.connect(self.button, TQ_SIGNAL('clicked()'), self.showEdReplace) def showEdReplace(self): dlg = self.dlg = KEdReplace(self) - self.connect(dlg, SIGNAL('done()'), + self.connect(dlg, TQ_SIGNAL('done()'), self.doneClicked) - self.connect(dlg, SIGNAL('replace()'), + self.connect(dlg, TQ_SIGNAL('replace()'), self.replaceClicked) dlg.exec_loop() |
