summaryrefslogtreecommitdiffstats
path: root/kcontrol/kfontinst/viewpart/FontPreview.h
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/viewpart/FontPreview.h
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/viewpart/FontPreview.h')
-rw-r--r--kcontrol/kfontinst/viewpart/FontPreview.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kcontrol/kfontinst/viewpart/FontPreview.h b/kcontrol/kfontinst/viewpart/FontPreview.h
index 673adeb2d..a57e9b9c9 100644
--- a/kcontrol/kfontinst/viewpart/FontPreview.h
+++ b/kcontrol/kfontinst/viewpart/FontPreview.h
@@ -29,11 +29,11 @@
// (C) Craig Drummond, 2001, 2002, 2003, 2004
////////////////////////////////////////////////////////////////////////////////
-#include <qstring.h>
-#include <qpixmap.h>
-#include <qsize.h>
-#include <qwidget.h>
-#include <qcolor.h>
+#include <tqstring.h>
+#include <tqpixmap.h>
+#include <tqsize.h>
+#include <tqwidget.h>
+#include <tqcolor.h>
#include <kurl.h>
#include "FcEngine.h"
@@ -46,12 +46,12 @@ class CFontPreview : public QWidget
public:
- CFontPreview(QWidget *parent, const char *name=NULL);
+ CFontPreview(TQWidget *parent, const char *name=NULL);
virtual ~CFontPreview() {}
- void paintEvent(QPaintEvent *);
- QSize sizeHint() const;
- QSize minimumSizeHint() const;
+ void paintEvent(TQPaintEvent *);
+ TQSize sizeHint() const;
+ TQSize minimumSizeHint() const;
void showFont(const KURL &url);
void showFont();
@@ -69,13 +69,13 @@ class CFontPreview : public QWidget
private:
CFcEngine itsEngine;
- QPixmap itsPixmap;
+ TQPixmap itsPixmap;
KURL itsCurrentUrl;
int itsCurrentFace,
itsLastWidth,
itsLastHeight;
- QColor itsBgndCol;
- QString itsFontName;
+ TQColor itsBgndCol;
+ TQString itsFontName;
};
}