From a374efce3a207b39514be3c52264091400ce297e Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 04:44:41 +0000 Subject: 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 --- kbruch/src/rationalwidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kbruch/src/rationalwidget.cpp') 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 #include -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); -- cgit v1.2.1