diff options
Diffstat (limited to 'tdeprint/kprintpreview.cpp')
-rw-r--r-- | tdeprint/kprintpreview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/kprintpreview.cpp b/tdeprint/kprintpreview.cpp index 0d7b7913c..fe105379c 100644 --- a/tdeprint/kprintpreview.cpp +++ b/tdeprint/kprintpreview.cpp @@ -111,8 +111,8 @@ static KLibFactory* componentFactory() factory = KLibLoader::self()->factory("libkghostviewpart"); if( factory ) return factory; - KTrader::OfferList offers = KTrader::self()->query(TQString::fromLatin1("application/postscript"), TQString::fromLatin1("KParts/ReadOnlyPart"), TQString::null, TQString::null); - for (KTrader::OfferList::ConstIterator it = offers.begin(); it != offers.end(); ++it) + TDETrader::OfferList offers = TDETrader::self()->query(TQString::fromLatin1("application/postscript"), TQString::fromLatin1("KParts/ReadOnlyPart"), TQString::null, TQString::null); + for (TDETrader::OfferList::ConstIterator it = offers.begin(); it != offers.end(); ++it) { KService::Ptr service = *it; factory = KLibLoader::self()->factory(TQFile::encodeName(service->library())); |