diff options
Diffstat (limited to 'doc/i18n.doc')
-rw-r--r-- | doc/i18n.doc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/i18n.doc b/doc/i18n.doc index 2008c9b4b..38839b453 100644 --- a/doc/i18n.doc +++ b/doc/i18n.doc @@ -130,7 +130,7 @@ don't need to have any knowledge about the writing system used in a particular language, except for the following small points: \list -\i QPainter::drawText( int x, int y, const TQString &str ) will always +\i TQPainter::drawText( int x, int y, const TQString &str ) will always draw the string with it's left edge at the position specified with the x, y parameters. This will usually give you left aligned strings. Arabic and Hebrew application strings are usually right @@ -138,7 +138,7 @@ aligned, so for these languages use the version of drawText() that takes a QRect since this will align in accordance with the language. \i When you write your own text input controls, use \l -QFontMetrics::charWidth() to determine the width of a character in a +TQFontMetrics::charWidth() to determine the width of a character in a string. In some languages (e.g. Arabic or languages from the Indian subcontinent), the width and shape of a glyph changes depending on the surrounding characters. Writing input controls usually requires a |