summaryrefslogtreecommitdiffstats
path: root/kbruch/src/factorizedwidget.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/factorizedwidget.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/factorizedwidget.cpp')
-rw-r--r--kbruch/src/factorizedwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbruch/src/factorizedwidget.cpp b/kbruch/src/factorizedwidget.cpp
index c6501d4e..4a106a0f 100644
--- a/kbruch/src/factorizedwidget.cpp
+++ b/kbruch/src/factorizedwidget.cpp
@@ -18,11 +18,11 @@
#include "factorizedwidget.h"
#include "factorizedwidget.moc"
-/* these includes are needed for Qt support */
+/* these includes are needed for TQt support */
#include <tqpainter.h>
-FactorizedWidget::FactorizedWidget(TQWidget * parent, const char * name, const uintList para_factors) :
- FractionBaseWidget(parent, name), m_factors(para_factors)
+FactorizedWidget::FactorizedWidget(TQWidget * tqparent, const char * name, const uintList para_factors) :
+ FractionBaseWidget(tqparent, name), m_factors(para_factors)
{
#ifdef DEBUG
kdDebug() << "constructor FactorizedWidget" << endl;
@@ -57,7 +57,7 @@ void FactorizedWidget::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);