summaryrefslogtreecommitdiffstats
path: root/src/partcontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/partcontroller.cpp')
-rw-r--r--src/partcontroller.cpp4
1 files changed, 2 insertions, 2 deletions
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);