From 625904bd3097f9749450428904ca14ff2531824d Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khexedit/draglabel.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'khexedit/draglabel.cc') diff --git a/khexedit/draglabel.cc b/khexedit/draglabel.cc index b404f8e..564521f 100644 --- a/khexedit/draglabel.cc +++ b/khexedit/draglabel.cc @@ -28,8 +28,8 @@ #include "draglabel.h" -CDragLabel::CDragLabel( TQWidget *tqparent ) - : TQLabel( "draglabel", tqparent, "kde toolbar widget" ) +CDragLabel::CDragLabel( TQWidget *parent ) + : TQLabel( "draglabel", parent, "kde toolbar widget" ) { mValid = true; mDragPending = false; @@ -120,12 +120,12 @@ void CDragLabel::prepPixmap( KURLDrag &uriDrag ) int h = fontMetrics().lineSpacing(); if( pixmap()->height() > h ) { h = pixmap()->height(); } - TQBitmap tqmask( w, h, TRUE ); + TQBitmap mask( w, h, TRUE ); TQPixmap dragPixmap( w, h ); dragPixmap.fill( black ); TQPainter p; - p.begin( &tqmask ); + p.begin( &mask ); p.setPen( white ); p.drawPixmap( 0, 0, mDragMask ); p.drawText( pixmap()->width()+sep, 0, w-pixmap()->width()+sep, @@ -136,7 +136,7 @@ void CDragLabel::prepPixmap( KURLDrag &uriDrag ) p.drawPixmap( 0, 0, *pixmap() ); p.end(); - dragPixmap.setMask( tqmask ); + dragPixmap.setMask( mask ); TQPoint hotspot( pixmap()->width(), pixmap()->height()/2 ); uriDrag.setPixmap( dragPixmap, hotspot ); -- cgit v1.2.3