From 8f14fb0418241694e61cb35dda95fea6d9b7830d Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:47 +0000 Subject: TQt conversion fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1158447 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khtml/misc/decoder.h | 4 ++-- khtml/misc/helper.h | 2 +- khtml/misc/knsplugininstaller.h | 2 +- khtml/misc/loader.cpp | 6 +++--- khtml/misc/loader.h | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'khtml/misc') diff --git a/khtml/misc/decoder.h b/khtml/misc/decoder.h index 49c3835fe..261daec90 100644 --- a/khtml/misc/decoder.h +++ b/khtml/misc/decoder.h @@ -23,8 +23,8 @@ #define KHTMLDECODER_H #include -class QTextCodec; -class QTextDecoder; +class TQTextCodec; +class TQTextDecoder; namespace khtml { diff --git a/khtml/misc/helper.h b/khtml/misc/helper.h index 4e5b0d7e8..85442fae8 100644 --- a/khtml/misc/helper.h +++ b/khtml/misc/helper.h @@ -23,7 +23,7 @@ #define html_helper_h #include -class QPainter; +class TQPainter; #include #include diff --git a/khtml/misc/knsplugininstaller.h b/khtml/misc/knsplugininstaller.h index f92378f10..0d9535ba9 100644 --- a/khtml/misc/knsplugininstaller.h +++ b/khtml/misc/knsplugininstaller.h @@ -40,7 +40,7 @@ #include #include -class QStringList; +class TQStringList; /* * This class contains all the infos needed to install a given plugin diff --git a/khtml/misc/loader.cpp b/khtml/misc/loader.cpp index 090def1c5..d6e463b02 100644 --- a/khtml/misc/loader.cpp +++ b/khtml/misc/loader.cpp @@ -747,7 +747,7 @@ void CachedImage::movieStatus(int status) // faster to draw, so this is worth the hack if (p && monochrome && p->depth() > 1) { - TQPixmap* pix = new QPixmap; + TQPixmap* pix = new TQPixmap; pix->convertFromImage( p->convertToImage().convertDepth( 1 ), MonoOnly|AvoidDither ); if ( p->mask() ) pix->setMask( *p->mask() ); @@ -871,7 +871,7 @@ void CachedImage::data ( TQBuffer &_buffer, bool eof ) #ifdef CACHE_DEBUG kdDebug(6060) << "CachedImage::data(): reloading as pixmap:" << endl; #endif - p = new QPixmap; + p = new TQPixmap; { TQBuffer buffer(_buffer.buffer()); buffer.open(IO_ReadOnly); @@ -1353,7 +1353,7 @@ void Cache::init() docloader = new TQPtrList; if ( !nullPixmap ) - nullPixmap = new QPixmap; + nullPixmap = new TQPixmap; if ( !brokenPixmap ) brokenPixmap = new TQPixmap(KHTMLFactory::instance()->iconLoader()->loadIcon("file_broken", KIcon::Desktop, 16, KIcon::DisabledState)); diff --git a/khtml/misc/loader.h b/khtml/misc/loader.h index 05c297d79..4314e950e 100644 --- a/khtml/misc/loader.h +++ b/khtml/misc/loader.h @@ -54,7 +54,7 @@ #include #include -class QMovie; +class TQMovie; class KHTMLPart; namespace KIO { -- cgit v1.2.1