diff options
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 ; } |