summaryrefslogtreecommitdiffstats
path: root/parts/documentation/docglobalconfigwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-27 21:05:18 -0600
committerTimothy Pearson <[email protected]>2013-01-27 21:05:18 -0600
commited530727c56fe2f062c1c174d73274667cd983a5 (patch)
tree33d79096cab9a9a11508ce9d7fdc6727974e320a /parts/documentation/docglobalconfigwidget.cpp
parent595a6e60c6aafad9006327dbeb822b608e7f9b33 (diff)
downloadtdevelop-ed530727c56fe2f062c1c174d73274667cd983a5.tar.gz
tdevelop-ed530727c56fe2f062c1c174d73274667cd983a5.zip
Rename kiobuffer and KHTML
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