summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/misc/gradientselect.py
diff options
context:
space:
mode:
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)