summaryrefslogtreecommitdiffstats
path: root/kdvi/TeXFontDefinition.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kdvi/TeXFontDefinition.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdvi/TeXFontDefinition.h')
-rw-r--r--kdvi/TeXFontDefinition.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kdvi/TeXFontDefinition.h b/kdvi/TeXFontDefinition.h
index e3effc2a..d64e6d59 100644
--- a/kdvi/TeXFontDefinition.h
+++ b/kdvi/TeXFontDefinition.h
@@ -15,8 +15,8 @@
#ifndef _FONT_H
#define _FONT_H
-#include <qintdict.h>
-#include <qstring.h>
+#include <tqintdict.h>
+#include <tqstring.h>
#include <stdio.h>
@@ -56,12 +56,12 @@ class TeXFontDefinition {
};
- TeXFontDefinition(QString nfontname, double _displayResolution_in_dpi, Q_UINT32 chk, Q_INT32 _scaled_size_in_DVI_units,
+ TeXFontDefinition(TQString nfontname, double _displayResolution_in_dpi, Q_UINT32 chk, Q_INT32 _scaled_size_in_DVI_units,
class fontPool *pool, double _enlargement);
~TeXFontDefinition();
void reset();
- void fontNameReceiver(const QString&);
+ void fontNameReceiver(const TQString&);
// Members for character fonts
void setDisplayResolution(double _displayResolution_in_dpi);
@@ -71,7 +71,7 @@ class TeXFontDefinition {
void mark_as_used();
class fontPool *font_pool; // Pointer to the pool that contains this font.
- QString fontname; // name of font, such as "cmr10"
+ TQString fontname; // name of font, such as "cmr10"
unsigned char flags; // flags byte (see values below)
double enlargement;
Q_INT32 scaled_size_in_DVI_units; // Scaled size from the font definition command; in DVI units
@@ -82,34 +82,34 @@ class TeXFontDefinition {
double displayResolution_in_dpi;
FILE *file; // open font file or NULL
- QString filename; // name of font file
+ TQString filename; // name of font file
TeXFont *font;
macro *macrotable; // used by (loaded) virtual fonts
- QIntDict<TeXFontDefinition> vf_table; // used by (loaded) virtual fonts, list of fonts used by this vf,
+ TQIntDict<TeXFontDefinition> vf_table; // used by (loaded) virtual fonts, list of fonts used by this vf,
// acessible by number
TeXFontDefinition *first_font; // used by (loaded) virtual fonts, list of fonts used by this vf
#ifdef HAVE_FREETYPE
- const QString &getFullFontName() const {return fullFontName;}
- const QString &getFullEncodingName() const {return fullEncodingName;}
+ const TQString &getFullFontName() const {return fullFontName;}
+ const TQString &getFullEncodingName() const {return fullEncodingName;}
#endif
- const QString &getFontTypeName() const {return fontTypeName;}
+ const TQString &getFontTypeName() const {return fontTypeName;}
#ifdef HAVE_FREETYPE
/** For FREETYPE fonts, which use a map file, this field will
contain the full name of the font (e.g. 'Computer Modern'). If
the name does not exist, or cannot be found, this field will be
- QString::null. Only subclasses of TeXFont should write into this
+ TQString::null. Only subclasses of TeXFont should write into this
field. */
- QString fullFontName;
+ TQString fullFontName;
/** For FREETYPE fonts, which use a map file, this field will
contain the full name of the font encoding (e.g. 'TexBase1'). If
the encoding name does not exist, or cannot be found, this field
- will be QString::null. Only subclasses of TeXFont should write
+ will be TQString::null. Only subclasses of TeXFont should write
into this field. */
- QString fullEncodingName;
+ TQString fullEncodingName;
#endif
private:
@@ -117,7 +117,7 @@ class TeXFontDefinition {
/** This will be set to a human-readable description of the font,
e.g. "virtual" or "TeX PK", or "Type 1" */
- QString fontTypeName;
+ TQString fontTypeName;
// Functions related to virtual fonts
void read_VF_index(void );