summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/wqquiz.cpp
diff options
context:
space:
mode:
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;
}