Diffstat (limited to 'kabc/plugins/olaccess/resourceolaccessconfig.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kabc/plugins/olaccess/resourceolaccessconfig.cpp | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/kabc/plugins/olaccess/resourceolaccessconfig.cpp b/kabc/plugins/olaccess/resourceolaccessconfig.cpp index 240f1d7..1fcf1b8 100644 --- a/kabc/plugins/olaccess/resourceolaccessconfig.cpp +++ b/kabc/plugins/olaccess/resourceolaccessconfig.cpp @@ -35,3 +35,2 @@ $Id$ -#include <unistd.h> @@ -39,7 +38,6 @@ $Id$ #include <qfile.h> -#include "resourcesharpdtm.h" +#include "resourceolaccess.h" -#include "resourcesharpdtmconfig.h" +#include "resourceolaccessconfig.h" -#include <sl/slzdb.h> @@ -47,3 +45,3 @@ using namespace KABC; -ResourceSharpDTMConfig::ResourceSharpDTMConfig( QWidget* parent, const char* name ) +ResourceolaccessConfig::ResourceolaccessConfig( QWidget* parent, const char* name ) : ConfigWidget( parent, name ) @@ -64,9 +62,9 @@ ResourceSharpDTMConfig::ResourceSharpDTMConfig( QWidget* parent, const char* na -void ResourceSharpDTMConfig::loadSettings( KRES::Resource *res ) +void ResourceolaccessConfig::loadSettings( KRES::Resource *res ) { //US ResourceFile *resource = dynamic_cast<ResourceFile*>( res ); - ResourceSharpDTM *resource = (ResourceSharpDTM*)( res ); + Resourceolaccess *resource = (Resourceolaccess*)( res ); if ( !resource ) { - kdDebug(5700) << "ResourceSharpDTMConfig::loadSettings(): cast failed" << endl; + kdDebug(5700) << "ResourceolaccessConfig::loadSettings(): cast failed" << endl; return; @@ -76,3 +74,3 @@ void ResourceSharpDTMConfig::loadSettings( KRES::Resource *res ) if ( mFileNameEdit->url().isEmpty() ) - mFileNameEdit->setURL( SlZDataBase::addressbookFileName() ); + ;//mFileNameEdit->setURL( SlZDataBase::addressbookFileName() ); @@ -86,9 +84,9 @@ void ResourceSharpDTMConfig::loadSettings( KRES::Resource *res ) -void ResourceSharpDTMConfig::saveSettings( KRES::Resource *res ) +void ResourceolaccessConfig::saveSettings( KRES::Resource *res ) { //US ResourceFile *resource = dynamic_cast<ResourceFile*>( res ); - ResourceSharpDTM *resource = (ResourceSharpDTM*)( res ); + Resourceolaccess *resource = (Resourceolaccess*)( res ); if ( !resource ) { - kdDebug(5700) << "ResourceSharpDTMConfig::saveSettings(): cast failed" << endl; + kdDebug(5700) << "ResourceolaccessConfig::saveSettings(): cast failed" << endl; return; @@ -99,3 +97,3 @@ void ResourceSharpDTMConfig::saveSettings( KRES::Resource *res ) -void ResourceSharpDTMConfig::checkFilePermissions( const QString& fileName ) +void ResourceolaccessConfig::checkFilePermissions( const QString& fileName ) { |