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 235472d1f..cf2e712e2 100644 --- a/tdeprint/kprintpreview.cpp +++ b/tdeprint/kprintpreview.cpp @@ -22,7 +22,7 @@ #include "kmfactory.h" #include <tqfile.h> -#include <tqlayout.h> +#include <layout.h> #include <tqvbox.h> #include <kparts/part.h> @@ -111,7 +111,7 @@ static KLibFactory* componentFactory() factory = KLibLoader::self()->factory("libkghostviewpart"); if( factory ) return factory; - KTrader::OfferList offers = KTrader::self()->query(TQString::tqfromLatin1("application/postscript"), TQString::tqfromLatin1("KParts/ReadOnlyPart"), TQString::null, TQString::null); + 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) { KService::Ptr service = *it; |