summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-12-19 20:20:03 +0100
committerMontel Laurent <[email protected]>2017-12-19 20:20:03 +0100
commit03bc32bd12653e893f2c2932768e04cbcc476113 (patch)
tree4312e00760ef4367ded6849572f9551dd77c08c6
parent3b1409e6730dbe143a57cf45a978875e47e08603 (diff)
Port to new connect api
-rw-r--r--src/libkdepimakonadi/addressline/addresslineedit/addresseelineedit_p.cpp4
-rw-r--r--src/libkdepimakonadi/job/addemaildisplayjob.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/libkdepimakonadi/addressline/addresslineedit/addresseelineedit_p.cpp b/src/libkdepimakonadi/addressline/addresslineedit/addresseelineedit_p.cpp
index 7aa9cbf..268b311 100644
--- a/src/libkdepimakonadi/addressline/addresslineedit/addresseelineedit_p.cpp
+++ b/src/libkdepimakonadi/addressline/addresslineedit/addresseelineedit_p.cpp
@@ -139,8 +139,8 @@ void AddresseeLineEditPrivate::init()
connect(box, &KCompletionBox::userCancelled,
this, &AddresseeLineEditPrivate::slotUserCancelled);
connect(AddresseeLineEditManager::self()->ldapTimer(), &QTimer::timeout, this, &AddresseeLineEditPrivate::slotStartLDAPLookup);
- connect(AddresseeLineEditManager::self()->ldapSearch(), SIGNAL(searchData(KLDAP::LdapResult::List)),
- SLOT(slotLDAPSearchData(KLDAP::LdapResult::List)));
+ connect(AddresseeLineEditManager::self()->ldapSearch(), QOverload<const KLDAP::LdapResult::List &>::of(&KLDAP::LdapClientSearch::searchData),
+ this, &AddresseeLineEditPrivate::slotLDAPSearchData);
mCompletionInitialized = true;
}
diff --git a/src/libkdepimakonadi/job/addemaildisplayjob.h b/src/libkdepimakonadi/job/addemaildisplayjob.h
index 03ec902..2a4056e 100644
--- a/src/libkdepimakonadi/job/addemaildisplayjob.h
+++ b/src/libkdepimakonadi/job/addemaildisplayjob.h
@@ -47,8 +47,6 @@ private:
//@cond PRIVATE
class Private;
Private *const d;
-
- Q_PRIVATE_SLOT(d, void slotResourceCreationDone(KJob *))
//@endcond
};
}