diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-04 02:22:38 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-04 02:22:38 +0000 |
commit | 98a12d05a48814bec3870b9a6d5865475cfa1c95 (patch) | |
tree | a711801e47696fb0cf162abd7330e0b5b480ba39 /kiten/widgets.cpp | |
parent | 421a1845137c7c396b5d03bce53237fcb149d602 (diff) | |
download | tdeedu-98a12d05a48814bec3870b9a6d5865475cfa1c95.tar.gz tdeedu-98a12d05a48814bec3870b9a6d5865475cfa1c95.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1211429 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 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 ) ); |