summaryrefslogtreecommitdiffstats
path: root/tderesources/birthdays/resourcekabcconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tderesources/birthdays/resourcekabcconfig.cpp')
-rw-r--r--tderesources/birthdays/resourcekabcconfig.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tderesources/birthdays/resourcekabcconfig.cpp b/tderesources/birthdays/resourcekabcconfig.cpp
index 5bb459091..6bead14b5 100644
--- a/tderesources/birthdays/resourcekabcconfig.cpp
+++ b/tderesources/birthdays/resourcekabcconfig.cpp
@@ -33,7 +33,7 @@
using namespace KCal;
-ResourceKABCConfig::ResourceKABCConfig( TQWidget* parent, const char* name )
+ResourceTDEABCConfig::ResourceTDEABCConfig( TQWidget* parent, const char* name )
: KRES::ConfigWidget( parent, name )
{
TQGridLayout *topLayout = new TQGridLayout( this, 5, 1, 11, 6 );
@@ -78,9 +78,9 @@ ResourceKABCConfig::ResourceKABCConfig( TQWidget* parent, const char* name )
new TQCheckListItem( mCategoryView, *it, TQCheckListItem::CheckBox );
}
-void ResourceKABCConfig::loadSettings( KRES::Resource *resource )
+void ResourceTDEABCConfig::loadSettings( KRES::Resource *resource )
{
- ResourceKABC *res = static_cast<ResourceKABC *>( resource );
+ ResourceTDEABC *res = static_cast<ResourceTDEABC *>( resource );
if ( res ) {
mAlarm->setChecked( res->alarm() );
TQString days;
@@ -101,13 +101,13 @@ void ResourceKABCConfig::loadSettings( KRES::Resource *resource )
mUseCategories->setChecked( res->useCategories() );
} else {
- kdDebug(5700) << "ERROR: ResourceKABCConfig::loadSettings(): no ResourceKABC, cast failed" << endl;
+ kdDebug(5700) << "ERROR: ResourceTDEABCConfig::loadSettings(): no ResourceTDEABC, cast failed" << endl;
}
}
-void ResourceKABCConfig::saveSettings( KRES::Resource *resource )
+void ResourceTDEABCConfig::saveSettings( KRES::Resource *resource )
{
- ResourceKABC *res = static_cast<ResourceKABC *>( resource );
+ ResourceTDEABC *res = static_cast<ResourceTDEABC *>( resource );
if ( res ) {
res->setAlarm( mAlarm->isChecked() );
res->setAlarmDays( mAlarmTimeEdit->text().toInt() );
@@ -122,11 +122,11 @@ void ResourceKABCConfig::saveSettings( KRES::Resource *resource )
res->setCategories( categories );
res->setUseCategories( mUseCategories->isChecked() );
} else {
- kdDebug(5700) << "ERROR: ResourceKABCConfig::saveSettings(): no ResourceKABC, cast failed" << endl;
+ kdDebug(5700) << "ERROR: ResourceTDEABCConfig::saveSettings(): no ResourceTDEABC, cast failed" << endl;
}
}
-void ResourceKABCConfig::alarmClicked()
+void ResourceTDEABCConfig::alarmClicked()
{
mAlarmTimeEdit->setDisabled(!mAlarm->isChecked());
mALabel->setDisabled(!mAlarm->isChecked());