From 2450dd81505b6212ec5bf59c168b53c52bd08f53 Mon Sep 17 00:00:00 2001 From: ulf69 Date: Tue, 13 Jul 2004 15:02:13 +0000 Subject: cleanup of code --- (limited to 'kabc') diff --git a/kabc/converter/opie/opieE.pro b/kabc/converter/opie/opieE.pro index e026f2a..131c398 100644 --- a/kabc/converter/opie/opieE.pro +++ b/kabc/converter/opie/opieE.pro @@ -1,5 +1,5 @@ TEMPLATE = lib -INCLUDEPATH += . ../.. ../../../microkde ../../../microkde/kdecore $(OPIEDIR)/include $(OPEDIR)/include +INCLUDEPATH += . ../.. ../../../microkde ../../../microkde/kdecore $(OPIEDIR)/include #CONFIG += staticlib OBJECTS_DIR = obj/$(PLATFORM) MOC_DIR = moc/$(PLATFORM) 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 #include #include -#include #include #include @@ -48,7 +47,6 @@ $Id$ #include #include -#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; -- cgit v0.9.0.2