summaryrefslogtreecommitdiffabout
path: root/kabc
authorulf69 <ulf69>2004-06-29 05:22:55 (UTC)
committer ulf69 <ulf69>2004-06-29 05:22:55 (UTC)
commit822dcc26ab3b70952679a1e12a010549659b6351 (patch) (unidiff)
tree334efa1aa742545c0ad0afdad681e8fe0cb29eb0 /kabc
parent6cbf4bfe5ee3b706d7b50324b5300db76eef89d6 (diff)
downloadkdepimpi-822dcc26ab3b70952679a1e12a010549659b6351.zip
kdepimpi-822dcc26ab3b70952679a1e12a010549659b6351.tar.gz
kdepimpi-822dcc26ab3b70952679a1e12a010549659b6351.tar.bz2
removed KAB_EMBEDDED references
Diffstat (limited to 'kabc') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/distributionlisteditor.cpp34
1 files changed, 8 insertions, 26 deletions
diff --git a/kabc/distributionlisteditor.cpp b/kabc/distributionlisteditor.cpp
index 569dc96..8b485d8 100644
--- a/kabc/distributionlisteditor.cpp
+++ b/kabc/distributionlisteditor.cpp
@@ -36,7 +36,5 @@
36#include "distributionlisteditor.h" 36#include "distributionlisteditor.h"
37 37
38#ifndef KAB_EMBEDDED 38//US #include "distributionlisteditor.moc"
39#include "distributionlisteditor.moc"
40#endif //KAB_EMBEDDED
41 39
42using namespace KABC; 40using namespace KABC;
@@ -186,9 +184,6 @@ DistributionListEditor::~DistributionListEditor()
186void DistributionListEditor::slotSelectionEntryViewChanged() 184void DistributionListEditor::slotSelectionEntryViewChanged()
187{ 185{
188#ifndef KAB_EMBEDDED 186//US EditEntryItem *entryItem = dynamic_cast<EditEntryItem *>( mEntryView->selectedItem() );
189 EditEntryItem *entryItem = dynamic_cast<EditEntryItem *>( mEntryView->selectedItem() );
190#else //KAB_EMBEDDED
191 EditEntryItem *entryItem = (EditEntryItem *)( mEntryView->selectedItem() ); 187 EditEntryItem *entryItem = (EditEntryItem *)( mEntryView->selectedItem() );
192#endif //KAB_EMBEDDED
193 bool state = (entryItem != 0L); 188 bool state = (entryItem != 0L);
194 189
@@ -224,11 +219,10 @@ void DistributionListEditor::removeList()
224void DistributionListEditor::addEntry() 219void DistributionListEditor::addEntry()
225{ 220{
226#ifndef KAB_EMBEDDED 221/*US
227 AddresseeItem *addresseeItem = 222 AddresseeItem *addresseeItem =
228 dynamic_cast<AddresseeItem *>( mAddresseeView->selectedItem() ); 223 dynamic_cast<AddresseeItem *>( mAddresseeView->selectedItem() );
229#else //KAB_EMBEDDED 224*/
230 AddresseeItem *addresseeItem = 225 AddresseeItem *addresseeItem =
231 (AddresseeItem *)( mAddresseeView->selectedItem() ); 226 (AddresseeItem *)( mAddresseeView->selectedItem() );
232#endif //KAB_EMBEDDED
233 227
234 228
@@ -254,9 +248,6 @@ void DistributionListEditor::removeEntry()
254 if ( !list ) return; 248 if ( !list ) return;
255 249
256#ifndef KAB_EMBEDDED 250//US EditEntryItem *entryItem = dynamic_cast<EditEntryItem *>( mEntryView->selectedItem() );
257 EditEntryItem *entryItem = dynamic_cast<EditEntryItem *>( mEntryView->selectedItem() );
258#else //KAB_EMBEDDED
259 EditEntryItem *entryItem = (EditEntryItem *)( mEntryView->selectedItem() ); 251 EditEntryItem *entryItem = (EditEntryItem *)( mEntryView->selectedItem() );
260#endif //KAB_EMBEDDED
261 if ( !entryItem ) return; 252 if ( !entryItem ) return;
262 253
@@ -270,9 +261,6 @@ void DistributionListEditor::changeEmail()
270 if ( !list ) return; 261 if ( !list ) return;
271 262
272#ifndef KAB_EMBEDDED 263//US EditEntryItem *entryItem = dynamic_cast<EditEntryItem *>( mEntryView->selectedItem() );
273 EditEntryItem *entryItem = dynamic_cast<EditEntryItem *>( mEntryView->selectedItem() );
274#else //KAB_EMBEDDED
275 EditEntryItem *entryItem = (EditEntryItem *)( mEntryView->selectedItem() ); 264 EditEntryItem *entryItem = (EditEntryItem *)( mEntryView->selectedItem() );
276#endif //KAB_EMBEDDED
277 if ( !entryItem ) return; 265 if ( !entryItem ) return;
278 266
@@ -296,9 +284,6 @@ void DistributionListEditor::updateEntryView()
296 new EditEntryItem( mEntryView, (*it).addressee, (*it).email ); 284 new EditEntryItem( mEntryView, (*it).addressee, (*it).email );
297 } 285 }
298#ifndef KAB_EMBEDDED 286//US EditEntryItem *entryItem = dynamic_cast<EditEntryItem *>( mEntryView->selectedItem() );
299 EditEntryItem *entryItem = dynamic_cast<EditEntryItem *>( mEntryView->selectedItem() );
300#else //KAB_EMBEDDED
301 EditEntryItem *entryItem = (EditEntryItem *)( mEntryView->selectedItem() ); 287 EditEntryItem *entryItem = (EditEntryItem *)( mEntryView->selectedItem() );
302#endif //KAB_EMBEDDED
303 bool state = (entryItem != 0L); 288 bool state = (entryItem != 0L);
304 289
@@ -326,9 +311,6 @@ void DistributionListEditor::updateNameCombo()
326void DistributionListEditor::slotSelectionAddresseeViewChanged() 311void DistributionListEditor::slotSelectionAddresseeViewChanged()
327{ 312{
328#ifndef KAB_EMBEDDED 313//US AddresseeItem *addresseeItem = dynamic_cast<AddresseeItem *>( mAddresseeView->selectedItem() );
329 AddresseeItem *addresseeItem = dynamic_cast<AddresseeItem *>( mAddresseeView->selectedItem() );
330#else //KAB_EMBEDDED
331 AddresseeItem *addresseeItem = (AddresseeItem *)( mAddresseeView->selectedItem() ); 314 AddresseeItem *addresseeItem = (AddresseeItem *)( mAddresseeView->selectedItem() );
332#endif //KAB_EMBEDDED
333 bool state = (addresseeItem != 0L); 315 bool state = (addresseeItem != 0L);
334 addEntryButton->setEnabled( state && !mNameCombo->currentText().isEmpty()); 316 addEntryButton->setEnabled( state && !mNameCombo->currentText().isEmpty());