summaryrefslogtreecommitdiffstats
path: root/kdvi/TeXFont.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.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.h')
-rw-r--r--kdvi/TeXFont.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdvi/TeXFont.h b/kdvi/TeXFont.h
index d3ee51af..518c0d0f 100644
--- a/kdvi/TeXFont.h
+++ b/kdvi/TeXFont.h
@@ -17,8 +17,8 @@ class TeXFont {
public:
TeXFont(TeXFontDefinition *_parent)
{
- parent = _parent;
- errorMessage = TQString::null;
+ tqparent = _parent;
+ errorMessage = TQString();
};
virtual ~TeXFont();
@@ -29,12 +29,12 @@ class TeXFont {
glyphtable[i].shrunkenCharacter.resize(0, 0);
};
- virtual glyph* getGlyph(Q_UINT16 character, bool generateCharacterPixmap=false, const TQColor& color=Qt::black) = 0;
+ virtual glyph* getGlyph(TQ_UINT16 character, bool generateCharacterPixmap=false, const TQColor& color=TQt::black) = 0;
// Checksum of the font. Used e.g. by PK fonts. This field is filled
// in by the constructor, or set to 0.0, if the font format does not
// contain checksums.
- Q_UINT32 checksum;
+ TQ_UINT32 checksum;
// If the font or if some glyphs could not be loaded, error messages
// will be put here.
@@ -42,7 +42,7 @@ class TeXFont {
protected:
glyph glyphtable[TeXFontDefinition::max_num_of_chars_in_font];
- TeXFontDefinition *parent;
+ TeXFontDefinition *tqparent;
};
#endif