author | zautrix <zautrix> | 2004-11-08 21:29:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-11-08 21:29:18 (UTC) |
commit | 7b899c8a9c38cf96fca6c46b20ae406a716dd213 (patch) (unidiff) | |
tree | 8c1df14a990de3a630d54a3edf8a6838a7697438 /kaddressbook/xxportselectdialog.cpp | |
parent | 4481ce9842b3820087b24a8bfce2c194974aae73 (diff) | |
download | kdepimpi-7b899c8a9c38cf96fca6c46b20ae406a716dd213.zip kdepimpi-7b899c8a9c38cf96fca6c46b20ae406a716dd213.tar.gz kdepimpi-7b899c8a9c38cf96fca6c46b20ae406a716dd213.tar.bz2 |
Better phone export contact selection
Diffstat (limited to 'kaddressbook/xxportselectdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/xxportselectdialog.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kaddressbook/xxportselectdialog.cpp b/kaddressbook/xxportselectdialog.cpp index 41c999b..be254c0 100644 --- a/kaddressbook/xxportselectdialog.cpp +++ b/kaddressbook/xxportselectdialog.cpp | |||
@@ -99,6 +99,15 @@ XXPortSelectDialog::XXPortSelectDialog( KABCore *core, bool sort, | |||
99 | mFieldCombo->insertItem( (*fieldIt)->label() ); | 99 | mFieldCombo->insertItem( (*fieldIt)->label() ); |
100 | } | 100 | } |
101 | 101 | ||
102 | QStringList XXPortSelectDialog::uids() | ||
103 | { | ||
104 | QStringList uidlist; | ||
105 | KABC::AddresseeList list = contacts(); | ||
106 | KABC::Addressee::List::Iterator it; | ||
107 | for ( it = list.begin(); it != list.end(); ++it ) | ||
108 | uidlist.append((*it).uid()); | ||
109 | return uidlist; | ||
110 | } | ||
102 | KABC::AddresseeList XXPortSelectDialog::contacts() | 111 | KABC::AddresseeList XXPortSelectDialog::contacts() |
103 | { | 112 | { |
104 | QStringList selection = mCore->selectedUIDs(); | 113 | QStringList selection = mCore->selectedUIDs(); |