summaryrefslogtreecommitdiffstats
path: root/parts/documentation
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 21:05:18 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 21:05:18 -0600
commited530727c56fe2f062c1c174d73274667cd983a5 (patch)
tree33d79096cab9a9a11508ce9d7fdc6727974e320a /parts/documentation
parent595a6e60c6aafad9006327dbeb822b608e7f9b33 (diff)
downloadtdevelop-ed530727c56fe2f062c1c174d73274667cd983a5.tar.gz
tdevelop-ed530727c56fe2f062c1c174d73274667cd983a5.zip
Rename kiobuffer and KHTML
Diffstat (limited to 'parts/documentation')
-rw-r--r--parts/documentation/Makefile.am2
-rw-r--r--parts/documentation/bookmarkview.cpp2
-rw-r--r--parts/documentation/docglobalconfigwidget.cpp10
3 files changed, 7 insertions, 7 deletions
diff --git a/parts/documentation/Makefile.am b/parts/documentation/Makefile.am
index e6724ba1..13c4db3f 100644
--- a/parts/documentation/Makefile.am
+++ b/parts/documentation/Makefile.am
@@ -4,7 +4,7 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util \
kde_module_LTLIBRARIES = libkdevdocumentation.la
libkdevdocumentation_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libkdevdocumentation_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
- $(top_builddir)/parts/documentation/interfaces/libdocumentation_interfaces.la $(LIB_KHTML)
+ $(top_builddir)/parts/documentation/interfaces/libdocumentation_interfaces.la $(LIB_TDEHTML)
libkdevdocumentation_la_SOURCES = documentation_part.cpp \
documentation_widget.cpp contentsview.cpp indexview.cpp docglobalconfigwidgetbase.ui \
diff --git a/parts/documentation/bookmarkview.cpp b/parts/documentation/bookmarkview.cpp
index 0ca74f43..4581361d 100644
--- a/parts/documentation/bookmarkview.cpp
+++ b/parts/documentation/bookmarkview.cpp
@@ -73,7 +73,7 @@ TQString DocBookmarkOwner::currentTitle() const
KParts::ReadOnlyPart *activePart = dynamic_cast<KParts::ReadOnlyPart*>(m_part->partController()->activePart());
if (activePart)
{
- KHTMLPart *htmlPart = dynamic_cast<KHTMLPart*>(activePart);
+ TDEHTMLPart *htmlPart = dynamic_cast<TDEHTMLPart*>(activePart);
if (htmlPart)
return htmlPart->htmlDocument().title().string();
return activePart->url().prettyURL();
diff --git a/parts/documentation/docglobalconfigwidget.cpp b/parts/documentation/docglobalconfigwidget.cpp
index fa6bafd0..5cea1004 100644
--- a/parts/documentation/docglobalconfigwidget.cpp
+++ b/parts/documentation/docglobalconfigwidget.cpp
@@ -104,9 +104,9 @@ DocGlobalConfigWidget::DocGlobalConfigWidget(DocumentationPart *part,
useAssistant_box->hide();
//font sizes and zoom levels
- KHTMLPart htmlpart;
+ TDEHTMLPart htmlpart;
TDEConfig *appConfig = TDEGlobal::config();
- appConfig->setGroup("KHTMLPart");
+ appConfig->setGroup("TDEHTMLPart");
standardFont_combo->setCurrentText(appConfig->readEntry("StandardFont",
htmlpart.settings()->stdFontName()));
fixedFont_combo->setCurrentText(appConfig->readEntry("FixedFont",
@@ -215,7 +215,7 @@ void DocGlobalConfigWidget::accept()
//font sizes and zoom levels
TDEConfig *appConfig = TDEGlobal::config();
- appConfig->setGroup("KHTMLPart");
+ appConfig->setGroup("TDEHTMLPart");
appConfig->writeEntry("StandardFont", standardFont_combo->currentText());
appConfig->writeEntry("FixedFont", fixedFont_combo->currentText());
appConfig->writeEntry("Zoom", zoom_combo->currentText());
@@ -238,11 +238,11 @@ void DocGlobalConfigWidget::updateConfigForHTMLParts()
KURL::List urls = m_part->partController()->openURLs();
for (KURL::List::const_iterator it = urls.constBegin(); it != urls.constEnd(); ++it)
{
- KHTMLPart *htmlPart = dynamic_cast<KHTMLPart*>(m_part->partController()->partForURL(*it));
+ TDEHTMLPart *htmlPart = dynamic_cast<TDEHTMLPart*>(m_part->partController()->partForURL(*it));
if (htmlPart)
{
TDEConfig *appConfig = TDEGlobal::config();
- appConfig->setGroup("KHTMLPart");
+ appConfig->setGroup("TDEHTMLPart");
htmlPart->setStandardFont(appConfig->readEntry("StandardFont"));
htmlPart->setFixedFont(appConfig->readEntry("FixedFont"));
//hack to force reloading the page