summaryrefslogtreecommitdiffstats
path: root/parts/documentation/docglobalconfigwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:54 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:54 -0600
commitda1522385e5367bae56b90fac55c4355e475905b (patch)
treebfa432864dbf322feb4ed3a878f1222ee8ea7727 /parts/documentation/docglobalconfigwidget.cpp
parentb9e542d0c805e9adee3a67e44532d5321032e21e (diff)
downloadtdevelop-da1522385e5367bae56b90fac55c4355e475905b.tar.gz
tdevelop-da1522385e5367bae56b90fac55c4355e475905b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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 712a57fa..0b04548d 100644
--- a/parts/documentation/docglobalconfigwidget.cpp
+++ b/parts/documentation/docglobalconfigwidget.cpp
@@ -63,7 +63,7 @@ DocGlobalConfigWidget::DocGlobalConfigWidget(DocumentationPart *part,
(*it)->loadCatalogConfiguration( m_View );
}
- KConfig *config = m_part->config();
+ TDEConfig *config = m_part->config();
//read full text search settings
config->setGroup("htdig");
TQString databaseDir = kapp->dirs()->saveLocation("data",
@@ -105,7 +105,7 @@ DocGlobalConfigWidget::DocGlobalConfigWidget(DocumentationPart *part,
//font sizes and zoom levels
KHTMLPart htmlpart;
- KConfig *appConfig = TDEGlobal::config();
+ TDEConfig *appConfig = TDEGlobal::config();
appConfig->setGroup("KHTMLPart");
standardFont_combo->setCurrentText(appConfig->readEntry("StandardFont",
htmlpart.settings()->stdFontName()));
@@ -173,7 +173,7 @@ void DocGlobalConfigWidget::accept()
(*it)->reinit(m_widget->contents(), m_widget->index(), TQStringList());
}
- KConfig *config = m_part->config();
+ TDEConfig *config = m_part->config();
//write full text search settings
config->setGroup("htdig");
config->writePathEntry("databaseDir", DocUtils::envURL(databaseDirEdit));
@@ -214,7 +214,7 @@ void DocGlobalConfigWidget::accept()
m_part->setAssistantUsed(useAssistant_box->isChecked());
//font sizes and zoom levels
- KConfig *appConfig = TDEGlobal::config();
+ TDEConfig *appConfig = TDEGlobal::config();
appConfig->setGroup("KHTMLPart");
appConfig->writeEntry("StandardFont", standardFont_combo->currentText());
appConfig->writeEntry("FixedFont", fixedFont_combo->currentText());
@@ -241,7 +241,7 @@ void DocGlobalConfigWidget::updateConfigForHTMLParts()
KHTMLPart *htmlPart = dynamic_cast<KHTMLPart*>(m_part->partController()->partForURL(*it));
if (htmlPart)
{
- KConfig *appConfig = TDEGlobal::config();
+ TDEConfig *appConfig = TDEGlobal::config();
appConfig->setGroup("KHTMLPart");
htmlPart->setStandardFont(appConfig->readEntry("StandardFont"));
htmlPart->setFixedFont(appConfig->readEntry("FixedFont"));