summaryrefslogtreecommitdiffstats
path: root/kweather/kcmweather.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 /kweather/kcmweather.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 'kweather/kcmweather.cpp')
-rw-r--r--kweather/kcmweather.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kweather/kcmweather.cpp b/kweather/kcmweather.cpp
index 952edb7..650dae8 100644
--- a/kweather/kcmweather.cpp
+++ b/kweather/kcmweather.cpp
@@ -43,14 +43,14 @@
extern "C"
{
- KDE_EXPORT KCModule *create_weather( TQWidget *parent, const char * )
+ KDE_EXPORT TDECModule *create_weather( TQWidget *parent, const char * )
{
return new KCMWeather( parent, "kweather" );
}
}
KCMWeather::KCMWeather( TQWidget *parent, const char *name )
- : KCModule( parent, name )
+ : TDECModule( parent, name )
{
mWeatherService = new WeatherService_stub( "KWeatherService",
"WeatherService" );
@@ -162,7 +162,7 @@ void KCMWeather::textColorChanged(const TQColor &)
void KCMWeather::load()
{
kdDebug() << "Load" << endl;
- KConfig config( "weather_panelappletrc" );
+ TDEConfig config( "weather_panelappletrc" );
config.setGroup( "General Options" );
bool enabled = config.readBoolEntry( "logging", false );
@@ -188,7 +188,7 @@ void KCMWeather::load()
void KCMWeather::save()
{
kdDebug() << "Save" << endl;
- KConfig config( "weather_panelappletrc" );
+ TDEConfig config( "weather_panelappletrc" );
config.setGroup( "General Options" );
config.writeEntry( "logging", mWidget->m_enableLog->isChecked() );