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 ...@@ -231,6 +231,7 @@ target_link_libraries(KF5MessageComposer
KF5::TemplateParser KF5::TemplateParser
KF5::AkonadiWidgets KF5::AkonadiWidgets
KF5::LibkdepimAkonadi KF5::LibkdepimAkonadi
KF5::PimCommonAkonadi
KF5::KIOCore KF5::KIOCore
KF5::I18n KF5::I18n
KF5::KIOWidgets # for KIO::JobUiDelegate KF5::KIOWidgets # for KIO::JobUiDelegate
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <Akonadi/Contact/EmailAddressSelectionWidget> #include <Akonadi/Contact/EmailAddressSelectionWidget>
#include <Akonadi/Contact/RecipientsPickerWidget> #include <Akonadi/Contact/RecipientsPickerWidget>
#include <kcontacts/contactgroup.h> #include <kcontacts/contactgroup.h>
#include <Libkdepim/LdapSearchDialog> #include <PimCommonAkonadi/LdapSearchDialog>
#include <KConfigGroup> #include <KConfigGroup>
#include <KLocalizedString> #include <KLocalizedString>
...@@ -214,8 +214,8 @@ void RecipientsPicker::writeConfig() ...@@ -214,8 +214,8 @@ void RecipientsPicker::writeConfig()
void RecipientsPicker::slotSearchLDAP() void RecipientsPicker::slotSearchLDAP()
{ {
if (!mLdapSearchDialog) { if (!mLdapSearchDialog) {
mLdapSearchDialog = new KLDAP::LdapSearchDialog(this); mLdapSearchDialog = new PimCommon::LdapSearchDialog(this);
connect(mLdapSearchDialog, &KLDAP::LdapSearchDialog::contactsAdded, this, &RecipientsPicker::ldapSearchResult); connect(mLdapSearchDialog, &PimCommon::LdapSearchDialog::contactsAdded, this, &RecipientsPicker::ldapSearchResult);
} }
mLdapSearchDialog->setSearchText(mView->emailAddressSelectionWidget()->searchLineEdit()->text()); mLdapSearchDialog->setSearchText(mView->emailAddressSelectionWidget()->searchLineEdit()->text());
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
class QPushButton; class QPushButton;
namespace KLDAP { namespace PimCommon {
class LdapSearchDialog; class LdapSearchDialog;
} }
...@@ -73,7 +73,7 @@ protected Q_SLOTS: ...@@ -73,7 +73,7 @@ protected Q_SLOTS:
private: private:
Akonadi::RecipientsPickerWidget *mView = nullptr; Akonadi::RecipientsPickerWidget *mView = nullptr;
KLDAP::LdapSearchDialog *mLdapSearchDialog = nullptr; PimCommon::LdapSearchDialog *mLdapSearchDialog = nullptr;
Recipient::Type mDefaultType; Recipient::Type mDefaultType;
QPushButton *mUser4Button = nullptr; 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