summaryrefslogtreecommitdiffstats
path: root/languages/cpp/cppsupportpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/cppsupportpart.cpp')
-rw-r--r--languages/cpp/cppsupportpart.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/languages/cpp/cppsupportpart.cpp b/languages/cpp/cppsupportpart.cpp
index 4f0f19d6..94eab619 100644
--- a/languages/cpp/cppsupportpart.cpp
+++ b/languages/cpp/cppsupportpart.cpp
@@ -178,7 +178,7 @@ class BackgroundParserConfig
public:
void readConfig()
{
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup( "General Options" );
m_useProblemReporter = config->readBoolEntry( "EnableProblemReporter", true );
m_useBackgroundParser = config->readBoolEntry( "EnableCppBgParser", true );
@@ -696,7 +696,7 @@ void CppSupportPart::contextMenu( TQPopupMenu *popup, const Context *context )
bool showContextMenuExplosion = false;
bool showContextTypeEvaluation = false;
- KConfig *config = CppSupportFactory::instance() ->config();
+ TDEConfig *config = CppSupportFactory::instance() ->config();
if ( config )
{
config->setGroup( "General" );
@@ -1108,7 +1108,7 @@ void CppSupportPart::slotSaveMemory() {
void CppSupportPart::slotSwitchHeader( bool scrollOnly )
{
bool attemptMatch = true;
- KConfig *config = CppSupportFactory::instance() ->config();
+ TDEConfig *config = CppSupportFactory::instance() ->config();
if ( config )
{
config->setGroup( "General" );
@@ -2014,15 +2014,15 @@ KMimeType::List CppSupportPart::mimeTypes( )
int CppSupportPart::pcsVersion()
{
- KConfig * config = CppSupportFactory::instance() ->config();
- KConfigGroupSaver cgs( config, "PCS" );
+ TDEConfig * config = CppSupportFactory::instance() ->config();
+ TDEConfigGroupSaver cgs( config, "PCS" );
return config->readNumEntry( "Version", 0 );
}
void CppSupportPart::setPcsVersion( int version )
{
- KConfig * config = CppSupportFactory::instance() ->config();
- KConfigGroupSaver cgs( config, "PCS" );
+ TDEConfig * config = CppSupportFactory::instance() ->config();
+ TDEConfigGroupSaver cgs( config, "PCS" );
config->writeEntry( "Version", version );
config->sync();
}