diff options
Diffstat (limited to 'examples/pytde-sampler/sampler.py')
-rwxr-xr-x | examples/pytde-sampler/sampler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/pytde-sampler/sampler.py b/examples/pytde-sampler/sampler.py index 183b185..f90a1bb 100755 --- a/examples/pytde-sampler/sampler.py +++ b/examples/pytde-sampler/sampler.py @@ -22,8 +22,8 @@ from tdeui import KMainWindow, KPushButton, KSplashScreen, KStdAction from tdeui import KKeyDialog, KEditToolbar from kio import KTrader -from kparts import createReadOnlyPart, createReadWritePart -from khtml import KHTMLPart +from tdeparts import createReadOnlyPart, createReadWritePart +from tdehtml import KHTMLPart import about import lib @@ -152,7 +152,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('khtmlMousePressEvent(a)'), self.onURL) + #part.connect(part, SIGNAL('tdehtmlMousePressEvent(a)'), self.onURL) def onURL(self, a): print '****', a |