diff options
Diffstat (limited to 'quanta/parts/kafka/kafkahtmlpart.cpp')
-rw-r--r-- | quanta/parts/kafka/kafkahtmlpart.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/quanta/parts/kafka/kafkahtmlpart.cpp b/quanta/parts/kafka/kafkahtmlpart.cpp index ecdc1b8d..1b2ca3d2 100644 --- a/quanta/parts/kafka/kafkahtmlpart.cpp +++ b/quanta/parts/kafka/kafkahtmlpart.cpp @@ -85,7 +85,7 @@ public: KafkaWidget::KafkaWidget(TQWidget *parent, TQWidget *widgetParent, KafkaDocument *part, const char *name) - : KHTMLPart(widgetParent, name, TQT_TQOBJECT(parent), name), + : TDEHTMLPart(widgetParent, name, TQT_TQOBJECT(parent), name), w(part) { m_contextPopupMenu = new TQPopupMenu(); @@ -104,7 +104,7 @@ KafkaWidget::KafkaWidget(TQWidget *parent, TQWidget *widgetParent, KafkaDocument setCaretMode(true); connect(this, TQT_SIGNAL(caretPositionChanged(const DOM::Node &, long)), this, TQT_SLOT(slotNewCursorPos(const DOM::Node &, long))); - setCaretDisplayPolicyNonFocused(KHTMLPart::CaretVisible); + setCaretDisplayPolicyNonFocused(TDEHTMLPart::CaretVisible); connect(this, TQT_SIGNAL(popupMenu(const TQString&, const TQPoint&)), this, TQT_SLOT(slotContextMenuRequested(const TQString&, const TQPoint&))); @@ -2043,12 +2043,12 @@ void KafkaWidget::tdehtmlMouseMoveEvent(tdehtml::MouseMoveEvent *event) else view()->setCursor(TQt::arrowCursor); - KHTMLPart::tdehtmlMouseMoveEvent(event); + TDEHTMLPart::tdehtmlMouseMoveEvent(event); } void KafkaWidget::tdehtmlMouseReleaseEvent(tdehtml::MouseReleaseEvent *event) { - KHTMLPart::tdehtmlMouseReleaseEvent(event); + TDEHTMLPart::tdehtmlMouseReleaseEvent(event); if(m_currentNode.isNull() || m_currentNode.nodeName().string().lower() == "#document") { m_currentNode = w->body; @@ -2061,7 +2061,7 @@ void KafkaWidget::tdehtmlMouseReleaseEvent(tdehtml::MouseReleaseEvent *event) void KafkaWidget::tdehtmlMousePressEvent(tdehtml::MousePressEvent *event) { - KHTMLPart::tdehtmlMousePressEvent(event); + TDEHTMLPart::tdehtmlMousePressEvent(event); if(d->m_cursorOffset == 0 && !m_currentNode.isNull() && m_currentNode.nodeName().string().lower() == "body") putCursorAtFirstAvailableLocation(); @@ -2073,7 +2073,7 @@ void KafkaWidget::tdehtmlMousePressEvent(tdehtml::MousePressEvent *event) void KafkaWidget::tdehtmlDrawContentsEvent(tdehtml::DrawContentsEvent *event) { - KHTMLPart::tdehtmlDrawContentsEvent(event); + TDEHTMLPart::tdehtmlDrawContentsEvent(event); } void KafkaWidget::getCurrentNode(DOM::Node &_currentNode, long &offset) |