summaryrefslogtreecommitdiffabout
path: root/kabc/plugins/opie/resourceopie.cpp
Side-by-side diff
Diffstat (limited to 'kabc/plugins/opie/resourceopie.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/plugins/opie/resourceopie.cpp20
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);