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 18:03:43 +0900 |
commit | 33b2a9cc7dc561872d96ef9f42d894497e2e7c42 (patch) | |
tree | 3b2f3205410a69b37a753c8c1e17f99f16a4c182 | |
parent | cd4b0ac22608120ad003f575a1640e1ddc7703df (diff) | |
download | tdepim-33b2a9cc7dc561872d96ef9f42d894497e2e7c42.tar.gz tdepim-33b2a9cc7dc561872d96ef9f42d894497e2e7c42.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | kmail/filehtmlwriter.cpp | 2 | ||||
-rw-r--r-- | kmail/kmcomposewin.cpp | 4 | ||||
-rw-r--r-- | ktnef/gui/attachpropertydialog.cpp | 2 | ||||
-rw-r--r-- | ktnef/lib/ktnefmessage.cpp | 2 | ||||
-rw-r--r-- | libkcal/incidenceformatter.cpp | 2 | ||||
-rw-r--r-- | libtdepim/kdateedit.cpp | 2 |
6 files changed, 7 insertions, 7 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(); 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 ); } } diff --git a/libkcal/incidenceformatter.cpp b/libkcal/incidenceformatter.cpp index da3a7aae0..785a681bd 100644 --- a/libkcal/incidenceformatter.cpp +++ b/libkcal/incidenceformatter.cpp @@ -2837,7 +2837,7 @@ TQString IncidenceFormatter::msTNEFToVPart( const TQByteArray& tnef ) ICalFormat calFormat; Event* event = new Event(); - if( parser.openDevice( &TQT_TQIODEVICE_OBJECT(buf) ) ) { + if( parser.openDevice( &buf ) ) { KTNEFMessage* tnefMsg = parser.message(); //TQMap<int,KTNEFProperty*> props = parser.message()->properties(); diff --git a/libtdepim/kdateedit.cpp b/libtdepim/kdateedit.cpp index dd6b4e480..392e53eee 100644 --- a/libtdepim/kdateedit.cpp +++ b/libtdepim/kdateedit.cpp @@ -286,7 +286,7 @@ bool KDateEdit::eventFilter( TQObject *object, TQEvent *event ) case TQEvent::MouseButtonDblClick: case TQEvent::MouseButtonPress: { TQMouseEvent *mouseEvent = (TQMouseEvent*)event; - if ( !TQT_TQRECT_OBJECT(mPopup->rect()).contains( mouseEvent->pos() ) ) { + if ( !mPopup->rect().contains( mouseEvent->pos() ) ) { TQPoint globalPos = mPopup->mapToGlobal( mouseEvent->pos() ); if ( TQApplication::widgetAt( globalPos, true ) == this ) { // The date picker is being closed by a click on the |