-rw-r--r-- | kabc/addressbook.cpp | 11 | ||||
-rw-r--r-- | kabc/addressbook.h | 1 |
2 files changed, 10 insertions, 2 deletions
diff --git a/kabc/addressbook.cpp b/kabc/addressbook.cpp index 9332e21..6e8d027 100644 --- a/kabc/addressbook.cpp +++ b/kabc/addressbook.cpp @@ -530,6 +530,4 @@ Addressee::List AddressBook::getExternLastSyncAddressees() void AddressBook::resetTempSyncStat() { - - Iterator it; for ( it = begin(); it != end(); ++it ) { @@ -539,4 +537,13 @@ void AddressBook::resetTempSyncStat() } +QStringList AddressBook:: uidList() +{ + QStringList results; + Iterator it; + for ( it = begin(); it != end(); ++it ) { + results.append( (*it).uid() ); + } + return results; +} diff --git a/kabc/addressbook.h b/kabc/addressbook.h index 05225f9..650a638 100644 --- a/kabc/addressbook.h +++ b/kabc/addressbook.h @@ -292,4 +292,5 @@ class AddressBook : public QObject Addressee::List getExternLastSyncAddressees(); void resetTempSyncStat(); + QStringList uidList(); |