diff options
Diffstat (limited to 'kdeui/kfontcombo.cpp')
-rw-r--r-- | kdeui/kfontcombo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kdeui/kfontcombo.cpp b/kdeui/kfontcombo.cpp index c664d226e..cd4c92b43 100644 --- a/kdeui/kfontcombo.cpp +++ b/kdeui/kfontcombo.cpp @@ -132,7 +132,7 @@ void KFontListItem::paint(TQPainter *p) if (m_canPaintName) p->setFont(*m_font); else - t = TQString::fromLatin1("(%1)").arg(m_fontName); + t = TQString::tqfromLatin1("(%1)").arg(m_fontName); } TQFontMetrics fm(p->fontMetrics()); p->drawText(3, (m_combo->d->lineSpacing + fm.ascent() + fm.leading() / 2) / 2, t); @@ -212,7 +212,7 @@ void KFontCombo::setCurrentFont(const TQString &family) return; } } - int x = lowerName.find(" ["); + int x = lowerName.tqfind(" ["); if (x>-1) { lowerName = lowerName.left(x); @@ -251,7 +251,7 @@ void KFontCombo::setCurrentFont(const TQString &family) FcConfigSubstitute (config, pattern, FcMatchPattern); pattern = FcFontMatch(NULL, pattern, NULL); realFamily = (char*)FcNameUnparse(pattern); - realFamily.remove(realFamily.find(regExp), realFamily.length()); + realFamily.remove(realFamily.tqfind(regExp), realFamily.length()); if ( !realFamily.isEmpty() && realFamily != family ) setCurrentFont( realFamily ); |