summaryrefslogtreecommitdiffstats
path: root/parts/documentation/documentation_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/documentation_part.cpp')
-rw-r--r--parts/documentation/documentation_part.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/documentation/documentation_part.cpp b/parts/documentation/documentation_part.cpp
index 23fd0e14..32b08323 100644
--- a/parts/documentation/documentation_part.cpp
+++ b/parts/documentation/documentation_part.cpp
@@ -183,7 +183,7 @@ void DocumentationPart::insertConfigWidget(const KDialogBase *dlg, TQWidget *pag
}
}
-KConfig *DocumentationPart::config()
+TDEConfig *DocumentationPart::config()
{
return DocumentationFactory::instance()->config();
}
@@ -508,7 +508,7 @@ void DocumentationPart::contextMenu(TQPopupMenu *popup, const Context *context)
bool DocumentationPart::hasContextFeature(ContextFeature feature)
{
- KConfig *config = DocumentationFactory::instance()->config();
+ TDEConfig *config = DocumentationFactory::instance()->config();
TQString group = config->group();
config->setGroup("Context Features");
switch (feature)
@@ -535,7 +535,7 @@ bool DocumentationPart::hasContextFeature(ContextFeature feature)
void DocumentationPart::setContextFeature(ContextFeature feature, bool b)
{
- KConfig *config = DocumentationFactory::instance()->config();
+ TDEConfig *config = DocumentationFactory::instance()->config();
TQString group = config->group();
config->setGroup("Context Features");
TQString key;
@@ -687,7 +687,7 @@ void DocumentationPart::setAssistantUsed(bool b)
{
m_assistantUsed = b;
//use global config to store different settings for kdevassistant and tdevelop
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Documentation");
config->writeEntry("UseAssistant", isAssistantUsed());
}
@@ -735,7 +735,7 @@ void DocumentationPart::callAssistant(const TQCString &interface, const TQCStrin
void DocumentationPart::loadSettings()
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Documentation");
m_assistantUsed = config->readBoolEntry("UseAssistant", false);