summaryrefslogtreecommitdiffstats
path: root/parts/documentation/docglobalconfigwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/docglobalconfigwidget.cpp')
-rw-r--r--parts/documentation/docglobalconfigwidget.cpp10
1 files changed, 5 insertions, 5 deletions
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