summaryrefslogtreecommitdiffabout
path: root/kabc/plugins
authorulf69 <ulf69>2004-07-13 15:02:13 (UTC)
committer ulf69 <ulf69>2004-07-13 15:02:13 (UTC)
commit2450dd81505b6212ec5bf59c168b53c52bd08f53 (patch) (side-by-side diff)
tree9425fb7d8f9ba270f75cb711fb19aecb5d92495e /kabc/plugins
parent65848bf858dae95799ec8ed883c23faa48ff8566 (diff)
downloadkdepimpi-2450dd81505b6212ec5bf59c168b53c52bd08f53.zip
kdepimpi-2450dd81505b6212ec5bf59c168b53c52bd08f53.tar.gz
kdepimpi-2450dd81505b6212ec5bf59c168b53c52bd08f53.tar.bz2
cleanup of code
Diffstat (limited to 'kabc/plugins') (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
@@ -32,9 +32,8 @@ $Id$
#include <qdir.h>
#include <qfile.h>
#include <qfileinfo.h>
#include <qregexp.h>
-#include <qtimer.h>
#include <kapplication.h>
#include <kconfig.h>
#include <kdebug.h>
@@ -47,9 +46,8 @@ $Id$
#include <opie/ocontactaccess.h>
#include <opie/ocontactaccessbackend_xml.h>
-#include "resource.h"
#include "resourceopieconfig.h"
#include "stdaddressbook.h"
#include "opieconverter.h"
@@ -110,11 +108,8 @@ ResourceOpie::~ResourceOpie()
}
void ResourceOpie::writeConfig( KConfig *config )
{
- //US opie addressbook is always readonly
-//US setReadOnly( true );
-
Resource::writeConfig( config );
config->writeEntry( "FileName", mFileName );
@@ -212,9 +207,9 @@ bool ResourceOpie::load()
OContactAccess::List::Iterator it;
OContactAccess::List allList = access->allRecords();
for ( it = allList.begin(); it != allList.end(); ++it )
{
- OContact c = (*it);
+ const OContact c = (*it);
KABC::Addressee addressee;
res = mConverter->opieToAddressee( c, addressee );