summaryrefslogtreecommitdiffstats
path: root/kanagram/src/multiplechoice.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kanagram/src/multiplechoice.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kanagram/src/multiplechoice.h')
-rw-r--r--kanagram/src/multiplechoice.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kanagram/src/multiplechoice.h b/kanagram/src/multiplechoice.h
index 6a0b0500..f5fe4800 100644
--- a/kanagram/src/multiplechoice.h
+++ b/kanagram/src/multiplechoice.h
@@ -27,7 +27,7 @@
#ifndef MultipleChoice_included
#define MultipleChoice_included
-#include <qstring.h>
+#include <tqstring.h>
#define MAX_MULTIPLE_CHOICE 5 // select one out of x
@@ -39,26 +39,26 @@ public:
MultipleChoice() {}
MultipleChoice (
- const QString &mc1,
- const QString &mc2,
- const QString &mc3,
- const QString &mc4,
- const QString &mc5
+ const TQString &mc1,
+ const TQString &mc2,
+ const TQString &mc3,
+ const TQString &mc4,
+ const TQString &mc5
);
- void setMC1 (const QString &s) { muc1 = s; }
- void setMC2 (const QString &s) { muc2 = s; }
- void setMC3 (const QString &s) { muc3 = s; }
- void setMC4 (const QString &s) { muc4 = s; }
- void setMC5 (const QString &s) { muc5 = s; }
+ void setMC1 (const TQString &s) { muc1 = s; }
+ void setMC2 (const TQString &s) { muc2 = s; }
+ void setMC3 (const TQString &s) { muc3 = s; }
+ void setMC4 (const TQString &s) { muc4 = s; }
+ void setMC5 (const TQString &s) { muc5 = s; }
- QString mc1 () const { return muc1; }
- QString mc2 () const { return muc2; }
- QString mc3 () const { return muc3; }
- QString mc4 () const { return muc4; }
- QString mc5 () const { return muc5; }
+ TQString mc1 () const { return muc1; }
+ TQString mc2 () const { return muc2; }
+ TQString mc3 () const { return muc3; }
+ TQString mc4 () const { return muc4; }
+ TQString mc5 () const { return muc5; }
- QString mc (unsigned idx) const;
+ TQString mc (unsigned idx) const;
bool isEmpty() const;
void normalize();
@@ -67,7 +67,7 @@ public:
protected:
- QString muc1, muc2, muc3, muc4, muc5;
+ TQString muc1, muc2, muc3, muc4, muc5;
};