summaryrefslogtreecommitdiffstats
path: root/languages/ada
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ada')
-rw-r--r--languages/ada/configproblemreporter.ui.h4
-rw-r--r--languages/ada/problemreporter.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/languages/ada/configproblemreporter.ui.h b/languages/ada/configproblemreporter.ui.h
index 20932393..9c586fa4 100644
--- a/languages/ada/configproblemreporter.ui.h
+++ b/languages/ada/configproblemreporter.ui.h
@@ -11,7 +11,7 @@
void ConfigureProblemReporter::init()
{
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup( "General Options" );
bgParserCheckbox->setChecked( config->readBoolEntry("EnableAdaBgParser", true) );
delaySlider->setEnabled( bgParserCheckbox->isChecked() );
@@ -24,7 +24,7 @@ void ConfigureProblemReporter::destroy()
void ConfigureProblemReporter::accept()
{
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup( "General Options" );
config->writeEntry( "EnableAdaBgParser", bgParserCheckbox->isChecked() );
if( bgParserCheckbox->isChecked() )
diff --git a/languages/ada/problemreporter.cpp b/languages/ada/problemreporter.cpp
index 39bbd91d..d27d0796 100644
--- a/languages/ada/problemreporter.cpp
+++ b/languages/ada/problemreporter.cpp
@@ -244,7 +244,7 @@ void ProblemReporter::reportMessage( TQString message,
void ProblemReporter::configure()
{
kdDebug() << "ProblemReporter::configure()" << endl;
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup( "General Options" );
m_active = config->readBoolEntry( "EnableAdaBgParser", TRUE );
m_delay = config->readNumEntry( "BgParserDelay", 500 );