diff options
Diffstat (limited to 'examples/pytde-sampler/misc')
-rw-r--r-- | examples/pytde-sampler/misc/gradientselect.py | 8 | ||||
-rw-r--r-- | examples/pytde-sampler/misc/passivepop.py | 4 | ||||
-rw-r--r-- | examples/pytde-sampler/misc/window_info.py | 4 |
3 files changed, 8 insertions, 8 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) 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): diff --git a/examples/pytde-sampler/misc/window_info.py b/examples/pytde-sampler/misc/window_info.py index cf95afe..c222413 100644 --- a/examples/pytde-sampler/misc/window_info.py +++ b/examples/pytde-sampler/misc/window_info.py @@ -1,7 +1,7 @@ -from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQ_SIGNAL from tdeui import KWindowInfo, KPushButton, KTextEdit from tdecore import i18n, TDEApplication @@ -21,7 +21,7 @@ class MainFrame(TQFrame): buttonlayout.addWidget(self.button) buttonlayout.addStretch(1) layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showWindowInfo) + self.connect(self.button, TQ_SIGNAL('clicked()'), self.showWindowInfo) def showWindowInfo(self): |