summaryrefslogtreecommitdiffstats
path: root/kiten/widgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kiten/widgets.cpp')
-rw-r--r--kiten/widgets.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kiten/widgets.cpp b/kiten/widgets.cpp
index cfe4c18a..d8f576d0 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(colorGroup());
+ TQColorGroup goodColorGroup = TQColorGroup(tqcolorGroup());
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.replace(TQRegExp("; "), "/");
- meanings.replace(TQRegExp("/\\(P\\)"), "");
+ meanings.tqreplace(TQRegExp("; "), "/");
+ meanings.tqreplace(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 = findContainer( w );
+ int idx = tqfindContainer( w );
toolBar->removeItem( itemId( idx ) );