summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/sampler.py
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 10:48:05 -0600
committerTimothy Pearson <[email protected]>2013-02-01 10:48:05 -0600
commit4f9367a19011b727951632ba7c8d9539c72be75d (patch)
tree1c243c83ea93d66baaea66f51540b5b2ee2bb3e4 /examples/pytde-sampler/sampler.py
parent11ce0e9ead6ca61215b1bafdf6f4fb2151018c77 (diff)
downloadpytde-4f9367a19011b727951632ba7c8d9539c72be75d.tar.gz
pytde-4f9367a19011b727951632ba7c8d9539c72be75d.zip
Rename KLock and KTrader to avoid conflicts with KDE4
Diffstat (limited to 'examples/pytde-sampler/sampler.py')
-rwxr-xr-xexamples/pytde-sampler/sampler.py4
1 files changed, 2 insertions, 2 deletions
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