From da1941ccadffe5ae70ee111c53f0ec2b3d990869 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 10:53:25 -0600 Subject: Rename KLock and KTrader to avoid conflicts with KDE4 --- src/partcontroller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/partcontroller.cpp') diff --git a/src/partcontroller.cpp b/src/partcontroller.cpp index d3e3faa5..083aeb2f 100644 --- a/src/partcontroller.cpp +++ b/src/partcontroller.cpp @@ -593,14 +593,14 @@ void PartController::showDocument(const KURL &url, bool newWin) KParts::Factory *PartController::findPartFactory(const TQString &mimeType, const TQString &partType, const TQString &preferredName) { - KTrader::OfferList offers = KTrader::self()->query(mimeType, TQString("'%1' in ServiceTypes").arg(partType)); + TDETrader::OfferList offers = TDETrader::self()->query(mimeType, TQString("'%1' in ServiceTypes").arg(partType)); if (offers.count() > 0) { KService::Ptr ptr = 0; // if there is a preferred plugin we'll take it if ( !preferredName.isEmpty() ) { - KTrader::OfferList::Iterator it; + TDETrader::OfferList::Iterator it; for (it = offers.begin(); it != offers.end(); ++it) { if ((*it)->desktopEntryName() == preferredName) { ptr = (*it); -- cgit v1.2.1