Commit 55d49d27 authored by Volker Krause's avatar Volker Krause
Browse files

Adapt to the move of LdapSearchDialog

parent dee2ef57
Pipeline #23428 passed with stage
in 40 minutes and 5 seconds
......@@ -231,6 +231,7 @@ target_link_libraries(KF5MessageComposer
KF5::TemplateParser
KF5::AkonadiWidgets
KF5::LibkdepimAkonadi
KF5::PimCommonAkonadi
KF5::KIOCore
KF5::I18n
KF5::KIOWidgets # for KIO::JobUiDelegate
......
......@@ -25,7 +25,7 @@
#include <Akonadi/Contact/EmailAddressSelectionWidget>
#include <Akonadi/Contact/RecipientsPickerWidget>
#include <kcontacts/contactgroup.h>
#include <Libkdepim/LdapSearchDialog>
#include <PimCommonAkonadi/LdapSearchDialog>
#include <KConfigGroup>
#include <KLocalizedString>
......@@ -214,8 +214,8 @@ void RecipientsPicker::writeConfig()
void RecipientsPicker::slotSearchLDAP()
{
if (!mLdapSearchDialog) {
mLdapSearchDialog = new KLDAP::LdapSearchDialog(this);
connect(mLdapSearchDialog, &KLDAP::LdapSearchDialog::contactsAdded, this, &RecipientsPicker::ldapSearchResult);
mLdapSearchDialog = new PimCommon::LdapSearchDialog(this);
connect(mLdapSearchDialog, &PimCommon::LdapSearchDialog::contactsAdded, this, &RecipientsPicker::ldapSearchResult);
}
mLdapSearchDialog->setSearchText(mView->emailAddressSelectionWidget()->searchLineEdit()->text());
......
......@@ -28,7 +28,7 @@
class QPushButton;
namespace KLDAP {
namespace PimCommon {
class LdapSearchDialog;
}
......@@ -73,7 +73,7 @@ protected Q_SLOTS:
private:
Akonadi::RecipientsPickerWidget *mView = nullptr;
KLDAP::LdapSearchDialog *mLdapSearchDialog = nullptr;
PimCommon::LdapSearchDialog *mLdapSearchDialog = nullptr;
Recipient::Type mDefaultType;
QPushButton *mUser4Button = nullptr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment