summaryrefslogtreecommitdiffstats
path: root/kdvi/TeXFont_TFM.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kdvi/TeXFont_TFM.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
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
Diffstat (limited to 'kdvi/TeXFont_TFM.h')
-rw-r--r--kdvi/TeXFont_TFM.h10
1 files changed, 5 insertions, 5 deletions
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];