diff options
Diffstat (limited to 'kiten/widgets.cpp')
-rw-r--r-- | kiten/widgets.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kiten/widgets.cpp b/kiten/widgets.cpp index d8f576d0..cfe4c18a 100644 --- a/kiten/widgets.cpp +++ b/kiten/widgets.cpp @@ -256,7 +256,7 @@ void ResultView::print(TQString title) TQRect view(body); int page = 1; - TQColorGroup goodColorGroup = TQColorGroup(tqcolorGroup()); + TQColorGroup goodColorGroup = TQColorGroup(colorGroup()); goodColorGroup.setColor(TQColorGroup::Link, Qt::black); do @@ -358,8 +358,8 @@ void eEdit::openFile(const TQString &file) Dict::Entry entry = Dict::parse(s); TQString meanings = Dict::prettyMeaning(entry.meanings()); bool common = meanings.find(TQString("(P)")) >= 0; - meanings.tqreplace(TQRegExp("; "), "/"); - meanings.tqreplace(TQRegExp("/\\(P\\)"), ""); + meanings.replace(TQRegExp("; "), "/"); + meanings.replace(TQRegExp("/\\(P\\)"), ""); new TQListViewItem(List, entry.kanji(), Dict::prettyKanjiReading(entry.readings()), meanings, common? i18n("yes") : i18n("no")); } } @@ -482,7 +482,7 @@ void EditAction::unplug( TQWidget *w ) KToolBar *toolBar = (KToolBar *)w; - int idx = tqfindContainer( w ); + int idx = findContainer( w ); toolBar->removeItem( itemId( idx ) ); |