From 4f9367a19011b727951632ba7c8d9539c72be75d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 10:48:05 -0600 Subject: Rename KLock and KTrader to avoid conflicts with KDE4 --- examples/pytde-sampler/sampler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/pytde-sampler/sampler.py') 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 -- cgit v1.2.1