summaryrefslogtreecommitdiffstats
path: root/ktnef
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:22:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 18:03:43 +0900
commit33b2a9cc7dc561872d96ef9f42d894497e2e7c42 (patch)
tree3b2f3205410a69b37a753c8c1e17f99f16a4c182 /ktnef
parentcd4b0ac22608120ad003f575a1640e1ddc7703df (diff)
downloadtdepim-33b2a9cc7dc561872d96ef9f42d894497e2e7c42.tar.gz
tdepim-33b2a9cc7dc561872d96ef9f42d894497e2e7c42.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ktnef')
-rw-r--r--ktnef/gui/attachpropertydialog.cpp2
-rw-r--r--ktnef/lib/ktnefmessage.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ktnef/gui/attachpropertydialog.cpp b/ktnef/gui/attachpropertydialog.cpp
index 73b208715..f8d8ce125 100644
--- a/ktnef/gui/attachpropertydialog.cpp
+++ b/ktnef/gui/attachpropertydialog.cpp
@@ -178,7 +178,7 @@ TQPixmap loadRenderingPixmap( KTNEFPropertySet *pSet, const TQColor& bgColor )
{
pix.resize( w, h );
pix.fill( bgColor );
- wmfLoader.paint( &TQT_TQPAINTDEVICE_OBJECT(pix) );
+ wmfLoader.paint( &pix );
}
wmfBuffer.close();
}
diff --git a/ktnef/lib/ktnefmessage.cpp b/ktnef/lib/ktnefmessage.cpp
index 27f98606e..320ce411c 100644
--- a/ktnef/lib/ktnefmessage.cpp
+++ b/ktnef/lib/ktnefmessage.cpp
@@ -76,7 +76,7 @@ TQString KTNEFMessage::rtfString()
TQByteArray rtf;
TQBuffer input( prop.asByteArray() ), output( rtf );
if ( input.open( IO_ReadOnly ) && output.open( IO_WriteOnly ) )
- lzfu_decompress( &TQT_TQIODEVICE_OBJECT(input), &TQT_TQIODEVICE_OBJECT(output) );
+ lzfu_decompress( &input, &output );
return TQString( rtf );
}
}