From 82072ef281de2d5948a42fb69ae800d47e0800be Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 26 Jan 2013 13:18:40 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- quanta/parts/kafka/kafkahtmlpart.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'quanta/parts/kafka/kafkahtmlpart.cpp') 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 #include -#include +#include #include #include #include -#include +#include #include #include #include #include #include -#include -//#include +#include +//#include #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(""); 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) -- cgit v1.2.1