From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdvi/TeXFont_TFM.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdvi/TeXFont_TFM.h') diff --git a/kdvi/TeXFont_TFM.h b/kdvi/TeXFont_TFM.h index 737c8bed..9a3639e0 100644 --- a/kdvi/TeXFont_TFM.h +++ b/kdvi/TeXFont_TFM.h @@ -14,19 +14,19 @@ class fix_word { public: - void fromINT32(Q_INT32 val) {value = val;} - void fromDouble(double val) {value = (Q_INT32)(val * (1<<20) + 0.5);} + void fromINT32(TQ_INT32 val) {value = val;} + void fromDouble(double val) {value = (TQ_INT32)(val * (1<<20) + 0.5);} double toDouble() {return (double(value)) / (double(1<<20));} - Q_INT32 value; + TQ_INT32 value; }; class TeXFont_TFM : public TeXFont { public: - TeXFont_TFM(TeXFontDefinition *parent); + TeXFont_TFM(TeXFontDefinition *tqparent); ~TeXFont_TFM(); - glyph* getGlyph(Q_UINT16 character, bool generateCharacterPixmap=false, const TQColor& color=Qt::black); + glyph* getGlyph(TQ_UINT16 character, bool generateCharacterPixmap=false, const TQColor& color=TQt::black); private: fix_word characterWidth_in_units_of_design_size[256]; -- cgit v1.2.1