diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
commit | 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch) | |
tree | daabcb652c07b9a17cad88ca50b63a2d91ead4a3 /libkonq/konq_pixmapprovider.cc | |
parent | 50001f1757f97510e80cb1990e2f2d5b00144c2a (diff) | |
download | tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkonq/konq_pixmapprovider.cc')
-rw-r--r-- | libkonq/konq_pixmapprovider.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libkonq/konq_pixmapprovider.cc b/libkonq/konq_pixmapprovider.cc index 3cff83453..9ce147b07 100644 --- a/libkonq/konq_pixmapprovider.cc +++ b/libkonq/konq_pixmapprovider.cc @@ -182,13 +182,13 @@ TQPixmap KonqPixmapProvider::loadIcon( const TQString& url, const TQString& icon int x = big.width() - small.width(); int y = 0; - if ( big.mask() ) { - TQBitmap mask = *big.mask(); - bitBlt( &mask, x, y, - small.mask() ? const_cast<TQBitmap *>(small.mask()) : &small, 0, 0, + if ( big.tqmask() ) { + TQBitmap tqmask = *big.tqmask(); + bitBlt( &tqmask, x, y, + small.tqmask() ? const_cast<TQBitmap *>(small.tqmask()) : &small, 0, 0, small.width(), small.height(), - small.mask() ? OrROP : SetROP ); - big.setMask( mask ); + small.tqmask() ? OrROP : SetROP ); + big.setMask( tqmask ); } bitBlt( &big, x, y, &small ); |