Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 1cee939c authored by Laurent Montel's avatar Laurent Montel 😁

Still clean up

parent 4f164e6f
......@@ -124,21 +124,11 @@ bool AddresseeLineEdit::expandIntern() const
return d->expandIntern();
}
bool AddresseeLineEdit::groupsIsEmpty() const
{
return d->groupsIsEmpty();
}
void AddresseeLineEdit::setExpandIntern(bool expand)
{
d->setExpandIntern(expand);
}
bool AddresseeLineEdit::autoGroupExpand() const
{
return d->autoGroupExpand();
}
void AddresseeLineEdit::setEnableBalooSearch(bool enable)
{
d->setEnableBalooSearch(enable);
......@@ -605,7 +595,7 @@ QMenu *AddresseeLineEdit::createStandardContextMenu()
act->setChecked(d->autoGroupExpand());
connect(act, &QAction::triggered, d, &AddresseeLineEditPrivate::slotToggleExpandGroups);
if (!groupsIsEmpty()) {
if (!d->groupsIsEmpty()) {
act = menu->addAction(i18n("Expand Groups..."));
connect(act, &QAction::triggered, this, &AddresseeLineEdit::expandGroups);
}
......
......@@ -93,7 +93,6 @@ public:
bool expandIntern() const;
bool groupsIsEmpty() const;
/**
* Adds a new @p contact to the completion with a given
* @p weight
......@@ -130,7 +129,6 @@ public:
void updateCompletionOrder();
KLDAP::LdapClientSearch *ldapSearch() const;
bool autoGroupExpand() const;
void setShowRecentAddresses(bool b);
bool showRecentAddresses() const;
void setRecentAddressConfig(KConfig *config);
......
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