summaryrefslogtreecommitdiffstats
path: root/kcontrol/kfontinst/thumbnail
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/kfontinst/thumbnail')
-rw-r--r--kcontrol/kfontinst/thumbnail/FontThumbnail.cpp10
-rw-r--r--kcontrol/kfontinst/thumbnail/FontThumbnail.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/kcontrol/kfontinst/thumbnail/FontThumbnail.cpp b/kcontrol/kfontinst/thumbnail/FontThumbnail.cpp
index 86794377b..363ebe064 100644
--- a/kcontrol/kfontinst/thumbnail/FontThumbnail.cpp
+++ b/kcontrol/kfontinst/thumbnail/FontThumbnail.cpp
@@ -28,9 +28,9 @@
#include "FontThumbnail.h"
#include "KfiConstants.h"
-#include <qimage.h>
-#include <qbitmap.h>
-#include <qpainter.h>
+#include <tqimage.h>
+#include <tqbitmap.h>
+#include <tqpainter.h>
#include <kiconloader.h>
#include <kglobalsettings.h>
#include <klocale.h>
@@ -52,9 +52,9 @@ CFontThumbnail::CFontThumbnail()
KGlobal::locale()->insertCatalogue(KFI_CATALOGUE);
}
-bool CFontThumbnail::create(const QString &path, int width, int height, QImage &img)
+bool CFontThumbnail::create(const TQString &path, int width, int height, TQImage &img)
{
- QPixmap pix;
+ TQPixmap pix;
if(itsEngine.draw(KURL(path), width, height, pix, 0, true))
{
diff --git a/kcontrol/kfontinst/thumbnail/FontThumbnail.h b/kcontrol/kfontinst/thumbnail/FontThumbnail.h
index c2d1294e4..456e38b65 100644
--- a/kcontrol/kfontinst/thumbnail/FontThumbnail.h
+++ b/kcontrol/kfontinst/thumbnail/FontThumbnail.h
@@ -42,7 +42,7 @@ class CFontThumbnail : public ThumbCreator
CFontThumbnail();
~CFontThumbnail() {}
- bool create(const QString &path, int width, int height, QImage &img);
+ bool create(const TQString &path, int width, int height, TQImage &img);
Flags flags() const;
private: