diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 625904bd3097f9749450428904ca14ff2531824d (patch) | |
tree | a45c43d5de71cb720078fa1272a4339815a919be /khexedit/draglabel.cc | |
parent | 6335dc55802871b5a43492f217b6edbb420204c4 (diff) | |
download | tdeutils-625904bd3097f9749450428904ca14ff2531824d.tar.gz tdeutils-625904bd3097f9749450428904ca14ff2531824d.zip |
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
Diffstat (limited to 'khexedit/draglabel.cc')
-rw-r--r-- | khexedit/draglabel.cc | 10 |
1 files changed, 5 insertions, 5 deletions
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 ); |