summaryrefslogtreecommitdiffabout
path: root/kabc/plugins/opie
Side-by-side diff
Diffstat (limited to 'kabc/plugins/opie') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/plugins/opie/resourceopie.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/kabc/plugins/opie/resourceopie.cpp b/kabc/plugins/opie/resourceopie.cpp
index a7d271f..3a40ea2 100644
--- a/kabc/plugins/opie/resourceopie.cpp
+++ b/kabc/plugins/opie/resourceopie.cpp
@@ -33,7 +33,6 @@ $Id$
#include <qfile.h>
#include <qfileinfo.h>
#include <qregexp.h>
-#include <qtimer.h>
#include <kapplication.h>
#include <kconfig.h>
@@ -48,7 +47,6 @@ $Id$
#include <opie/ocontactaccess.h>
#include <opie/ocontactaccessbackend_xml.h>
-#include "resource.h"
#include "resourceopieconfig.h"
#include "stdaddressbook.h"
@@ -111,9 +109,6 @@ ResourceOpie::~ResourceOpie()
void ResourceOpie::writeConfig( KConfig *config )
{
- //US opie addressbook is always readonly
-//US setReadOnly( true );
-
Resource::writeConfig( config );
config->writeEntry( "FileName", mFileName );
@@ -213,7 +208,7 @@ bool ResourceOpie::load()
OContactAccess::List allList = access->allRecords();
for ( it = allList.begin(); it != allList.end(); ++it )
{
- OContact c = (*it);
+ const OContact c = (*it);
KABC::Addressee addressee;