summaryrefslogtreecommitdiffstats
path: root/kresources/birthdays
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/birthdays')
-rw-r--r--kresources/birthdays/resourcekabc.cpp6
-rw-r--r--kresources/birthdays/resourcekabc.h8
2 files changed, 7 insertions, 7 deletions
diff --git a/kresources/birthdays/resourcekabc.cpp b/kresources/birthdays/resourcekabc.cpp
index 3a6af941d..b98d49e06 100644
--- a/kresources/birthdays/resourcekabc.cpp
+++ b/kresources/birthdays/resourcekabc.cpp
@@ -66,7 +66,7 @@ extern "C"
}
}
-ResourceKABC::ResourceKABC( const KConfig* config )
+ResourceKABC::ResourceKABC( const TDEConfig* config )
: ResourceCalendar( config ), mCalendar( TQString::fromLatin1( "UTC" ) ),
mAlarmDays( 0 ), mAlarm( true ), mUseCategories( false )
{
@@ -102,7 +102,7 @@ void ResourceKABC::init()
mAddressbook = 0;
}
-void ResourceKABC::readConfig( const KConfig *config )
+void ResourceKABC::readConfig( const TDEConfig *config )
{
mAlarmDays = config->readNumEntry( "AlarmDays", 0 );
mAlarm = config->readBoolEntry( "Alarm", true );
@@ -110,7 +110,7 @@ void ResourceKABC::readConfig( const KConfig *config )
mUseCategories = config->readBoolEntry( "UseCategories", false );
}
-void ResourceKABC::writeConfig( KConfig *config )
+void ResourceKABC::writeConfig( TDEConfig *config )
{
ResourceCalendar::writeConfig( config );
config->writeEntry( "AlarmDays", mAlarmDays );
diff --git a/kresources/birthdays/resourcekabc.h b/kresources/birthdays/resourcekabc.h
index be77c1860..169a02946 100644
--- a/kresources/birthdays/resourcekabc.h
+++ b/kresources/birthdays/resourcekabc.h
@@ -35,7 +35,7 @@
#include "libtdepim/tdepimmacros.h"
-namespace KIO {
+namespace TDEIO {
class FileCopyJob;
class Job;
}
@@ -53,12 +53,12 @@ class KDE_EXPORT ResourceKABC : public ResourceCalendar
friend class ResourceKABCConfig;
public:
- ResourceKABC( const KConfig * );
+ ResourceKABC( const TDEConfig * );
ResourceKABC( );
virtual ~ResourceKABC();
- void readConfig( const KConfig *config );
- void writeConfig( KConfig* config );
+ void readConfig( const TDEConfig *config );
+ void writeConfig( TDEConfig* config );
void setAlarm( bool );
bool alarm();