summaryrefslogtreecommitdiffabout
path: root/kaddressbook/kaddressbookview.cpp
Side-by-side diff
Diffstat (limited to 'kaddressbook/kaddressbookview.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/kaddressbookview.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/kaddressbook/kaddressbookview.cpp b/kaddressbook/kaddressbookview.cpp
index a44fd82..da28870 100644
--- a/kaddressbook/kaddressbookview.cpp
+++ b/kaddressbook/kaddressbookview.cpp
@@ -30,12 +30,13 @@
#include "viewmanager.h"
#endif //KAB_EMBEDDED
#include <qlayout.h>
+#include <kabc/distributionlistdialog.h>
#include <kabc/addressbook.h>
#include <kdebug.h>
#include "kaddressbookview.h"
KAddressBookView::KAddressBookView( KABC::AddressBook *ab, QWidget *parent,
@@ -66,14 +67,12 @@ void KAddressBookView::writeConfig( KConfig* )
{
// Most of writing the config is handled by the ConfigureViewDialog
}
QString KAddressBookView::selectedEmails()
{
-#ifndef KAB_EMBEDDED
-
bool first = true;
QString emailAddrs;
QStringList uidList = selectedUids();
KABC::Addressee addr;
QString email;
@@ -96,17 +95,12 @@ QString KAddressBookView::selectedEmails()
emailAddrs += email;
}
}
return emailAddrs;
-#else //KAB_EMBEDDED
-qDebug("KAddressBookView::selectedEmails() update method");
-return 0;
-#endif //KAB_EMBEDDED
-
}
KABC::Addressee::List KAddressBookView::addressees()
{
KABC::Addressee::List addresseeList;