summaryrefslogtreecommitdiffstats
path: root/kbruch/src/rationalwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbruch/src/rationalwidget.cpp')
-rw-r--r--kbruch/src/rationalwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbruch/src/rationalwidget.cpp b/kbruch/src/rationalwidget.cpp
index f930d882..d0d0d546 100644
--- a/kbruch/src/rationalwidget.cpp
+++ b/kbruch/src/rationalwidget.cpp
@@ -18,12 +18,12 @@
#include "rationalwidget.h"
#include "rationalwidget.moc"
-/* these includes are needed for Qt support */
+/* these includes are needed for TQt support */
#include <tqpainter.h>
#include <tqstring.h>
-RationalWidget::RationalWidget(TQWidget * parent, const char * name, const TQString pnumber, const uint pperiodStart, const uint pperiodLength):
- FractionBaseWidget(parent, name), m_number(pnumber),
+RationalWidget::RationalWidget(TQWidget * tqparent, const char * name, const TQString pnumber, const uint pperiodStart, const uint pperiodLength):
+ FractionBaseWidget(tqparent, name), m_number(pnumber),
m_periodStart(pperiodStart), m_periodLength(pperiodLength)
{
#ifdef DEBUG
@@ -64,7 +64,7 @@ void RationalWidget::paintEvent(TQPaintEvent* /* p_paintEvent */)
paint.setFont(m_font);
// set the pen for painting
- TQPen pen(Qt::SolidLine);
+ TQPen pen(TQt::SolidLine);
pen.setWidth(0);
paint.setPen(pen);