summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/qaview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commiteb570158698cf61dad4f77d950ef908160f6c3cc (patch)
tree649bf182bcf0a20bed5035d25ffd77de5aee138a /kwordquiz/src/qaview.cpp
parentd8762de95349dc6edaa34db9bf699b367c1af6b1 (diff)
downloadtdeedu-eb570158698cf61dad4f77d950ef908160f6c3cc.tar.gz
tdeedu-eb570158698cf61dad4f77d950ef908160f6c3cc.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwordquiz/src/qaview.cpp')
-rw-r--r--kwordquiz/src/qaview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kwordquiz/src/qaview.cpp b/kwordquiz/src/qaview.cpp
index bfc9ab86..141873ec 100644
--- a/kwordquiz/src/qaview.cpp
+++ b/kwordquiz/src/qaview.cpp
@@ -63,7 +63,7 @@ TQString highlightError(const TQString & c, const TQString & e)
}
-QAView::QAView(TQWidget *tqparent, const char *name, WFlags f):QAViewBase(tqparent, name, f)
+QAView::QAView(TQWidget *parent, const char *name, WFlags f):QAViewBase(parent, name, f)
{
m_score = new WTQScore();
}
@@ -116,7 +116,7 @@ void QAView::init()
picYourAnswer->clear();
picCorrectAnswer->clear();
- KWordQuizApp *win=(KWordQuizApp *) tqparent();
+ KWordQuizApp *win=(KWordQuizApp *) parent();
win->actionCollection()->action("quiz_check")->setEnabled(true);
win->actionCollection()->action("qa_hint")->setEnabled(true);
win->actionCollection()->action("quiz_repeat_errors")->setEnabled(false);
@@ -129,7 +129,7 @@ void QAView::init()
void QAView::slotCheck()
{
- KWordQuizApp *win=(KWordQuizApp *) tqparent();
+ KWordQuizApp *win=(KWordQuizApp *) parent();
if (win->actionCollection()->action("quiz_check")->isEnabled())
{
bool fIsCorrect;