summaryrefslogtreecommitdiffstats
path: root/kcontrol/kfontinst/thumbnail
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/kfontinst/thumbnail
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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: