diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /knode/knconfig.cpp | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'knode/knconfig.cpp')
-rw-r--r-- | knode/knconfig.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/knode/knconfig.cpp b/knode/knconfig.cpp index f8d9de39f..7214f2505 100644 --- a/knode/knconfig.cpp +++ b/knode/knconfig.cpp @@ -42,7 +42,7 @@ KNConfig::Identity::Identity(bool g) : u_seSigFile(false), u_seSigGenerator(false), g_lobal(g) { if(g_lobal) { - KConfig *c=knGlobals.config(); + TDEConfig *c=knGlobals.config(); c->setGroup("IDENTITY"); loadConfig(c); } @@ -53,7 +53,7 @@ KNConfig::Identity::~Identity() {} -void KNConfig::Identity::loadConfig(KConfigBase *c) +void KNConfig::Identity::loadConfig(TDEConfigBase *c) { n_ame=c->readEntry("Name"); e_mail=c->readEntry("Email"); @@ -68,7 +68,7 @@ void KNConfig::Identity::loadConfig(KConfigBase *c) } -void KNConfig::Identity::saveConfig(KConfigBase *c) +void KNConfig::Identity::saveConfig(TDEConfigBase *c) { c->writeEntry("Name", n_ame); c->writeEntry("Email", e_mail); @@ -88,7 +88,7 @@ void KNConfig::Identity::save() { kdDebug(5003) << "KNConfig::Identity::save()" << endl; if(g_lobal) { - KConfig *c=knGlobals.config(); + TDEConfig *c=knGlobals.config(); c->setGroup("IDENTITY"); saveConfig(c); } @@ -173,7 +173,7 @@ void KNConfig::Identity::slotReceiveStderr(TDEProcess *, char *buffer, int bufle KNConfig::Appearance::Appearance() { - KConfig *c=knGlobals.config(); + TDEConfig *c=knGlobals.config(); c->setGroup("VISUAL_APPEARANCE"); //colors @@ -287,7 +287,7 @@ void KNConfig::Appearance::save() kdDebug(5003) << "KNConfig::Appearance::save()" << endl; - KConfig *c=knGlobals.config(); + TDEConfig *c=knGlobals.config(); c->setGroup("VISUAL_APPEARANCE"); c->writeEntry("customColors", u_seColors); @@ -534,7 +534,7 @@ void KNConfig::Appearance::recreateLVIcons() KNConfig::ReadNewsGeneral::ReadNewsGeneral() { - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("READNEWS"); a_utoCheck=conf->readBoolEntry("autoCheck", true); @@ -572,7 +572,7 @@ void KNConfig::ReadNewsGeneral::save() kdDebug(5003) << "KNConfig::ReadNewsGeneral::save()" << endl; - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("READNEWS"); conf->writeEntry("autoCheck", a_utoCheck); @@ -603,7 +603,7 @@ void KNConfig::ReadNewsGeneral::save() KNConfig::ReadNewsNavigation::ReadNewsNavigation() { - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("READNEWS_NAVIGATION"); m_arkAllReadGoNext=conf->readBoolEntry("markAllReadGoNext", false); @@ -627,7 +627,7 @@ void KNConfig::ReadNewsNavigation::save() kdDebug(5003) << "KNConfig::ReadNewsNavigation::save()" << endl; - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("READNEWS_NAVIGATION"); conf->writeEntry("markAllReadGoNext", m_arkAllReadGoNext); @@ -646,7 +646,7 @@ void KNConfig::ReadNewsNavigation::save() KNConfig::ReadNewsViewer::ReadNewsViewer() { - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("READNEWS"); r_ewrapBody=conf->readBoolEntry("rewrapBody", true); @@ -674,7 +674,7 @@ void KNConfig::ReadNewsViewer::save() kdDebug(5003) << "KNConfig::ReadNewsViewer::save()" << endl; - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("READNEWS"); conf->writeEntry("rewrapBody", r_ewrapBody); @@ -826,7 +826,7 @@ void KNConfig::DisplayedHeaders::down(KNDisplayedHeader *h) KNConfig::Scoring::Scoring() { - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("SCORING"); i_gnoredThreshold=conf->readNumEntry("ignoredThreshold", -100); @@ -846,7 +846,7 @@ void KNConfig::Scoring::save() kdDebug(5003) << "KNConfig::Scoring::save()" << endl; - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("SCORING"); conf->writeEntry("ignoredThreshold", i_gnoredThreshold); @@ -880,7 +880,7 @@ KNConfig::PostNewsTechnical::PostNewsTechnical() { findComposerCSCache.setAutoDelete(true); - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("POSTNEWS"); c_omposerCharsets=conf->readListEntry("ComposerCharsets"); @@ -938,7 +938,7 @@ void KNConfig::PostNewsTechnical::save() kdDebug(5003) << "KNConfig::PostNewsTechnical::save()" << endl; - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("POSTNEWS"); conf->writeEntry("ComposerCharsets", c_omposerCharsets); @@ -1044,7 +1044,7 @@ TQCString KNConfig::PostNewsTechnical::findComposerCharset(TQCString cs) KNConfig::PostNewsComposer::PostNewsComposer() { - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("POSTNEWS"); w_ordWrap=conf->readBoolEntry("wordWrap",true); @@ -1071,7 +1071,7 @@ void KNConfig::PostNewsComposer::save() kdDebug(5003) << "KNConfig::PostNewsComposer::save()" << endl; - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("POSTNEWS"); conf->writeEntry("wordWrap", w_ordWrap); @@ -1103,14 +1103,14 @@ KNConfig::Cleanup::Cleanup( bool global ) : mGlobal(global), mDefault(!global), mLastExpDate( TQDate::currentDate() ) { if (mGlobal) { - KConfig *conf = knGlobals.config(); + TDEConfig *conf = knGlobals.config(); conf->setGroup( "EXPIRE" ); loadConfig( conf ); } } -void KNConfig::Cleanup::loadConfig(KConfigBase *conf) +void KNConfig::Cleanup::loadConfig(TDEConfigBase *conf) { // group expire settings d_oExpire = conf->readBoolEntry( "doExpire", true ); @@ -1133,7 +1133,7 @@ void KNConfig::Cleanup::loadConfig(KConfigBase *conf) } -void KNConfig::Cleanup::saveConfig(KConfigBase *conf) +void KNConfig::Cleanup::saveConfig(TDEConfigBase *conf) { // group expire settings conf->writeEntry( "doExpire", d_oExpire ); @@ -1162,7 +1162,7 @@ void KNConfig::Cleanup::save() { kdDebug(5003) << "KNConfig::Cleanup::save()" << endl; if (mGlobal) { - KConfig *conf = knGlobals.config(); + TDEConfig *conf = knGlobals.config(); conf->setGroup( "EXPIRE" ); saveConfig( conf ); } @@ -1213,7 +1213,7 @@ void KNConfig::Cleanup::setLastCompactDate() /*KNConfig::Cache::Cache() { - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("CACHE"); m_emMaxArt=conf->readNumEntry("memMaxArt", 1000); @@ -1236,7 +1236,7 @@ void KNConfig::Cache::save() kdDebug(5003) << "KNConfig::Cache::save()" << endl; - KConfig *conf=knGlobals.config(); + TDEConfig *conf=knGlobals.config(); conf->setGroup("CACHE"); conf->writeEntry("memMaxArt", m_emMaxArt); |