diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
commit | 2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch) | |
tree | 88e6436b2e81d4e68313f02a9021054252e14cc4 /karbon/core | |
parent | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff) | |
download | koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'karbon/core')
-rw-r--r-- | karbon/core/vdocument.h | 2 | ||||
-rw-r--r-- | karbon/core/vtext.cc | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/karbon/core/vdocument.h b/karbon/core/vdocument.h index 45270d2e..aa35b834 100644 --- a/karbon/core/vdocument.h +++ b/karbon/core/vdocument.h @@ -83,7 +83,7 @@ public: * Draw the document frame to a painting device. * * @param painter abstraction that is used to render to a painting device. - * @param pl tqlayout describing the page to draw on (restricting the painter) + * @param pl layout describing the page to draw on (restricting the painter) * @param drawPageMargins if @c true, also draw the crop marks for the page margins, * otherwise, don't draw them. */ diff --git a/karbon/core/vtext.cc b/karbon/core/vtext.cc index e9888355..4c7d3989 100644 --- a/karbon/core/vtext.cc +++ b/karbon/core/vtext.cc @@ -473,7 +473,7 @@ VText::traceText() bool foundCharmap = false; - // Try to choose tqunicode charmap + // Try to choose unicode charmap for( int charmap = 0; charmap < fontFace->num_charmaps; charmap++ ) { if( fontFace->charmaps[charmap]->encoding == ft_encoding_unicode ) @@ -481,14 +481,14 @@ VText::traceText() FT_Error error = FT_Set_Charmap( fontFace, fontFace->charmaps[charmap] ); if( error ) { - kdDebug(38000) << "traceText(), unable to select tqunicode charmap." << endl; + kdDebug(38000) << "traceText(), unable to select unicode charmap." << endl; continue; } foundCharmap = true; } } - // Choose first charmap if no tqunicode charmap was found + // Choose first charmap if no unicode charmap was found if( ! foundCharmap ) { error = FT_Set_Charmap( fontFace, fontFace->charmaps[0] ); @@ -518,7 +518,7 @@ VText::traceText() { // get the glyph index for the current character TQChar character = m_text.at( i ); - glyphIndex = FT_Get_Char_Index( fontFace, character.tqunicode() ); + glyphIndex = FT_Get_Char_Index( fontFace, character.unicode() ); if( ! glyphIndex ) { kdDebug(38000) << "traceText(), unable get index of char : " << character << endl; |