summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/wqquiz.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-04 02:22:38 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-04 02:22:38 +0000
commit98a12d05a48814bec3870b9a6d5865475cfa1c95 (patch)
treea711801e47696fb0cf162abd7330e0b5b480ba39 /kwordquiz/src/wqquiz.cpp
parent421a1845137c7c396b5d03bce53237fcb149d602 (diff)
downloadtdeedu-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 'kwordquiz/src/wqquiz.cpp')
-rw-r--r--kwordquiz/src/wqquiz.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kwordquiz/src/wqquiz.cpp b/kwordquiz/src/wqquiz.cpp
index 23600567..f6ac2f1e 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.replace("..........", "<u></u>");
+ result = m_answerBlank.tqreplace("..........", "<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.replace(rx, "..........");
+ r.tqreplace(rx, "..........");
if (r != tTemp)
{
@@ -517,8 +517,8 @@ TQString WQQuiz::answer(int i)
s = m_table->text(li.oneOp(), j);
if (Prefs::enableBlanks())
{
- s.replace("[", "<u>");
- s.replace("]", "</u>");
+ s.tqreplace("[", "<u>");
+ s.tqreplace("]", "</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 ->layoutLeft();
+ //@todo return m_table ->tqlayoutLeft();
}
else
{
- //@todo return m_table -> layoutRight();
+ //@todo return m_table -> tqlayoutRight();
}*/
return 0;
}