diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | eb570158698cf61dad4f77d950ef908160f6c3cc (patch) | |
tree | 649bf182bcf0a20bed5035d25ffd77de5aee138a /kbruch/src | |
parent | d8762de95349dc6edaa34db9bf699b367c1af6b1 (diff) | |
download | tdeedu-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 'kbruch/src')
-rw-r--r-- | kbruch/src/exercisebase.cpp | 4 | ||||
-rw-r--r-- | kbruch/src/exercisebase.h | 2 | ||||
-rw-r--r-- | kbruch/src/exercisecompare.cpp | 4 | ||||
-rw-r--r-- | kbruch/src/exercisecompare.h | 2 | ||||
-rw-r--r-- | kbruch/src/exerciseconvert.cpp | 4 | ||||
-rw-r--r-- | kbruch/src/exerciseconvert.h | 2 | ||||
-rw-r--r-- | kbruch/src/exercisefactorize.cpp | 4 | ||||
-rw-r--r-- | kbruch/src/exercisefactorize.h | 2 | ||||
-rw-r--r-- | kbruch/src/factorizedwidget.cpp | 4 | ||||
-rw-r--r-- | kbruch/src/factorizedwidget.h | 2 | ||||
-rw-r--r-- | kbruch/src/fractionbasewidget.cpp | 4 | ||||
-rw-r--r-- | kbruch/src/fractionbasewidget.h | 2 | ||||
-rw-r--r-- | kbruch/src/rationalwidget.cpp | 4 | ||||
-rw-r--r-- | kbruch/src/rationalwidget.h | 2 | ||||
-rw-r--r-- | kbruch/src/ratiowidget.cpp | 4 | ||||
-rw-r--r-- | kbruch/src/ratiowidget.h | 2 | ||||
-rw-r--r-- | kbruch/src/resultwidget.cpp | 4 | ||||
-rw-r--r-- | kbruch/src/resultwidget.h | 2 | ||||
-rw-r--r-- | kbruch/src/statisticsview.cpp | 4 | ||||
-rw-r--r-- | kbruch/src/statisticsview.h | 2 | ||||
-rw-r--r-- | kbruch/src/taskview.cpp | 4 | ||||
-rw-r--r-- | kbruch/src/taskview.h | 2 | ||||
-rw-r--r-- | kbruch/src/taskwidget.cpp | 4 | ||||
-rw-r--r-- | kbruch/src/taskwidget.h | 2 |
24 files changed, 36 insertions, 36 deletions
diff --git a/kbruch/src/exercisebase.cpp b/kbruch/src/exercisebase.cpp index f7be0fdc..649bb6c8 100644 --- a/kbruch/src/exercisebase.cpp +++ b/kbruch/src/exercisebase.cpp @@ -25,8 +25,8 @@ /* ----- public member functions ----- */ /* constructor */ -ExerciseBase::ExerciseBase(TQWidget * tqparent, const char * name): - TQWidget(tqparent, name) +ExerciseBase::ExerciseBase(TQWidget * parent, const char * name): + TQWidget(parent, name) { #ifdef DEBUG kdDebug() << "constructor ExerciseBase()" << endl; diff --git a/kbruch/src/exercisebase.h b/kbruch/src/exercisebase.h index cd0428d9..9d2f2089 100644 --- a/kbruch/src/exercisebase.h +++ b/kbruch/src/exercisebase.h @@ -40,7 +40,7 @@ class ExerciseBase : public TQWidget public: /** constructor */ - ExerciseBase(TQWidget * tqparent = 0, const char * name = 0); + ExerciseBase(TQWidget * parent = 0, const char * name = 0); /** destructor */ ~ExerciseBase(); diff --git a/kbruch/src/exercisecompare.cpp b/kbruch/src/exercisecompare.cpp index 295698fb..c00c6dd0 100644 --- a/kbruch/src/exercisecompare.cpp +++ b/kbruch/src/exercisecompare.cpp @@ -35,8 +35,8 @@ /* ----- public member functions ----- */ /* constructor */ -ExerciseCompare::ExerciseCompare(TQWidget * tqparent, const char * name): - ExerciseBase(tqparent, name) +ExerciseCompare::ExerciseCompare(TQWidget * parent, const char * name): + ExerciseBase(parent, name) { #ifdef DEBUG kdDebug() << "constructor ExerciseCompare()" << endl; diff --git a/kbruch/src/exercisecompare.h b/kbruch/src/exercisecompare.h index bb944a8c..e21bd69b 100644 --- a/kbruch/src/exercisecompare.h +++ b/kbruch/src/exercisecompare.h @@ -49,7 +49,7 @@ class ExerciseCompare : public ExerciseBase public: /** constructor */ - ExerciseCompare(TQWidget * tqparent = 0, const char * name = 0); + ExerciseCompare(TQWidget * parent = 0, const char * name = 0); /** destructor */ ~ExerciseCompare(); diff --git a/kbruch/src/exerciseconvert.cpp b/kbruch/src/exerciseconvert.cpp index 6112db90..0c97688a 100644 --- a/kbruch/src/exerciseconvert.cpp +++ b/kbruch/src/exerciseconvert.cpp @@ -41,8 +41,8 @@ /* ----- public member functions ----- */ /* constructor */ -ExerciseConvert::ExerciseConvert(TQWidget * tqparent, const char * name): - ExerciseBase(tqparent, name) +ExerciseConvert::ExerciseConvert(TQWidget * parent, const char * name): + ExerciseBase(parent, name) { #ifdef DEBUG kdDebug() << "constructor ExerciseConvert()" << endl; diff --git a/kbruch/src/exerciseconvert.h b/kbruch/src/exerciseconvert.h index 9d7413cd..feb3e5b8 100644 --- a/kbruch/src/exerciseconvert.h +++ b/kbruch/src/exerciseconvert.h @@ -47,7 +47,7 @@ class ExerciseConvert : public ExerciseBase public: /** constructor */ - ExerciseConvert(TQWidget * tqparent = 0, const char * name = 0); + ExerciseConvert(TQWidget * parent = 0, const char * name = 0); /** destructor */ ~ExerciseConvert(); diff --git a/kbruch/src/exercisefactorize.cpp b/kbruch/src/exercisefactorize.cpp index 30c09de7..aa12a766 100644 --- a/kbruch/src/exercisefactorize.cpp +++ b/kbruch/src/exercisefactorize.cpp @@ -44,8 +44,8 @@ /* ----- public member functions ----- */ /* constructor */ -ExerciseFactorize::ExerciseFactorize(TQWidget * tqparent, const char * name): - ExerciseBase(tqparent, name) +ExerciseFactorize::ExerciseFactorize(TQWidget * parent, const char * name): + ExerciseBase(parent, name) { TQPalette pal; TQColorGroup cg; diff --git a/kbruch/src/exercisefactorize.h b/kbruch/src/exercisefactorize.h index 0e36d016..8a6f5c2c 100644 --- a/kbruch/src/exercisefactorize.h +++ b/kbruch/src/exercisefactorize.h @@ -64,7 +64,7 @@ class ExerciseFactorize : public ExerciseBase public: /** constructor */ - ExerciseFactorize(TQWidget * tqparent = 0, const char * name = 0); + ExerciseFactorize(TQWidget * parent = 0, const char * name = 0); /** destructor */ ~ExerciseFactorize(); diff --git a/kbruch/src/factorizedwidget.cpp b/kbruch/src/factorizedwidget.cpp index 4a106a0f..b7bb636b 100644 --- a/kbruch/src/factorizedwidget.cpp +++ b/kbruch/src/factorizedwidget.cpp @@ -21,8 +21,8 @@ /* these includes are needed for TQt support */ #include <tqpainter.h> -FactorizedWidget::FactorizedWidget(TQWidget * tqparent, const char * name, const uintList para_factors) : - FractionBaseWidget(tqparent, name), m_factors(para_factors) +FactorizedWidget::FactorizedWidget(TQWidget * parent, const char * name, const uintList para_factors) : + FractionBaseWidget(parent, name), m_factors(para_factors) { #ifdef DEBUG kdDebug() << "constructor FactorizedWidget" << endl; diff --git a/kbruch/src/factorizedwidget.h b/kbruch/src/factorizedwidget.h index 6c9f7bdf..8a62b76e 100644 --- a/kbruch/src/factorizedwidget.h +++ b/kbruch/src/factorizedwidget.h @@ -39,7 +39,7 @@ class FactorizedWidget : public FractionBaseWidget public: /** constructor */ - FactorizedWidget(TQWidget * tqparent, const char * name, const uintList para_factors); + FactorizedWidget(TQWidget * parent, const char * name, const uintList para_factors); /** destructor */ ~FactorizedWidget(); diff --git a/kbruch/src/fractionbasewidget.cpp b/kbruch/src/fractionbasewidget.cpp index 0e1d4d0b..b8dbfacd 100644 --- a/kbruch/src/fractionbasewidget.cpp +++ b/kbruch/src/fractionbasewidget.cpp @@ -26,8 +26,8 @@ #include "settingsclass.h" -FractionBaseWidget::FractionBaseWidget(TQWidget * tqparent = 0, const char * name = 0) : - TQWidget(tqparent, name) +FractionBaseWidget::FractionBaseWidget(TQWidget * parent = 0, const char * name = 0) : + TQWidget(parent, name) { #ifdef DEBUG kdDebug() << "constructor FractionBaseWidget" << endl; diff --git a/kbruch/src/fractionbasewidget.h b/kbruch/src/fractionbasewidget.h index 74041c4f..5e3c9ea6 100644 --- a/kbruch/src/fractionbasewidget.h +++ b/kbruch/src/fractionbasewidget.h @@ -40,7 +40,7 @@ class FractionBaseWidget : public TQWidget public: /** constructor */ - FractionBaseWidget(TQWidget * tqparent, const char * name); + FractionBaseWidget(TQWidget * parent, const char * name); /** destructor */ ~FractionBaseWidget(); diff --git a/kbruch/src/rationalwidget.cpp b/kbruch/src/rationalwidget.cpp index d0d0d546..b78cd588 100644 --- a/kbruch/src/rationalwidget.cpp +++ b/kbruch/src/rationalwidget.cpp @@ -22,8 +22,8 @@ #include <tqpainter.h> #include <tqstring.h> -RationalWidget::RationalWidget(TQWidget * tqparent, const char * name, const TQString pnumber, const uint pperiodStart, const uint pperiodLength): - FractionBaseWidget(tqparent, name), m_number(pnumber), +RationalWidget::RationalWidget(TQWidget * parent, const char * name, const TQString pnumber, const uint pperiodStart, const uint pperiodLength): + FractionBaseWidget(parent, name), m_number(pnumber), m_periodStart(pperiodStart), m_periodLength(pperiodLength) { #ifdef DEBUG diff --git a/kbruch/src/rationalwidget.h b/kbruch/src/rationalwidget.h index cccae714..84a6fa9f 100644 --- a/kbruch/src/rationalwidget.h +++ b/kbruch/src/rationalwidget.h @@ -38,7 +38,7 @@ class RationalWidget : public FractionBaseWidget public: /** constructor */ - RationalWidget(TQWidget * tqparent, const char * name, const TQString pnumber, const uint pperiodStart = 1, const uint pperiodLength = 0); + RationalWidget(TQWidget * parent, const char * name, const TQString pnumber, const uint pperiodStart = 1, const uint pperiodLength = 0); /** destructor */ ~RationalWidget(); diff --git a/kbruch/src/ratiowidget.cpp b/kbruch/src/ratiowidget.cpp index ae92f09c..dddf7d11 100644 --- a/kbruch/src/ratiowidget.cpp +++ b/kbruch/src/ratiowidget.cpp @@ -21,9 +21,9 @@ /* these includes are needed for TQt support */ #include <tqpainter.h> -RatioWidget::RatioWidget(TQWidget * tqparent = 0, const char * name = 0, +RatioWidget::RatioWidget(TQWidget * parent = 0, const char * name = 0, const ratio para_ratio = *new ratio()) : - FractionBaseWidget(tqparent, name), m_ratio(para_ratio) + FractionBaseWidget(parent, name), m_ratio(para_ratio) { #ifdef DEBUG kdDebug() << "constructor RatioWidget" << endl; diff --git a/kbruch/src/ratiowidget.h b/kbruch/src/ratiowidget.h index c861741d..b8dfb706 100644 --- a/kbruch/src/ratiowidget.h +++ b/kbruch/src/ratiowidget.h @@ -37,7 +37,7 @@ class RatioWidget : public FractionBaseWidget public: /** constructor */ - RatioWidget(TQWidget * tqparent, const char * name, const ratio para_ratio); + RatioWidget(TQWidget * parent, const char * name, const ratio para_ratio); /** destructor */ ~RatioWidget(); diff --git a/kbruch/src/resultwidget.cpp b/kbruch/src/resultwidget.cpp index 853e73da..caecfdbe 100644 --- a/kbruch/src/resultwidget.cpp +++ b/kbruch/src/resultwidget.cpp @@ -23,9 +23,9 @@ #include "settingsclass.h" -ResultWidget::ResultWidget(TQWidget * tqparent = 0, const char * name = 0, +ResultWidget::ResultWidget(TQWidget * parent = 0, const char * name = 0, const ratio para_result = *new ratio()) : - FractionBaseWidget(tqparent, name), m_result(para_result) + FractionBaseWidget(parent, name), m_result(para_result) { #ifdef DEBUG kdDebug() << "constructor ResultWidget" << endl; diff --git a/kbruch/src/resultwidget.h b/kbruch/src/resultwidget.h index c742d1be..ec5f5b59 100644 --- a/kbruch/src/resultwidget.h +++ b/kbruch/src/resultwidget.h @@ -37,7 +37,7 @@ class ResultWidget : public FractionBaseWidget public: /** constructor */ - ResultWidget(TQWidget * tqparent, const char * name, const ratio para_result); + ResultWidget(TQWidget * parent, const char * name, const ratio para_result); /** destructor */ ~ResultWidget(); diff --git a/kbruch/src/statisticsview.cpp b/kbruch/src/statisticsview.cpp index b3fee887..6c73b2b8 100644 --- a/kbruch/src/statisticsview.cpp +++ b/kbruch/src/statisticsview.cpp @@ -31,8 +31,8 @@ #include "settingsclass.h" /* constructor */ -StatisticsView::StatisticsView(TQWidget * tqparent, const char * name): - TQWidget(tqparent, name), m_count(0), m_correct(0) +StatisticsView::StatisticsView(TQWidget * parent, const char * name): + TQWidget(parent, name), m_count(0), m_correct(0) { #ifdef DEBUG kdDebug() << "constructor StatisticsView()" << endl; diff --git a/kbruch/src/statisticsview.h b/kbruch/src/statisticsview.h index 60ea147c..9b2821b8 100644 --- a/kbruch/src/statisticsview.h +++ b/kbruch/src/statisticsview.h @@ -41,7 +41,7 @@ class StatisticsView : public TQWidget public: /** constructor */ - StatisticsView(TQWidget * tqparent = 0, const char * name = 0); + StatisticsView(TQWidget * parent = 0, const char * name = 0); /** destructor */ ~StatisticsView(); diff --git a/kbruch/src/taskview.cpp b/kbruch/src/taskview.cpp index 6318c7bf..2cb4f8ec 100644 --- a/kbruch/src/taskview.cpp +++ b/kbruch/src/taskview.cpp @@ -38,9 +38,9 @@ /* ----- public member functions ----- */ /* constructor */ -TaskView::TaskView(TQWidget * tqparent, const char * name, bool padd_sub, +TaskView::TaskView(TQWidget * parent, const char * name, bool padd_sub, bool pmul_div, unsigned int pnr_ratios, unsigned int pmax_md): - ExerciseBase(tqparent, name), add_sub(padd_sub), mul_div(pmul_div), + ExerciseBase(parent, name), add_sub(padd_sub), mul_div(pmul_div), nr_ratios(pnr_ratios), max_md(pmax_md) { #ifdef DEBUG diff --git a/kbruch/src/taskview.h b/kbruch/src/taskview.h index 91e650b2..a586dd95 100644 --- a/kbruch/src/taskview.h +++ b/kbruch/src/taskview.h @@ -55,7 +55,7 @@ class TaskView : public ExerciseBase public: /** constructor */ - TaskView(TQWidget * tqparent = 0, const char * name = 0, + TaskView(TQWidget * parent = 0, const char * name = 0, bool padd_sub = true, bool pmul_div = false, unsigned int pnr_ratios = 2, unsigned int pmax_md = 10); diff --git a/kbruch/src/taskwidget.cpp b/kbruch/src/taskwidget.cpp index 795bc4cb..88a69c3a 100644 --- a/kbruch/src/taskwidget.cpp +++ b/kbruch/src/taskwidget.cpp @@ -24,9 +24,9 @@ /* these includes are needed for TQt support */ #include <tqpainter.h> -TaskWidget::TaskWidget(TQWidget * tqparent = 0, const char * name = 0, +TaskWidget::TaskWidget(TQWidget * parent = 0, const char * name = 0, const task para_task = *new task()) : - FractionBaseWidget(tqparent, name), m_task(para_task) + FractionBaseWidget(parent, name), m_task(para_task) { #ifdef DEBUG kdDebug() << "constructor TaskWidget" << endl; diff --git a/kbruch/src/taskwidget.h b/kbruch/src/taskwidget.h index b2bd6f59..b9b8347b 100644 --- a/kbruch/src/taskwidget.h +++ b/kbruch/src/taskwidget.h @@ -47,7 +47,7 @@ class TaskWidget : public FractionBaseWidget public: /** constructor */ - TaskWidget(TQWidget * tqparent, const char * name, const task para_task); + TaskWidget(TQWidget * parent, const char * name, const task para_task); /** destructor */ ~TaskWidget(); |