From 9771f17f8cc5252b12ec5f3edf47ff9bffdf997f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:16:01 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- quanta/parts/kafka/domtreeview.cpp | 2 +- quanta/parts/kafka/domtreeview.h | 4 ++-- quanta/parts/kafka/htmldocumentproperties.cpp | 2 +- quanta/parts/kafka/kafkahtmlpart.cpp | 2 +- quanta/parts/preview/whtmlpart.cpp | 2 +- quanta/parts/preview/whtmlpart.h | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'quanta/parts') diff --git a/quanta/parts/kafka/domtreeview.cpp b/quanta/parts/kafka/domtreeview.cpp index 1ba6e467..5e1757e3 100644 --- a/quanta/parts/kafka/domtreeview.cpp +++ b/quanta/parts/kafka/domtreeview.cpp @@ -27,7 +27,7 @@ #include "domtreeview.moc" -DOMTreeView::DOMTreeView(TQWidget *parent, TDEHTMLPart *currentpart, const char * name) : KListView(parent, name) +DOMTreeView::DOMTreeView(TQWidget *parent, TDEHTMLPart *currentpart, const char * name) : TDEListView(parent, name) { setCaption(name); setRootIsDecorated(true); diff --git a/quanta/parts/kafka/domtreeview.h b/quanta/parts/kafka/domtreeview.h index ba282d3b..1621fd61 100644 --- a/quanta/parts/kafka/domtreeview.h +++ b/quanta/parts/kafka/domtreeview.h @@ -32,10 +32,10 @@ class TQString; class TQGridLayout; /** - * This class is very useful to see the DOM tree in a KListView + * This class is very useful to see the DOM tree in a TDEListView */ -class DOMTreeView : public KListView +class DOMTreeView : public TDEListView { Q_OBJECT diff --git a/quanta/parts/kafka/htmldocumentproperties.cpp b/quanta/parts/kafka/htmldocumentproperties.cpp index dbe6ae53..21d614dc 100644 --- a/quanta/parts/kafka/htmldocumentproperties.cpp +++ b/quanta/parts/kafka/htmldocumentproperties.cpp @@ -92,7 +92,7 @@ htmlDocumentProperties::htmlDocumentProperties( TQWidget* parent, bool forceInse metaItems->setSorting(0, true); - //set the cssRules KListView + //set the cssRules TDEListView //cssRules->setEditable(false); cssRules->addColumn(i18n("Selector")); cssRules->addColumn(i18n("Rule")); diff --git a/quanta/parts/kafka/kafkahtmlpart.cpp b/quanta/parts/kafka/kafkahtmlpart.cpp index 1b2ca3d2..9d35c33b 100644 --- a/quanta/parts/kafka/kafkahtmlpart.cpp +++ b/quanta/parts/kafka/kafkahtmlpart.cpp @@ -2261,7 +2261,7 @@ void KafkaWidget::applyQueuedToggableTagActions() { if(tag_action->name() == *it) { - tag_action->slotActionActivated(KAction::EmulatedActivation, Qt::NoButton); + tag_action->slotActionActivated(TDEAction::EmulatedActivation, Qt::NoButton); break; } } diff --git a/quanta/parts/preview/whtmlpart.cpp b/quanta/parts/preview/whtmlpart.cpp index 51b41628..6560191b 100644 --- a/quanta/parts/preview/whtmlpart.cpp +++ b/quanta/parts/preview/whtmlpart.cpp @@ -52,7 +52,7 @@ WHTMLPart::WHTMLPart(TQWidget *parentWidget, const char *widgetName, bool enable m_enableViewSource = enableViewSource; if (m_enableViewSource) { - m_contextMenu = new KPopupMenu(parentWidget); + m_contextMenu = new TDEPopupMenu(parentWidget); m_contextMenu->insertItem(i18n("View &Document Source"), this, TQT_SLOT(slotViewSource())); connect(this, TQT_SIGNAL(popupMenu(const TQString&, const TQPoint&)), TQT_SLOT(popupMenu(const TQString&, const TQPoint&))); diff --git a/quanta/parts/preview/whtmlpart.h b/quanta/parts/preview/whtmlpart.h index 41212459..73bd23e5 100644 --- a/quanta/parts/preview/whtmlpart.h +++ b/quanta/parts/preview/whtmlpart.h @@ -22,7 +22,7 @@ #include -class KPopupMenu; +class TDEPopupMenu; /** *@author Dmitry Poplavsky & Alexander Yakovlev & Eric Laffoon */ @@ -68,7 +68,7 @@ protected: private: KURL m_previewedURL; - KPopupMenu *m_contextMenu; + TDEPopupMenu *m_contextMenu; TQStrList history; unsigned int hpos; bool m_enableViewSource; -- cgit v1.2.1