diff options
Diffstat (limited to 'kmail/kmreaderwin.cpp')
-rw-r--r-- | kmail/kmreaderwin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/kmreaderwin.cpp b/kmail/kmreaderwin.cpp index 2405a3e56..d1c6c0a12 100644 --- a/kmail/kmreaderwin.cpp +++ b/kmail/kmreaderwin.cpp @@ -393,7 +393,7 @@ void KMReaderWin::createWidgets() { setStyleDependantFrameWidth(); mBox->setFrameStyle( mMimePartTree->frameStyle() ); mColorBar = new HtmlStatusBar( mBox, "mColorBar" ); - mViewer = new KHTMLPart( mBox, "mViewer" ); + mViewer = new TDEHTMLPart( mBox, "mViewer" ); mSplitter->setOpaqueResize( TDEGlobalSettings::opaqueResize() ); mSplitter->setResizeMode( mMimePartTree, TQSplitter::KeepSize ); } @@ -1033,7 +1033,7 @@ void KMReaderWin::contactStatusChanged( const TQString &uid) kdDebug( 5006 ) << "name is " << n.nodeName().string() << endl; kdDebug( 5006 ) << "value of content was " << n.firstChild().nodeValue().string() << endl; TQString newPresence = kmkernel->imProxy()->presenceString( uid ); - if ( newPresence.isNull() ) // KHTML crashes if you setNodeValue( TQString() ) + if ( newPresence.isNull() ) // TDEHTML crashes if you setNodeValue( TQString() ) newPresence = TQString::fromLatin1( "ENOIMRUNNING" ); n.firstChild().setNodeValue( newPresence ); // kdDebug( 5006 ) << "value of content is now " << n.firstChild().nodeValue().string() << endl; @@ -2685,7 +2685,7 @@ bool KMReaderWin::eventFilter( TQObject *, TQEvent *e ) if ( e->type() == TQEvent::MouseMove ) { TQMouseEvent* me = TQT_TQMOUSEEVENT( e ); - // Handle this ourselves instead of connecting to mViewer::onURL(), since KHTML misses some + // Handle this ourselves instead of connecting to mViewer::onURL(), since TDEHTML misses some // notifications in case we started a drag ourselves slotUrlOn( linkForNode( mViewer->nodeUnderMouse() ) ); @@ -2695,7 +2695,7 @@ bool KMReaderWin::eventFilter( TQObject *, TQEvent *e ) mCanStartDrag = false; slotUrlOn( TQString() ); - // HACK: Send a mouse release event to the KHTMLView, as otherwise that will be missed in + // HACK: Send a mouse release event to the TDEHTMLView, as otherwise that will be missed in // case we started a drag. If the event is missed, the HTML view gets into a wrong // state, in which funny things like unsolicited drags start to happen. TQMouseEvent mouseEvent( TQEvent::MouseButtonRelease, me->pos(), Qt::NoButton, Qt::NoButton ); |