From 2d6954f69caf63ed5057bd8e1405a65d7d970292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:05:41 -0600 Subject: Rename obsolete tq methods to standard names --- karbon/core/vdocument.h | 2 +- karbon/core/vtext.cc | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'karbon/core') 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; -- cgit v1.2.1