diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 12:22:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 19:32:27 +0900 |
commit | 99823e03205ce40e9539caf0e41125a4b81d6329 (patch) | |
tree | f2bd772ad596eed79374356ee7b7d301a4be3bee /kmail | |
parent | efa55080160c7b88c4052c2567439c324f646614 (diff) | |
download | tdepim-99823e03205ce40e9539caf0e41125a4b81d6329.tar.gz tdepim-99823e03205ce40e9539caf0e41125a4b81d6329.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 33b2a9cc7dc561872d96ef9f42d894497e2e7c42)
Diffstat (limited to 'kmail')
-rw-r--r-- | kmail/filehtmlwriter.cpp | 2 | ||||
-rw-r--r-- | kmail/kmcomposewin.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
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(); |