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.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdvi/TeXFont.h') 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 -- cgit v1.2.1