From da1522385e5367bae56b90fac55c4355e475905b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:38:54 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- languages/cpp/cppsupportpart.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'languages/cpp/cppsupportpart.cpp') 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(); } -- cgit v1.2.1