From 522486966ecf041a6e49913b6e420d58d4284837 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 17 Jan 2005 19:49:42 +0000 Subject: const fixes --- (limited to 'kabc/addressbook.cpp') diff --git a/kabc/addressbook.cpp b/kabc/addressbook.cpp index 4de7da2..9e61261 100644 --- a/kabc/addressbook.cpp +++ b/kabc/addressbook.cpp @@ -960,9 +960,9 @@ bool AddressBook::containsExternalUid( const QString& uid ) } return false; } -Addressee AddressBook::findByExternUid( const QString& uid , const QString& profile ) +const Addressee AddressBook::findByExternUid( const QString& uid , const QString& profile ) const { - Iterator it; + ConstIterator it; for ( it = begin(); it != end(); ++it ) { if ( uid == (*it).getID( profile ) ) return (*it); -- cgit v0.9.0.2