summaryrefslogtreecommitdiffstats
path: root/kmail
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 /kmail
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 'kmail')
-rw-r--r--kmail/filehtmlwriter.cpp2
-rw-r--r--kmail/kmcomposewin.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/kmail/filehtmlwriter.cpp b/kmail/filehtmlwriter.cpp
index abad6420..8c74ebb6 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 9125f56f..86358906 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();