summaryrefslogtreecommitdiffstats
path: root/kiten/widgets.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:18:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:18:52 +0000
commit648ba4a456d3aad2825193ff8f3bd52a875783b5 (patch)
tree0b50d2253a0c85238cc4dcba5c4f949de3f0eb15 /kiten/widgets.cpp
parent98a12d05a48814bec3870b9a6d5865475cfa1c95 (diff)
downloadtdeedu-648ba4a456d3aad2825193ff8f3bd52a875783b5.tar.gz
tdeedu-648ba4a456d3aad2825193ff8f3bd52a875783b5.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1212481 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 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 ) );