diff options
Diffstat (limited to 'kbruch/src')
-rw-r--r-- | kbruch/src/fractionbasewidget.cpp | 2 | ||||
-rw-r--r-- | kbruch/src/ratiowidget.cpp | 2 | ||||
-rw-r--r-- | kbruch/src/resultwidget.cpp | 2 | ||||
-rw-r--r-- | kbruch/src/taskwidget.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/kbruch/src/fractionbasewidget.cpp b/kbruch/src/fractionbasewidget.cpp index 02fd1cfb..0cc52c8f 100644 --- a/kbruch/src/fractionbasewidget.cpp +++ b/kbruch/src/fractionbasewidget.cpp @@ -26,7 +26,7 @@ #include "settingsclass.h" -FractionBaseWidget::FractionBaseWidget(TQWidget * parent = 0, const char * name = 0) : +FractionBaseWidget::FractionBaseWidget(TQWidget * parent, const char * name) : TQWidget(parent, name) { #ifdef DEBUG diff --git a/kbruch/src/ratiowidget.cpp b/kbruch/src/ratiowidget.cpp index dddf7d11..9323cb1d 100644 --- a/kbruch/src/ratiowidget.cpp +++ b/kbruch/src/ratiowidget.cpp @@ -21,7 +21,7 @@ /* these includes are needed for TQt support */ #include <tqpainter.h> -RatioWidget::RatioWidget(TQWidget * parent = 0, const char * name = 0, +RatioWidget::RatioWidget(TQWidget * parent, const char * name, const ratio para_ratio = *new ratio()) : FractionBaseWidget(parent, name), m_ratio(para_ratio) { diff --git a/kbruch/src/resultwidget.cpp b/kbruch/src/resultwidget.cpp index caecfdbe..9735b046 100644 --- a/kbruch/src/resultwidget.cpp +++ b/kbruch/src/resultwidget.cpp @@ -23,7 +23,7 @@ #include "settingsclass.h" -ResultWidget::ResultWidget(TQWidget * parent = 0, const char * name = 0, +ResultWidget::ResultWidget(TQWidget * parent, const char * name, const ratio para_result = *new ratio()) : FractionBaseWidget(parent, name), m_result(para_result) { diff --git a/kbruch/src/taskwidget.cpp b/kbruch/src/taskwidget.cpp index 3dbe954e..c43fcde6 100644 --- a/kbruch/src/taskwidget.cpp +++ b/kbruch/src/taskwidget.cpp @@ -24,7 +24,7 @@ /* these includes are needed for TQt support */ #include <tqpainter.h> -TaskWidget::TaskWidget(TQWidget * parent = 0, const char * name = 0, +TaskWidget::TaskWidget(TQWidget * parent, const char * name, const task para_task = *new task()) : FractionBaseWidget(parent, name), m_task(para_task) { |