summaryrefslogtreecommitdiffstats
path: root/libkonq
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:48:02 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-05 11:59:10 +0900
commit1390bece9a81780610a9aee6f7d543f72bf57d1a (patch)
tree2fd0b99061d4121dc8405c36ded3718dd2fe4420 /libkonq
parenta1cbb16badbaa5cab1e96e8665a74cf0229b95d7 (diff)
downloadtdebase-1390bece9a81780610a9aee6f7d543f72bf57d1a.tar.gz
tdebase-1390bece9a81780610a9aee6f7d543f72bf57d1a.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkonq')
-rw-r--r--libkonq/favicons/favicons.cpp2
-rw-r--r--libkonq/konq_pixmapprovider.cpp2
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 );