diff options
Diffstat (limited to 'quanta/parts/kafka/kafkahtmlpart.cpp')
-rw-r--r-- | quanta/parts/kafka/kafkahtmlpart.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/quanta/parts/kafka/kafkahtmlpart.cpp b/quanta/parts/kafka/kafkahtmlpart.cpp index 52195d83..ecdc1b8d 100644 --- a/quanta/parts/kafka/kafkahtmlpart.cpp +++ b/quanta/parts/kafka/kafkahtmlpart.cpp @@ -28,18 +28,18 @@ #include <kdebug.h> #include <klocale.h> -#include <khtmlview.h> +#include <tdehtmlview.h> #include <kmessagebox.h> #include <ktrader.h> #include <klibloader.h> -#include <kparts/factory.h> +#include <tdeparts/factory.h> #include <dom/dom_node.h> #include <dom/dom_text.h> #include <dom/dom_exception.h> #include <dom/dom_string.h> #include <dom/dom2_range.h> -#include <khtml_events.h> -//#include <khtml_part.h> +#include <tdehtml_events.h> +//#include <tdehtml_part.h> #include "kafkacommon.h" #ifdef HEAVY_DEBUG @@ -117,7 +117,7 @@ KafkaWidget::KafkaWidget(TQWidget *parent, TQWidget *widgetParent, KafkaDocument //d->domdialog = new KafkaDOMTreeDialog(view(), this); //d->domdialog->show(); #endif - //IMPORTANT:without him, no document() is created in khtmlPart + //IMPORTANT:without him, no document() is created in tdehtmlPart begin(); write("<html></html>"); end(); @@ -2030,7 +2030,7 @@ void KafkaWidget::postprocessCursorPosition() makeCursorVisible(); } -void KafkaWidget::khtmlMouseMoveEvent(khtml::MouseMoveEvent *event) +void KafkaWidget::tdehtmlMouseMoveEvent(tdehtml::MouseMoveEvent *event) { DOM::Node mouseNode = event->innerNode(); @@ -2043,12 +2043,12 @@ void KafkaWidget::khtmlMouseMoveEvent(khtml::MouseMoveEvent *event) else view()->setCursor(TQt::arrowCursor); - KHTMLPart::khtmlMouseMoveEvent(event); + KHTMLPart::tdehtmlMouseMoveEvent(event); } -void KafkaWidget::khtmlMouseReleaseEvent(khtml::MouseReleaseEvent *event) +void KafkaWidget::tdehtmlMouseReleaseEvent(tdehtml::MouseReleaseEvent *event) { - KHTMLPart::khtmlMouseReleaseEvent(event); + KHTMLPart::tdehtmlMouseReleaseEvent(event); if(m_currentNode.isNull() || m_currentNode.nodeName().string().lower() == "#document") { m_currentNode = w->body; @@ -2059,9 +2059,9 @@ void KafkaWidget::khtmlMouseReleaseEvent(khtml::MouseReleaseEvent *event) quantaApp->aTab->setCurrentNode(w->getNode(event->innerNode())); } -void KafkaWidget::khtmlMousePressEvent(khtml::MousePressEvent *event) +void KafkaWidget::tdehtmlMousePressEvent(tdehtml::MousePressEvent *event) { - KHTMLPart::khtmlMousePressEvent(event); + KHTMLPart::tdehtmlMousePressEvent(event); if(d->m_cursorOffset == 0 && !m_currentNode.isNull() && m_currentNode.nodeName().string().lower() == "body") putCursorAtFirstAvailableLocation(); @@ -2071,9 +2071,9 @@ void KafkaWidget::khtmlMousePressEvent(khtml::MousePressEvent *event) } -void KafkaWidget::khtmlDrawContentsEvent(khtml::DrawContentsEvent *event) +void KafkaWidget::tdehtmlDrawContentsEvent(tdehtml::DrawContentsEvent *event) { - KHTMLPart::khtmlDrawContentsEvent(event); + KHTMLPart::tdehtmlDrawContentsEvent(event); } void KafkaWidget::getCurrentNode(DOM::Node &_currentNode, long &offset) |