author | ulf69 <ulf69> | 2004-08-02 23:23:36 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-08-02 23:23:36 (UTC) |
commit | d5358380edce9a2c39f3eea4df741a148338880c (patch) (side-by-side diff) | |
tree | 8f514a5e200ecfa3c5f4256d85606ade7c6b3093 /kabc/plugins/opie | |
parent | 464ed9d13592965a63b614a1f2902000eb26f1ae (diff) | |
download | kdepimpi-d5358380edce9a2c39f3eea4df741a148338880c.zip kdepimpi-d5358380edce9a2c39f3eea4df741a148338880c.tar.gz kdepimpi-d5358380edce9a2c39f3eea4df741a148338880c.tar.bz2 |
changes that resources support writing and syncing
-rw-r--r-- | kabc/plugins/opie/resourceopie.cpp | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/kabc/plugins/opie/resourceopie.cpp b/kabc/plugins/opie/resourceopie.cpp index 1222242..5559827 100644 --- a/kabc/plugins/opie/resourceopie.cpp +++ b/kabc/plugins/opie/resourceopie.cpp @@ -52,3 +52,3 @@ $Id$ #include "stdaddressbook.h" -#include "syncwidget.h" +#include "syncprefwidget.h" @@ -63,3 +63,3 @@ extern "C" { - return new KRES::PluginFactory<ResourceOpie,ResourceOpieConfig, KRES::SyncWidget>(); + return new KRES::PluginFactory<ResourceOpie,ResourceOpieConfig, SyncPrefWidget>(); } @@ -78,4 +78,2 @@ ResourceOpie::ResourceOpie( const KConfig *config, bool syncable ) -// qDebug("ResourceOpie::ResourceOpie : %s", fileName.latin1() ); - init( fileName ); @@ -86,3 +84,2 @@ ResourceOpie::ResourceOpie( const QString &fileName, bool syncable ) { -// qDebug("ResourceOpie::ResourceOpie : 3 %s", fileName.latin1()); init( fileName ); @@ -97,5 +94,3 @@ void ResourceOpie::init( const QString &fileName ) - setFileName( fileName ); - } @@ -109,3 +104,2 @@ ResourceOpie::~ResourceOpie() delete mAccess; - } @@ -253,4 +247,2 @@ bool ResourceOpie::lock( const QString &lockfileName ) - -// qDebug("ResourceOpie::lock() %s", fileName.latin1()); kdDebug(5700) << "ResourceOpie::lock()" << endl; @@ -259,6 +251,2 @@ bool ResourceOpie::lock( const QString &lockfileName ) -//US change the implementation how the lockfilename is getting created -//US fn.replace( QRegExp("/"), "_" ); -//US QString lockName = locateLocal( "data", "kabc/lock/" + fn + ".lock" ); - KURL url(fn); @@ -304,6 +292,2 @@ void ResourceOpie::unlock( const QString &fileName ) QString fn = fileName; -//US change the implementation how the lockfilename is getting created -//US fn.replace( QRegExp( "/" ), "_" ); -//US QString lockName = locateLocal( "data", "kabc/lock/" + fn + ".lock" ); -//US QString lockName = fn + ".lock"; KURL url(fn); |