diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 21:01:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 21:01:57 -0600 |
commit | a5a7573f3597f76e3cf9ebfb5a38416906289ff3 (patch) | |
tree | beabf7411b6bfeb386bea8016fa48eebf61db192 /konq-plugins/domtreeviewer | |
parent | f21b0182707822a0aeaedd00578eb18ce191c47d (diff) | |
download | tdeaddons-a5a7573f3597f76e3cf9ebfb5a38416906289ff3.tar.gz tdeaddons-a5a7573f3597f76e3cf9ebfb5a38416906289ff3.zip |
Rename kiobuffer and KHTML
Diffstat (limited to 'konq-plugins/domtreeviewer')
-rw-r--r-- | konq-plugins/domtreeviewer/Makefile.am | 2 | ||||
-rw-r--r-- | konq-plugins/domtreeviewer/domtreeview.cpp | 4 | ||||
-rw-r--r-- | konq-plugins/domtreeviewer/domtreeview.h | 10 | ||||
-rw-r--r-- | konq-plugins/domtreeviewer/domtreewindow.cpp | 8 | ||||
-rw-r--r-- | konq-plugins/domtreeviewer/domtreewindow.h | 4 | ||||
-rw-r--r-- | konq-plugins/domtreeviewer/plugin_domtreeviewer.cpp | 2 |
6 files changed, 15 insertions, 15 deletions
diff --git a/konq-plugins/domtreeviewer/Makefile.am b/konq-plugins/domtreeviewer/Makefile.am index cfb3bb9..ce5cbb4 100644 --- a/konq-plugins/domtreeviewer/Makefile.am +++ b/konq-plugins/domtreeviewer/Makefile.am @@ -20,7 +20,7 @@ libdomtreeviewerplugin_la_SOURCES = plugin_domtreeviewer.cpp \ messagedialog.ui # klistview.cpp \ # -libdomtreeviewerplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KHTML) +libdomtreeviewerplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_TDEHTML) libdomtreeviewerplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) pluginsdir = $(kde_datadir)/tdehtml/kpartplugins diff --git a/konq-plugins/domtreeviewer/domtreeview.cpp b/konq-plugins/domtreeviewer/domtreeview.cpp index 175696e..32681ba 100644 --- a/konq-plugins/domtreeviewer/domtreeview.cpp +++ b/konq-plugins/domtreeviewer/domtreeview.cpp @@ -115,9 +115,9 @@ DOMTreeView::~DOMTreeView() disconnectFromActivePart(); } -void DOMTreeView::setHtmlPart(KHTMLPart *_part) +void DOMTreeView::setHtmlPart(TDEHTMLPart *_part) { - KHTMLPart *oldPart = part; + TDEHTMLPart *oldPart = part; part = _part; if (oldPart) { diff --git a/konq-plugins/domtreeviewer/domtreeview.h b/konq-plugins/domtreeviewer/domtreeview.h index f687ba9..250bc77 100644 --- a/konq-plugins/domtreeviewer/domtreeview.h +++ b/konq-plugins/domtreeviewer/domtreeview.h @@ -42,7 +42,7 @@ class TQListViewItem; class KPushButton; class KEdFind; -class KHTMLPart; +class TDEHTMLPart; class DOMTreeView : public DOMTreeViewBase { @@ -53,8 +53,8 @@ class DOMTreeView : public DOMTreeViewBase DOMTreeView(TQWidget *parent, const char* name, bool allowSaving = true); ~DOMTreeView(); - KHTMLPart *htmlPart() const { return part; } - void setHtmlPart(KHTMLPart *); + TDEHTMLPart *htmlPart() const { return part; } + void setHtmlPart(TDEHTMLPart *); /** returns the main window */ DOMTreeWindow *mainWindow() const; @@ -67,7 +67,7 @@ class DOMTreeView : public DOMTreeViewBase signals: /** emitted when the part has been changed. */ - void htmlPartChanged(KHTMLPart *part); + void htmlPartChanged(TDEHTMLPart *part); public slots: void refresh(); @@ -151,7 +151,7 @@ class DOMTreeView : public DOMTreeViewBase private: KEdFind* m_findDialog; - KHTMLPart *part; + TDEHTMLPart *part; TQTextStream* m_textStream; const KListView* m_rootListView; diff --git a/konq-plugins/domtreeviewer/domtreewindow.cpp b/konq-plugins/domtreeviewer/domtreewindow.cpp index e3ae074..03e3581 100644 --- a/konq-plugins/domtreeviewer/domtreewindow.cpp +++ b/konq-plugins/domtreeviewer/domtreewindow.cpp @@ -89,8 +89,8 @@ DOMTreeWindow::DOMTreeWindow(PluginDomtreeviewer *plugin) connect(m_view, TQT_SIGNAL(signalChangeCaption(const TQString&)), this, TQT_SLOT(changeCaption(const TQString&))); #endif - connect(view(), TQT_SIGNAL(htmlPartChanged(KHTMLPart *)), - TQT_SLOT(slotHtmlPartChanged(KHTMLPart *))); + connect(view(), TQT_SIGNAL(htmlPartChanged(TDEHTMLPart *)), + TQT_SLOT(slotHtmlPartChanged(TDEHTMLPart *))); ManipulationCommand::connect(TQT_SIGNAL(error(int, const TQString &)), TQT_TQOBJECT(this), TQT_SLOT(addMessage(int, const TQString &))); @@ -328,7 +328,7 @@ void DOMTreeWindow::changeCaption(const TQString& text) setCaption(text); } -void DOMTreeWindow::slotHtmlPartChanged(KHTMLPart *p) +void DOMTreeWindow::slotHtmlPartChanged(TDEHTMLPart *p) { kdDebug(90180) << k_funcinfo << p << endl; @@ -356,7 +356,7 @@ void DOMTreeWindow::slotActivePartChanged(KParts::Part *p) m_commandHistory->clear(); view()->disconnectFromTornDownPart(); - view()->setHtmlPart(::tqqt_cast<KHTMLPart *>(p)); + view()->setHtmlPart(::tqqt_cast<TDEHTMLPart *>(p)); } void DOMTreeWindow::slotPartRemoved(KParts::Part *p) diff --git a/konq-plugins/domtreeviewer/domtreewindow.h b/konq-plugins/domtreeviewer/domtreewindow.h index 2715eb5..9681df2 100644 --- a/konq-plugins/domtreeviewer/domtreewindow.h +++ b/konq-plugins/domtreeviewer/domtreewindow.h @@ -46,7 +46,7 @@ class TDEConfig; class KPrinter; class KURL; class KCommandHistory; -class KHTMLPart; +class TDEHTMLPart; class MessageDialog; class TQPopupMenu; @@ -168,7 +168,7 @@ private slots: void changeStatusbar(const TQString& text); void changeCaption(const TQString& text); - void slotHtmlPartChanged(KHTMLPart *); + void slotHtmlPartChanged(TDEHTMLPart *); void slotActivePartChanged(KParts::Part *); void slotPartRemoved(KParts::Part *); void slotClosePart(); diff --git a/konq-plugins/domtreeviewer/plugin_domtreeviewer.cpp b/konq-plugins/domtreeviewer/plugin_domtreeviewer.cpp index b58a733..1993526 100644 --- a/konq-plugins/domtreeviewer/plugin_domtreeviewer.cpp +++ b/konq-plugins/domtreeviewer/plugin_domtreeviewer.cpp @@ -38,7 +38,7 @@ void PluginDomtreeviewer::slotShowDOMTree() delete m_dialog; Q_ASSERT((DOMTreeWindow *)m_dialog == (DOMTreeWindow *)0); } - if (KHTMLPart *part = ::tqqt_cast<KHTMLPart *>(parent())) + if (TDEHTMLPart *part = ::tqqt_cast<TDEHTMLPart *>(parent())) { m_dialog = new DOMTreeWindow(this); connect( m_dialog, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) ); |