diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmtruetypecache.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-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 'kpovmodeler/pmtruetypecache.h')
-rw-r--r-- | kpovmodeler/pmtruetypecache.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpovmodeler/pmtruetypecache.h b/kpovmodeler/pmtruetypecache.h index b305cb1c..342597b0 100644 --- a/kpovmodeler/pmtruetypecache.h +++ b/kpovmodeler/pmtruetypecache.h @@ -25,7 +25,7 @@ #include "pmsplinesegment.h" -#include <qcache.h> +#include <tqcache.h> #include <kstaticdeleter.h> #ifdef HAVE_FREETYPE @@ -49,7 +49,7 @@ public: * * Returns 0 if freetype is not available. */ - static PMTrueTypeFont* font( const QString& file ); + static PMTrueTypeFont* font( const TQString& file ); #ifdef HAVE_FREETYPE @@ -65,9 +65,9 @@ private: /** * Lookup function */ - PMTrueTypeFont* lookUp( const QString& file ); + PMTrueTypeFont* lookUp( const TQString& file ); - QCache<PMTrueTypeFont> m_cache; + TQCache<PMTrueTypeFont> m_cache; FT_Library m_library; #endif //HAVE_FREETYPE @@ -142,7 +142,7 @@ public: * Returns 0 if there is no glyph for the character or the font is * not a valid, scalable true type font. */ - PMTrueTypeOutline* outline( QChar c ); + PMTrueTypeOutline* outline( TQChar c ); /** * Returns true if the font is a valid, scalable true type font */ @@ -150,7 +150,7 @@ public: /** * Returns the kerning offset for the two characters */ - double kerning( QChar c1, QChar c2 ); + double kerning( TQChar c1, TQChar c2 ); #ifdef HAVE_FREETYPE @@ -165,7 +165,7 @@ public: ~PMTrueTypeFont( ); private: - FT_UInt findGlyphIndex( QChar c ); + FT_UInt findGlyphIndex( TQChar c ); FT_Library m_library; FT_Face m_face; @@ -174,7 +174,7 @@ private: bool m_validChecked; bool m_useKerning; - QCache<PMTrueTypeOutline> m_cache; + TQCache<PMTrueTypeOutline> m_cache; #else //!HAVE_FREETYPE |