author | zautrix <zautrix> | 2005-10-27 10:34:56 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-10-27 10:34:56 (UTC) |
commit | 29c7448b3c54e8d579732d10f144e12f7167c3c3 (patch) (side-by-side diff) | |
tree | ae613037eaa897d2f7bc084d0b9e6954c630d985 /kabc/plugins/olaccess/resourceolaccessconfig.cpp | |
parent | eb83d8b5542de9ca0c421ad6aca2913b502bbe78 (diff) | |
download | kdepimpi-29c7448b3c54e8d579732d10f144e12f7167c3c3.zip kdepimpi-29c7448b3c54e8d579732d10f144e12f7167c3c3.tar.gz kdepimpi-29c7448b3c54e8d579732d10f144e12f7167c3c3.tar.bz2 |
commit
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 ) { |