summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/wqscore.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kwordquiz/src/wqscore.cpp
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwordquiz/src/wqscore.cpp')
-rw-r--r--kwordquiz/src/wqscore.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kwordquiz/src/wqscore.cpp b/kwordquiz/src/wqscore.cpp
index 80cb3960..485363b0 100644
--- a/kwordquiz/src/wqscore.cpp
+++ b/kwordquiz/src/wqscore.cpp
@@ -16,7 +16,7 @@
#include "wqscore.h"
-WQScore::WQScore()
+WTQScore::WTQScore()
{
m_questionCount = 0;
m_percent = false;
@@ -26,16 +26,16 @@ WQScore::WQScore()
}
-WQScore::~WQScore()
+WTQScore::~WTQScore()
{}
-void WQScore::setAsPercent(bool p)
+void WTQScore::setAsPercent(bool p)
{
m_percent = p;
}
-void WQScore::setQuestionCount(int c)
+void WTQScore::setQuestionCount(int c)
{
m_questionCount = c;
//m_percent = false;
@@ -44,7 +44,7 @@ void WQScore::setQuestionCount(int c)
m_answerCount = 0;
}
-void WQScore::countIncrement(CountDirection d)
+void WTQScore::countIncrement(CountDirection d)
{
if (d != cdNone)
@@ -56,9 +56,9 @@ void WQScore::countIncrement(CountDirection d)
}
/*!
- \fn WQScore::answerText()
+ \fn WTQScore::answerText()
*/
-TQString WQScore::answerText()
+TQString WTQScore::answerText()
{
TQString s;
if (m_percent)
@@ -80,9 +80,9 @@ TQString WQScore::answerText()
}
/*!
- \fn WQScore::correctText()
+ \fn WTQScore::correctText()
*/
-TQString WQScore::correctText()
+TQString WTQScore::correctText()
{
TQString s;
if (m_percent)
@@ -102,9 +102,9 @@ TQString WQScore::correctText()
}
/*!
- \fn WQScore::errorText()
+ \fn WTQScore::errorText()
*/
-TQString WQScore::errorText()
+TQString WTQScore::errorText()
{
TQString s;
if (m_percent)
@@ -124,9 +124,9 @@ TQString WQScore::errorText()
}
/*!
- \fn WQScore::valueToString(int i)
+ \fn WTQScore::valueToString(int i)
*/
-TQString WQScore::valueToString(int i)
+TQString WTQScore::valueToString(int i)
{
TQString s = ""; //return empty string for 0