summaryrefslogtreecommitdiffstats
path: root/kget/droptarget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kget/droptarget.cpp')
-rw-r--r--kget/droptarget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kget/droptarget.cpp b/kget/droptarget.cpp
index 419de737..5bc91256 100644
--- a/kget/droptarget.cpp
+++ b/kget/droptarget.cpp
@@ -77,10 +77,10 @@ DropTarget::DropTarget(KMainWindow * mainWin):TQWidget()
// setup pixmaps
- if (!bgnd.tqmask())
- kdError(5001) << "Drop target pixmap has no tqmask!\n";
+ if (!bgnd.mask())
+ kdError(5001) << "Drop target pixmap has no mask!\n";
else
- tqmask = *bgnd.tqmask();
+ mask = *bgnd.mask();
setBackgroundPixmap( bgnd );
@@ -144,7 +144,7 @@ DropTarget::mousePressEvent(TQMouseEvent * e)
void DropTarget::resizeEvent(TQResizeEvent *)
{
#ifdef TQ_WS_X11
- XShapeCombineMask(x11Display(), winId(), ShapeBounding, 0, 0, tqmask.handle(), ShapeSet);
+ XShapeCombineMask(x11Display(), winId(), ShapeBounding, 0, 0, mask.handle(), ShapeSet);
#endif
}