diff options
Diffstat (limited to 'kcontrol/kfontinst')
-rw-r--r-- | kcontrol/kfontinst/kfontinst/FontEngine.cpp | 2 | ||||
-rw-r--r-- | kcontrol/kfontinst/lib/FcEngine.cpp | 2 | ||||
-rw-r--r-- | kcontrol/kfontinst/viewpart/FontPreview.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/kfontinst/kfontinst/FontEngine.cpp b/kcontrol/kfontinst/kfontinst/FontEngine.cpp index dffa60f2d..4fe823c23 100644 --- a/kcontrol/kfontinst/kfontinst/FontEngine.cpp +++ b/kcontrol/kfontinst/kfontinst/FontEngine.cpp @@ -163,7 +163,7 @@ static void removeSymbols(TQString &str) TQChar space(' '); for(int c=0; c<len; ++c) - if(str[c].tqunicode()<0x20 || str[c].tqunicode()>0x7E) + if(str[c].unicode()<0x20 || str[c].unicode()>0x7E) str[c]=space; str=str.simplifyWhiteSpace(); diff --git a/kcontrol/kfontinst/lib/FcEngine.cpp b/kcontrol/kfontinst/lib/FcEngine.cpp index 2b3d40737..44d180fd2 100644 --- a/kcontrol/kfontinst/lib/FcEngine.cpp +++ b/kcontrol/kfontinst/lib/FcEngine.cpp @@ -439,7 +439,7 @@ static bool hasStr(XftFont *font, TQString &str) ch; for(ch=0; ch<slen; ++ch) - if(!FcCharSetHasChar(font->charset, str[ch].tqunicode())) + if(!FcCharSetHasChar(font->charset, str[ch].unicode())) return false; return true; } diff --git a/kcontrol/kfontinst/viewpart/FontPreview.cpp b/kcontrol/kfontinst/viewpart/FontPreview.cpp index 8b5ead1a8..3679be252 100644 --- a/kcontrol/kfontinst/viewpart/FontPreview.cpp +++ b/kcontrol/kfontinst/viewpart/FontPreview.cpp @@ -88,7 +88,7 @@ void CFontPreview::paintEvent(TQPaintEvent *) { if(!itsCurrentUrl.isEmpty()) { - paint.setPen(kapp->tqpalette().active().text()); + paint.setPen(kapp->palette().active().text()); paint.drawText(rect(), AlignCenter, i18n(" No preview available")); } } |