summaryrefslogtreecommitdiffstats
path: root/languages/cpp/cppsupportpart.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 /languages/cpp/cppsupportpart.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 '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();
}