From 33b2a9cc7dc561872d96ef9f42d894497e2e7c42 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Aug 2023 12:22:12 +0900 Subject: Drop TQT_TQ*_OBJECT defines Signed-off-by: Michele Calgaro --- kmail/filehtmlwriter.cpp | 2 +- kmail/kmcomposewin.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kmail') diff --git a/kmail/filehtmlwriter.cpp b/kmail/filehtmlwriter.cpp index abad64207..8c74ebb60 100644 --- a/kmail/filehtmlwriter.cpp +++ b/kmail/filehtmlwriter.cpp @@ -96,7 +96,7 @@ namespace KMail { if ( !mFile.open( IO_WriteOnly ) ) kdWarning( 5006 ) << "FileHtmlWriter: Cannot open file " << mFile.name() << endl; else - mStream.setDevice( &TQT_TQIODEVICE_OBJECT(mFile) ); + mStream.setDevice( &mFile ); } void FileHtmlWriter::embedPart( const TQCString & contentId, const TQString & url ) { diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp index 9125f56f1..863589067 100644 --- a/kmail/kmcomposewin.cpp +++ b/kmail/kmcomposewin.cpp @@ -3304,7 +3304,7 @@ void KMComposeWin::compressAttach( int idx ) msgPart = mAtmList.at( i ); TQByteArray array; TQBuffer dev( array ); - KZip zip( &TQT_TQIODEVICE_OBJECT(dev) ); + KZip zip( &dev ); TQByteArray decoded = msgPart->bodyDecodedBinary(); if ( ! zip.open( IO_WriteOnly ) ) { KMessageBox::sorry(0, i18n("KMail could not compress the file.") ); @@ -3383,7 +3383,7 @@ void KMComposeWin::uncompressAttach( int idx ) msgPart = mAtmList.at( i ); TQBuffer dev( msgPart->bodyDecodedBinary() ); - KZip zip( &TQT_TQIODEVICE_OBJECT(dev) ); + KZip zip( &dev ); TQByteArray decoded; decoded = msgPart->bodyDecodedBinary(); -- cgit v1.2.1