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