diff options
Diffstat (limited to 'tdehtml/tdehtml_part.cpp')
-rw-r--r-- | tdehtml/tdehtml_part.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tdehtml/tdehtml_part.cpp b/tdehtml/tdehtml_part.cpp index 9c3613372..6f32a839e 100644 --- a/tdehtml/tdehtml_part.cpp +++ b/tdehtml/tdehtml_part.cpp @@ -93,7 +93,7 @@ using namespace DOM; #include <kurldrag.h> #include <tdeapplication.h> #include <tdeparts/browserinterface.h> -#if !defined(QT_NO_DRAGANDDROP) +#if !defined(TQT_NO_DRAGANDDROP) #include <tdemultipledrag.h> #endif #include "../tdeutils/kfinddialog.h" @@ -1483,7 +1483,7 @@ void TDEHTMLPart::clear() d->m_selectionEnd = DOM::Node(); d->m_startOffset = 0; d->m_endOffset = 0; -#ifndef QT_NO_CLIPBOARD +#ifndef TQT_NO_CLIPBOARD connect( kapp->clipboard(), TQT_SIGNAL( selectionChanged()), TQT_SLOT( slotClearSelection())); #endif @@ -3008,7 +3008,7 @@ void TDEHTMLPart::findText() } // The lineedit of the dialog would make tdehtml lose its selection, otherwise -#ifndef QT_NO_CLIPBOARD +#ifndef TQT_NO_CLIPBOARD disconnect( kapp->clipboard(), TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotClearSelection()) ); #endif @@ -3039,7 +3039,7 @@ void TDEHTMLPart::findText( const TQString &str, long options, TQWidget *parent, if ( !d->m_doc ) return; -#ifndef QT_NO_CLIPBOARD +#ifndef TQT_NO_CLIPBOARD connect( kapp->clipboard(), TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotClearSelection()) ); #endif @@ -6392,7 +6392,7 @@ void TDEHTMLPart::tdehtmlMouseMoveEvent( tdehtml::MouseMoveEvent *event ) DOM::DOMString target = event->target(); DOM::Node innerNode = event->innerNode(); -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP if( d->m_bDnd && d->m_bMousePressed && ( (!d->m_strSelectedURL.isEmpty() && !isEditable()) || (!d->m_mousePressNode.isNull() && d->m_mousePressNode.elementId() == ID_IMG) ) ) { @@ -6539,7 +6539,7 @@ void TDEHTMLPart::tdehtmlMouseReleaseEvent( tdehtml::MouseReleaseEvent *event ) tmp_iface->callMethod( "goHistory(int)", -1 ); } } -#ifndef QT_NO_CLIPBOARD +#ifndef TQT_NO_CLIPBOARD if ((d->m_guiProfile == BrowserViewGUI) && (_mouse->button() == Qt::MidButton) && (event->url().isNull())) { kdDebug( 6050 ) << "TDEHTMLPart::tdehtmlMouseReleaseEvent() MMB shouldOpen=" << d->m_bOpenMiddleClick << endl; @@ -6613,7 +6613,7 @@ void TDEHTMLPart::tdehtmlMouseReleaseEvent( tdehtml::MouseReleaseEvent *event ) emitCaretPositionChanged(v ? d->caretNode() : 0, d->caretOffset()); #endif // get selected text and paste to the clipboard -#ifndef QT_NO_CLIPBOARD +#ifndef TQT_NO_CLIPBOARD TQString text = selectedText(); text.replace(TQChar(0xa0), ' '); disconnect( kapp->clipboard(), TQT_SIGNAL( selectionChanged()), this, TQT_SLOT( slotClearSelection())); |