summaryrefslogtreecommitdiffstats
path: root/kworldwatch/mapwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:58 -0600
commit9ea931fb1bda0802797c1d38fd903b5451b91a5a (patch)
tree52871b68f40404504f789e2abefc24080510e51e /kworldwatch/mapwidget.cpp
parent2178da111f72dc574457d5242d120b4d10ea5edd (diff)
downloadtdetoys-9ea931fb1bda0802797c1d38fd903b5451b91a5a.tar.gz
tdetoys-9ea931fb1bda0802797c1d38fd903b5451b91a5a.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kworldwatch/mapwidget.cpp')
-rw-r--r--kworldwatch/mapwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kworldwatch/mapwidget.cpp b/kworldwatch/mapwidget.cpp
index 3c292bd..ffa9a8e 100644
--- a/kworldwatch/mapwidget.cpp
+++ b/kworldwatch/mapwidget.cpp
@@ -69,9 +69,9 @@ MapWidget::MapWidget(bool applet, bool restore, TQWidget *parent, const char *na
if (restore)
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
if (applet)
- config = new KConfig("kwwwappletrc");
+ config = new TDEConfig("kwwwappletrc");
_theme = config->readEntry("Theme", "depths");
if (applet)
delete config;
@@ -162,7 +162,7 @@ MapWidget::~MapWidget()
{
if (_applet)
{
- KConfig *conf = new KConfig("kwwwappletrc");
+ TDEConfig *conf = new TDEConfig("kwwwappletrc");
save(conf);
delete conf;
}
@@ -171,7 +171,7 @@ MapWidget::~MapWidget()
}
-void MapWidget::load(KConfig *config)
+void MapWidget::load(TDEConfig *config)
{
setCities(config->readBoolEntry("Cities", true));
setIllumination(config->readBoolEntry("Illumination", true));
@@ -190,7 +190,7 @@ void MapWidget::load(KConfig *config)
}
-void MapWidget::save(KConfig *config)
+void MapWidget::save(TDEConfig *config)
{
config->writeEntry("Cities", _cities);
config->writeEntry("Illumination", _illumination);