|
|
|
@ -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();
|
|
|
|
|