summaryrefslogtreecommitdiffstats
path: root/kbruch/src/rationalwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kbruch/src/rationalwidget.cpp
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);