summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/flashview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kwordquiz/src/flashview.cpp')
-rw-r--r--kwordquiz/src/flashview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kwordquiz/src/flashview.cpp b/kwordquiz/src/flashview.cpp
index eb29cb62..a7561643 100644
--- a/kwordquiz/src/flashview.cpp
+++ b/kwordquiz/src/flashview.cpp
@@ -25,8 +25,8 @@
#include "prefs.h"
-FlashView::FlashView(TQWidget *tqparent, const char *name, WFlags f)
- : FlashViewBase(tqparent, name, f)
+FlashView::FlashView(TQWidget *parent, const char *name, WFlags f)
+ : FlashViewBase(parent, name, f)
{
m_score = new WTQScore();
m_timer = new TQTimer(this);
@@ -57,7 +57,7 @@ void FlashView::init()
updateScore();
- KWordQuizApp *win=(KWordQuizApp *) tqparent();
+ KWordQuizApp *win=(KWordQuizApp *) parent();
win->actionCollection()->action("quiz_check")->setEnabled(true);
win->actionCollection()->action("flash_know")->setEnabled(true);
win->actionCollection()->action("flash_dont_know")->setEnabled(true);
@@ -106,7 +106,7 @@ void FlashView::keepDiscardCard(bool keep)
else
{
m_quiz->finish();
- KWordQuizApp *win=(KWordQuizApp *) tqparent();
+ KWordQuizApp *win=(KWordQuizApp *) parent();
win->actionCollection()->action("quiz_check")->setEnabled(false);
win->actionCollection()->action("flash_know")->setEnabled(false);
win->actionCollection()->action("flash_dont_know")->setEnabled(false);