diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
commit | 421b60af92c83b889f8903c2898f2bd07186fcd8 (patch) | |
tree | ad873a24c9438baed4942fda795430a4c3dc9a9a /src/kbfxplasmacanvasabstractitem.cpp | |
parent | 39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff) | |
download | kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip |
TQt4 port kbfx
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kbfxplasmacanvasabstractitem.cpp')
-rw-r--r-- | src/kbfxplasmacanvasabstractitem.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/kbfxplasmacanvasabstractitem.cpp b/src/kbfxplasmacanvasabstractitem.cpp index 4655765..38e810e 100644 --- a/src/kbfxplasmacanvasabstractitem.cpp +++ b/src/kbfxplasmacanvasabstractitem.cpp @@ -35,8 +35,8 @@ #include "kbfxplasmacanvasabstractitem.h" -KbfxPlasmaCanvasAbstractItem::KbfxPlasmaCanvasAbstractItem ( QCanvasPixmapArray * a, QCanvas * canvas ) - : QCanvasSprite ( a,canvas ) +KbfxPlasmaCanvasAbstractItem::KbfxPlasmaCanvasAbstractItem ( TQCanvasPixmapArray * a, TQCanvas * canvas ) + : TQCanvasSprite ( a,canvas ) { m_source=0; @@ -65,24 +65,24 @@ KbfxPlasmaCanvasAbstractItem::isCurrent() } void -KbfxPlasmaCanvasAbstractItem::mousePressEvent ( QMouseEvent * e ) +KbfxPlasmaCanvasAbstractItem::mousePressEvent ( TQMouseEvent * e ) { e = e; } void -KbfxPlasmaCanvasAbstractItem::mouseMoveEvent ( QMouseEvent * e ) +KbfxPlasmaCanvasAbstractItem::mouseMoveEvent ( TQMouseEvent * e ) { e = e; } void -KbfxPlasmaCanvasAbstractItem::enterEvent ( QEvent * e ) +KbfxPlasmaCanvasAbstractItem::enterEvent ( TQEvent * e ) { e =e ; } -void KbfxPlasmaCanvasAbstractItem::mouseReleaseEvent ( QMouseEvent * e ) +void KbfxPlasmaCanvasAbstractItem::mouseReleaseEvent ( TQMouseEvent * e ) { e =e ; emit clicked(); @@ -104,25 +104,25 @@ void KbfxPlasmaCanvasAbstractItem::hideit() } void -KbfxPlasmaCanvasAbstractItem::draw ( QPainter& pe ) +KbfxPlasmaCanvasAbstractItem::draw ( TQPainter& pe ) { this->drawContent ( &pe ); } -void KbfxPlasmaCanvasAbstractItem::setLabelText ( QString s ) +void KbfxPlasmaCanvasAbstractItem::setLabelText ( TQString s ) { s = s; } -QPixmap +TQPixmap KbfxPlasmaCanvasAbstractItem::dragPixmap() { - return QPixmap(); + return TQPixmap(); } void -KbfxPlasmaCanvasAbstractItem::drawContent ( QPainter * p ) +KbfxPlasmaCanvasAbstractItem::drawContent ( TQPainter * p ) { p = p ; } |