summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/misc/gradientselect.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-10 10:12:35 +0900
commitd94985267d6f224c5a9833736762f466d264374d (patch)
tree493b94e70d01d14903bf19aece4af02da401190c /examples/pytde-sampler/misc/gradientselect.py
parent36e3e3e1b3a8d802d926b424391e2cc9d3b19c20 (diff)
downloadpytde-d94985267d6f224c5a9833736762f466d264374d.tar.gz
pytde-d94985267d6f224c5a9833736762f466d264374d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/pytde-sampler/misc/gradientselect.py')
-rw-r--r--examples/pytde-sampler/misc/gradientselect.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/pytde-sampler/misc/gradientselect.py b/examples/pytde-sampler/misc/gradientselect.py
index 4b2ee9e..94f66e0 100644
--- a/examples/pytde-sampler/misc/gradientselect.py
+++ b/examples/pytde-sampler/misc/gradientselect.py
@@ -1,4 +1,4 @@
-from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQColor, TQSizePolicy, TQLabel
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQ_SIGNAL, TQColor, TQSizePolicy, TQLabel
from tdecore import i18n
from tdeui import KPushButton, KGradientSelector, KTextEdit, KDualColorButton, KColorPatch
@@ -38,11 +38,11 @@ class MainFrame(TQFrame):
layout.addWidget(self.selector, 10)
- self.connect(self.dualButton, SIGNAL('fgChanged(const TQColor &)'),
+ self.connect(self.dualButton, TQ_SIGNAL('fgChanged(const TQColor &)'),
self.selector.setFirstColor)
- self.connect(self.dualButton, SIGNAL('bgChanged(const TQColor &)'),
+ self.connect(self.dualButton, TQ_SIGNAL('bgChanged(const TQColor &)'),
self.selector.setSecondColor)
- self.connect(self.selector, SIGNAL('valueChanged(int)'),
+ self.connect(self.selector, TQ_SIGNAL('valueChanged(int)'),
self.updateValue)