summaryrefslogtreecommitdiffstats
path: root/khtml/misc/loader.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:47 +0000
commit8f14fb0418241694e61cb35dda95fea6d9b7830d (patch)
tree73afdda59a8126db123133d64bab78a3503657dc /khtml/misc/loader.cpp
parentffe8a83e053396df448e9413828527613ca3bd46 (diff)
downloadtdelibs-8f14fb0418241694e61cb35dda95fea6d9b7830d.tar.gz
tdelibs-8f14fb0418241694e61cb35dda95fea6d9b7830d.zip
TQt conversion fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1158447 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/misc/loader.cpp')
-rw-r--r--khtml/misc/loader.cpp6
1 files changed, 3 insertions, 3 deletions
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<DocLoader>;
if ( !nullPixmap )
- nullPixmap = new QPixmap;
+ nullPixmap = new TQPixmap;
if ( !brokenPixmap )
brokenPixmap = new TQPixmap(KHTMLFactory::instance()->iconLoader()->loadIcon("file_broken", KIcon::Desktop, 16, KIcon::DisabledState));