diff options
Diffstat (limited to 'examples/pytde-sampler/dialogs/msgbox.py')
-rw-r--r-- | examples/pytde-sampler/dialogs/msgbox.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/pytde-sampler/dialogs/msgbox.py b/examples/pytde-sampler/dialogs/msgbox.py index 697dd3c..3b993bd 100644 --- a/examples/pytde-sampler/dialogs/msgbox.py +++ b/examples/pytde-sampler/dialogs/msgbox.py @@ -5,7 +5,7 @@ from random import random from traceback import print_exc from io import StringIO -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 KGuiItem, KPushButton, KMessageBox, KTextEdit @@ -41,47 +41,47 @@ class MainFrame(TQFrame): layout.addMultiCellWidget(self.help, 0, 1, 0, 1) button = KPushButton(i18n('Question Yes-No'), self) - self.connect(button, SIGNAL('clicked()'), self.questionYesNo) + self.connect(button, TQ_SIGNAL('clicked()'), self.questionYesNo) layout.addWidget(button, 2, 0) layout.setRowStretch(2, 0) button = KPushButton(i18n('Warning Yes-No-Cancel'), self) - self.connect(button, SIGNAL('clicked()'), self.warningYesNoCancel) + self.connect(button, TQ_SIGNAL('clicked()'), self.warningYesNoCancel) layout.addWidget(button, 3, 0) layout.setRowStretch(3, 0) button = KPushButton(i18n('Warning Continue-Cancel-List'), self) - self.connect(button, SIGNAL('clicked()'), self.warningContinueCancelList) + self.connect(button, TQ_SIGNAL('clicked()'), self.warningContinueCancelList) layout.addWidget(button, 4, 0) layout.setRowStretch(4, 0) button = KPushButton(i18n('Error'), self) - self.connect(button, SIGNAL('clicked()'), self.error) + self.connect(button, TQ_SIGNAL('clicked()'), self.error) layout.addWidget(button, 5, 0) layout.setRowStretch(5, 0) button = KPushButton(i18n('Detailed Error'), self) - self.connect(button, SIGNAL('clicked()'), self.detailedError) + self.connect(button, TQ_SIGNAL('clicked()'), self.detailedError) layout.addWidget(button, 6, 0) layout.setRowStretch(6, 0) button = KPushButton(i18n('Sorry'), self) - self.connect(button, SIGNAL('clicked()'), self.sorry) + self.connect(button, TQ_SIGNAL('clicked()'), self.sorry) layout.addWidget(button, 7, 0) layout.setRowStretch(7, 0) button = KPushButton(i18n('Detailed Sorry'), self) - self.connect(button, SIGNAL('clicked()'), self.detailedSorry) + self.connect(button, TQ_SIGNAL('clicked()'), self.detailedSorry) layout.addWidget(button, 8, 0) layout.setRowStretch(8, 0) button = KPushButton(i18n('Information'), self) - self.connect(button, SIGNAL('clicked()'), self.information) + self.connect(button, TQ_SIGNAL('clicked()'), self.information) layout.addWidget(button, 9, 0) layout.setRowStretch(9, 0) button = KPushButton(i18n('Information List'), self) - self.connect(button, SIGNAL('clicked()'), self.informationList) + self.connect(button, TQ_SIGNAL('clicked()'), self.informationList) layout.addWidget(button, 10, 0) layout.setRowStretch(10, 0) |