summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pytde-sampler')
-rw-r--r--examples/pytde-sampler/qt_widgets/CONTRIB2
-rwxr-xr-xexamples/pytde-sampler/sampler.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/pytde-sampler/qt_widgets/CONTRIB b/examples/pytde-sampler/qt_widgets/CONTRIB
index 0c3ac50..1dd45b0 100644
--- a/examples/pytde-sampler/qt_widgets/CONTRIB
+++ b/examples/pytde-sampler/qt_widgets/CONTRIB
@@ -470,7 +470,7 @@ kio,KSycoca,,,
kio,KSycocaEntry,,,
kio,KSycocaFactory,,,
kio,KTar,,,
-kio,KTrader,,,
+kio,TDETrader,,,
kio,KURIFilter,,,
kio,KURIFilterData,,,
kio,KURIFilterPlugin,,,
diff --git a/examples/pytde-sampler/sampler.py b/examples/pytde-sampler/sampler.py
index 2a8146e..dfb2a06 100755
--- a/examples/pytde-sampler/sampler.py
+++ b/examples/pytde-sampler/sampler.py
@@ -21,7 +21,7 @@ from tdeui import KComboBox, KListView, KListViewItem, KTabWidget, KTextEdit
from tdeui import KMainWindow, KPushButton, KSplashScreen, KStdAction
from tdeui import KKeyDialog, KEditToolbar
-from kio import KTrader
+from kio import TDETrader
from tdeparts import createReadOnlyPart, createReadWritePart
from tdehtml import TDEHTMLPart
@@ -70,7 +70,7 @@ def buildPart(parent, query, constraint, writable=False):
""" builds the first available offered part on the parent
"""
- offers = KTrader.self().query(query, constraint)
+ offers = TDETrader.self().query(query, constraint)
for ptr in offers:
if writable:
builder = createReadWritePart