summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/dialogs/input.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pytde-sampler/dialogs/input.py')
-rw-r--r--examples/pytde-sampler/dialogs/input.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/pytde-sampler/dialogs/input.py b/examples/pytde-sampler/dialogs/input.py
index a297e37..7970a50 100644
--- a/examples/pytde-sampler/dialogs/input.py
+++ b/examples/pytde-sampler/dialogs/input.py
@@ -1,7 +1,7 @@
iconName = 'editclear'
labelText = 'KInputDialog'
-from PyTQt.tqt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL
+from PyTQt.tqt import TQFrame, TQGridLayout, TQLabel, TQStringList, TQ_SIGNAL
from tdecore import i18n
from tdeui import KPushButton, KInputDialog, KTextEdit
@@ -24,28 +24,28 @@ class MainFrame(TQFrame):
layout.addMultiCellWidget(self.help, 0, 1, 0, 1)
button = KPushButton(i18n('Get Text'), self)
- self.connect(button, SIGNAL('clicked()'), self.getText)
+ self.connect(button, TQ_SIGNAL('clicked()'), self.getText)
self.getTextLabel = TQLabel('text value', self)
layout.addWidget(button, 2, 0)
layout.addWidget(self.getTextLabel, 2, 1)
layout.setRowStretch(2, 0)
button = KPushButton(i18n('Get Integer'), self)
- self.connect(button, SIGNAL('clicked()'), self.getInt)
+ self.connect(button, TQ_SIGNAL('clicked()'), self.getInt)
self.getIntLabel = TQLabel('0', self)
layout.addWidget(self.getIntLabel, 3, 1)
layout.addWidget(button, 3, 0)
layout.setRowStretch(3, 0)
button = KPushButton(i18n('Get Double'), self)
- self.connect(button, SIGNAL('clicked()'), self.getDouble)
+ self.connect(button, TQ_SIGNAL('clicked()'), self.getDouble)
self.getDoubleLabel = TQLabel('0.0', self)
layout.addWidget(self.getDoubleLabel, 4, 1)
layout.addWidget(button, 4, 0)
layout.setRowStretch(4, 0)
button = KPushButton(i18n('Get Item'), self)
- self.connect(button, SIGNAL('clicked()'), self.getItem)
+ self.connect(button, TQ_SIGNAL('clicked()'), self.getItem)
self.getItemLabel = TQLabel(self.items[0], self)
layout.addWidget(button, 5, 0)
layout.addWidget(self.getItemLabel, 5, 1)