summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/sampler.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pytde-sampler/sampler.py')
-rwxr-xr-xexamples/pytde-sampler/sampler.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/pytde-sampler/sampler.py b/examples/pytde-sampler/sampler.py
index 8d04233..4567e04 100755
--- a/examples/pytde-sampler/sampler.py
+++ b/examples/pytde-sampler/sampler.py
@@ -10,7 +10,7 @@ import inspect
import os
import sys
-from PyTQt.tqt import SIGNAL, SLOT, PYSIGNAL, TQt
+from PyTQt.tqt import TQ_SIGNAL, TQ_SLOT, PYSIGNAL, TQt
from PyTQt.tqt import TQVBoxLayout, TQLabel, TQPixmap, TQSplitter, TQFrame, TQDialog
from PyTQt.tqt import TQSizePolicy, TQHBoxLayout, TQSpacerItem, TQPushButton
@@ -34,8 +34,8 @@ except (NameError, ):
__file__ = sys.argv[0]
-sigDoubleClicked = SIGNAL('doubleClicked(TQListViewItem *)')
-sigViewItemSelected = SIGNAL('selectionChanged(TQListViewItem *)')
+sigDoubleClicked = TQ_SIGNAL('doubleClicked(TQListViewItem *)')
+sigViewItemSelected = TQ_SIGNAL('selectionChanged(TQListViewItem *)')
sigSampleSelected = PYSIGNAL('sample selected')
blank = KURL('about:blank')
@@ -151,7 +151,7 @@ class WebFrame(CommonFrame):
def __init__(self, parent):
CommonFrame.__init__(self, parent)
self.part = part = buildPart(self, 'text/html', "Type == 'Service'")
- #part.connect(part, SIGNAL('tdehtmlMousePressEvent(a)'), self.onURL)
+ #part.connect(part, TQ_SIGNAL('tdehtmlMousePressEvent(a)'), self.onURL)
def onURL(self, a):
print('****', a)
@@ -367,7 +367,7 @@ class SamplerMainWindow(TDEMainWindow):
"""
dlg = KEditToolbar(self.actionCollection(), self.xmlRcFileName)
- self.connect(dlg, SIGNAL('newToolbarConfig()'), self.rebuildGui)
+ self.connect(dlg, TQ_SIGNAL('newToolbarConfig()'), self.rebuildGui)
#connect(self, sigSampleSelected, self.sourceFrame.showModuleSource)
dlg.exec_loop()