summaryrefslogtreecommitdiffstats
path: root/kgeography/src/flagdivisionasker.cpp
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 /kgeography/src/flagdivisionasker.cpp
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 'kgeography/src/flagdivisionasker.cpp')
-rw-r--r--kgeography/src/flagdivisionasker.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kgeography/src/flagdivisionasker.cpp b/kgeography/src/flagdivisionasker.cpp
index 365da9ef..f6c305ab 100644
--- a/kgeography/src/flagdivisionasker.cpp
+++ b/kgeography/src/flagdivisionasker.cpp
@@ -10,27 +10,27 @@
#include <klocale.h>
-#include <qimage.h>
-#include <qlayout.h>
-#include <qradiobutton.h>
+#include <tqimage.h>
+#include <tqlayout.h>
+#include <tqradiobutton.h>
#include "flagdivisionasker.h"
#include "map.h"
-flagDivisionAsker::flagDivisionAsker(QWidget *parent, KGmap *m, QWidget *w, uint count) : boxAsker(parent, m, w, count)
+flagDivisionAsker::flagDivisionAsker(TQWidget *parent, KGmap *m, TQWidget *w, uint count) : boxAsker(parent, m, w, count)
{
- p_flag = new QWidget(this);
+ p_flag = new TQWidget(this);
p_lay -> insertWidget(0, p_flag);
setQuestion(i18n("This flag belongs to:"));
init();
}
-bool flagDivisionAsker::nextBoxAskerQuestionHook(const QString &division, int i, bool isAnswer)
+bool flagDivisionAsker::nextBoxAskerQuestionHook(const TQString &division, int i, bool isAnswer)
{
if (isAnswer)
{
// we put the flag image
- QImage image(p_map -> getDivisionFlagFile(division));
+ TQImage image(p_map -> getDivisionFlagFile(division));
p_flag -> setPaletteBackgroundPixmap(image);
p_flag -> setFixedSize(image.size());
@@ -46,7 +46,7 @@ void flagDivisionAsker::setAnswerHook(int userSays)
p_currentAnswer.setAnswer(p_rb[userSays] -> text());
}
-QString flagDivisionAsker::getQuestionHook() const
+TQString flagDivisionAsker::getQuestionHook() const
{
return i18n("Division From Its Flag");
}