summaryrefslogtreecommitdiffstats
path: root/noatun/modules/kaiman/style.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/kaiman/style.cpp')
-rw-r--r--noatun/modules/kaiman/style.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/noatun/modules/kaiman/style.cpp b/noatun/modules/kaiman/style.cpp
index 621b0240..4e568b5d 100644
--- a/noatun/modules/kaiman/style.cpp
+++ b/noatun/modules/kaiman/style.cpp
@@ -124,9 +124,9 @@ void KaimanStyleElement::loadPixmaps(TQString &val_s_filename)
if(pixmap.tqmask())
{
- TQBitmap tqmaskpart(w,h);
- bitBlt(&tqmaskpart,0,0,pixmap.tqmask(),sourcex,sourcey,w,h);
- part->setMask(tqmaskpart);
+ TQBitmap maskpart(w,h);
+ bitBlt(&maskpart,0,0,pixmap.tqmask(),sourcex,sourcey,w,h);
+ part->setMask(maskpart);
}
i++;
@@ -186,7 +186,7 @@ void KaimanStyleElement::dragEnterEvent( TQDragEnterEvent *event )
void KaimanStyleElement::dropEvent( TQDropEvent *event )
{
- ((Kaiman*)(tqparentWidget()->tqparentWidget()))->doDropEvent(event);
+ ((Kaiman*)(parentWidget()->parentWidget()))->doDropEvent(event);
}
/***************************************************************************/
@@ -511,8 +511,8 @@ void KaimanStyleBackground::mouseMoveEvent(TQMouseEvent *qme)
}
if ( i_b_move ) {
- TQWidget *p = tqparentWidget()->tqparentWidget();
- if ( !p ) p = tqparentWidget();
+ TQWidget *p = parentWidget()->parentWidget();
+ if ( !p ) p = parentWidget();
p->move( qme->globalPos() - i_point_dragStart );
}