diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:48:02 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-05 12:00:23 +0900 |
commit | 3f84b83e22ef17cc53110d2c31bf6f1b3d850971 (patch) | |
tree | 57a5efdc44eb1850db7a52801b72f6a034a9b89d /libkonq | |
parent | e240ec46647a83839cc365b13f730d694aeb2686 (diff) | |
download | tdebase-3f84b83e22ef17cc53110d2c31bf6f1b3d850971.tar.gz tdebase-3f84b83e22ef17cc53110d2c31bf6f1b3d850971.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1390bece9a81780610a9aee6f7d543f72bf57d1a)
Diffstat (limited to 'libkonq')
-rw-r--r-- | libkonq/favicons/favicons.cpp | 2 | ||||
-rw-r--r-- | libkonq/konq_pixmapprovider.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libkonq/favicons/favicons.cpp b/libkonq/favicons/favicons.cpp index 05bddec1e..eab4a4479 100644 --- a/libkonq/favicons/favicons.cpp +++ b/libkonq/favicons/favicons.cpp @@ -219,7 +219,7 @@ void FaviconsModule::slotResult(TDEIO::Job *job) TQBuffer buffer(download.iconData); buffer.open(IO_ReadOnly); TQImageIO io; - io.setIODevice(TQT_TQIODEVICE(&buffer)); + io.setIODevice(&buffer); io.setParameters("size=16"); // Check here too, the job might have had no error, but the downloaded // file contains just a 404 message sent with a 200 status. diff --git a/libkonq/konq_pixmapprovider.cpp b/libkonq/konq_pixmapprovider.cpp index 28d5a9992..20a740eb4 100644 --- a/libkonq/konq_pixmapprovider.cpp +++ b/libkonq/konq_pixmapprovider.cpp @@ -186,7 +186,7 @@ TQPixmap KonqPixmapProvider::loadIcon( const TQString& url, const TQString& icon if ( big.mask() ) { TQBitmap mask = *big.mask(); bitBlt( &mask, x, y, - small.mask() ? TQT_TQPIXMAP(const_cast<TQBitmap *>(small.mask())) : &small, 0, 0, + small.mask() ? const_cast<TQBitmap *>(small.mask()) : &small, 0, 0, small.width(), small.height(), small.mask() ? OrROP : SetROP ); big.setMask( mask ); |