diff options
Diffstat (limited to 'examples/pytde-sampler/dialogs/tip.py')
-rw-r--r-- | examples/pytde-sampler/dialogs/tip.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pytde-sampler/dialogs/tip.py b/examples/pytde-sampler/dialogs/tip.py index b9e8b3d..9238327 100644 --- a/examples/pytde-sampler/dialogs/tip.py +++ b/examples/pytde-sampler/dialogs/tip.py @@ -3,7 +3,7 @@ labelText = 'KTipDialog' import os -from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL +from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQ_SIGNAL from tdecore import i18n from tdeui import KPushButton, KTipDatabase, KTipDialog, KTextEdit @@ -22,7 +22,7 @@ class MainFrame(TQFrame): buttonlayout.addWidget(self.button) buttonlayout.addStretch(1) layout.addStretch(1) - self.connect(self.button, SIGNAL('clicked()'), self.showTipDialog) + self.connect(self.button, TQ_SIGNAL('clicked()'), self.showTipDialog) def showTipDialog(self): filename = os.path.abspath(os.path.join(os.path.dirname(__file__), 'tips')) |