diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:18:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:18:52 +0000 |
commit | 648ba4a456d3aad2825193ff8f3bd52a875783b5 (patch) | |
tree | 0b50d2253a0c85238cc4dcba5c4f949de3f0eb15 /kwordquiz/src/wqquiz.cpp | |
parent | 98a12d05a48814bec3870b9a6d5865475cfa1c95 (diff) | |
download | tdeedu-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 'kwordquiz/src/wqquiz.cpp')
-rw-r--r-- | kwordquiz/src/wqquiz.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kwordquiz/src/wqquiz.cpp b/kwordquiz/src/wqquiz.cpp index f6ac2f1e..23600567 100644 --- a/kwordquiz/src/wqquiz.cpp +++ b/kwordquiz/src/wqquiz.cpp @@ -382,7 +382,7 @@ TQString WQQuiz::yourAnswer(int i, const TQString & s) else ls.append(s); - result = m_answerBlank.tqreplace("..........", "<u></u>"); + result = m_answerBlank.replace("..........", "<u></u>"); int offset = 0, counter = 0; while (offset >= 0) @@ -474,7 +474,7 @@ TQString WQQuiz::blankAnswer(int i) rx.setMinimal(true); rx.setPattern("\\[.*\\]"); - r.tqreplace(rx, ".........."); + r.replace(rx, ".........."); if (r != tTemp) { @@ -517,8 +517,8 @@ TQString WQQuiz::answer(int i) s = m_table->text(li.oneOp(), j); if (Prefs::enableBlanks()) { - s.tqreplace("[", "<u>"); - s.tqreplace("]", "</u>"); + s.replace("[", "<u>"); + s.replace("]", "</u>"); s.prepend("<qt>"); s.append("</qt>"); } @@ -564,11 +564,11 @@ int WQQuiz::kbAnswer(int i) /* WQListItem *li = m_list->at(i); if (li->question() == 0) { - //@todo return m_table ->tqlayoutLeft(); + //@todo return m_table ->layoutLeft(); } else { - //@todo return m_table -> tqlayoutRight(); + //@todo return m_table -> layoutRight(); }*/ return 0; } |