diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
commit | cc74f360bb40da3d79f58048f8e8611804980aa6 (patch) | |
tree | c4385d2c16b904757b1c8bb998a4aec6993373f7 /nsplugins/kcm_nsplugins.cpp | |
parent | 79b21d47bce1ee428affc97534cd8b257232a871 (diff) | |
download | tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'nsplugins/kcm_nsplugins.cpp')
-rw-r--r-- | nsplugins/kcm_nsplugins.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nsplugins/kcm_nsplugins.cpp b/nsplugins/kcm_nsplugins.cpp index 7b3bddabd..16234c62f 100644 --- a/nsplugins/kcm_nsplugins.cpp +++ b/nsplugins/kcm_nsplugins.cpp @@ -67,7 +67,7 @@ static bool checkSearchPathTimestamps( TQStringList paths, TQStringList timestam ++it, ++t ) { TQDateTime current = lastChanged( *it ); - // store non-existent directory as "N" string rather than empty string, KConfig + // store non-existent directory as "N" string rather than empty string, TDEConfig // has a bug with storing a list of empty items if( *t == "N" ? !current.isNull() : current != TQDateTime::fromString( *t, Qt::ISODate )) changed = true; @@ -75,7 +75,7 @@ static bool checkSearchPathTimestamps( TQStringList paths, TQStringList timestam } if( changed ) { - KConfig config("kcmnspluginrc"); + TDEConfig config("kcmnspluginrc"); config.setGroup("Misc"); config.writeEntry( "lastSearchPaths", paths ); config.writeEntry( "lastSearchTimestamps", currentTimestamps ); @@ -88,7 +88,7 @@ extern "C" { KDE_EXPORT void init_nsplugin() { - KConfig *config = new KConfig("kcmnspluginrc", true /* readonly */, false /* no globals*/); + TDEConfig *config = new TDEConfig("kcmnspluginrc", true /* readonly */, false /* no globals*/); config->setGroup("Misc"); bool scan = config->readBoolEntry( "starttdeScan", false ); bool firstTime = config->readBoolEntry( "firstTime", true ); @@ -120,7 +120,7 @@ extern "C" } if (firstTime) { - config= new KConfig("kcmnspluginrc", false); + config= new TDEConfig("kcmnspluginrc", false); config->setGroup("Misc"); config->writeEntry( "firstTime", false ); config->sync(); |