summaryrefslogtreecommitdiffstats
path: root/khtml/misc
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
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')
-rw-r--r--khtml/misc/decoder.h4
-rw-r--r--khtml/misc/helper.h2
-rw-r--r--khtml/misc/knsplugininstaller.h2
-rw-r--r--khtml/misc/loader.cpp6
-rw-r--r--khtml/misc/loader.h2
5 files changed, 8 insertions, 8 deletions
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 <tqstring.h>
-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 <tqcolor.h>
-class QPainter;
+class TQPainter;
#include <tqfontmetrics.h>
#include <tqfont.h>
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 <tqvbox.h>
#include <tqwidget.h>
-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<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));
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 <khtml_settings.h>
#include <dom/dom_string.h>
-class QMovie;
+class TQMovie;
class KHTMLPart;
namespace KIO {