9#include <Akonadi/Collection>
12#include <Akonadi/Item>
13#include <Akonadi/Session>
14#include <KLDAPCore/LdapClientSearch>
21class QNetworkConfigurationManager;
25class AddresseeLineEdit;
26class AddresseeLineEditAkonadi;
27class AddresseeLineEditLdap;
28class AddresseeLineEditBaloo;
29class AddresseeLineEditManager
34 AddresseeLineEditManager();
36 ~AddresseeLineEditManager();
38 static AddresseeLineEditManager *self();
40 void updateCollectionWeights();
42 void updateLDAPWeights();
43 void updateCompletionOrder();
45 [[nodiscard]]
int addCompletionSource(
const QString &source,
int weight);
46 void removeCompletionSource(
const QString &source);
48 CompletionItemsMap completionItemMap;
56 struct collectionInfo {
63 collectionInfo(
int idx,
bool _enabled)
79 void initializeLdap();
80 [[nodiscard]]
QString ldapText()
const;
81 void setLdapText(
const QString &ldapText);
84 [[nodiscard]]
bool isLdapClientToCompletionSourceMapContains(
int value)
const;
85 [[nodiscard]]
int ldapClientToCompletionSourceValue(
int value)
const;
86 void stopLDAPLookup();
87 void startLoadingLDAPEntries();
88 void restartLdap(
const QString &searchString, AddresseeLineEdit *addressLine);
91 [[nodiscard]]
int balooCompletionSource()
const;
92 void setBalooCompletionSource(
int value);
97 [[nodiscard]] KMailCompletion *completion()
const;
99 [[nodiscard]] AddresseeLineEdit *addressLineEdit()
const;
100 void setAddressLineEdit(AddresseeLineEdit *addressLineEdit);
101 [[nodiscard]]
bool isOnline()
const;
103 void loadBalooBlackList();
107 [[nodiscard]]
bool showOU()
const;
108 void setShowOU(
bool showOU);
110 [[nodiscard]]
bool autoGroupExpand()
const;
111 void setAutoGroupExpand(
bool checked);
113 [[nodiscard]]
QColor alternateColor()
const;
120 mutable QColor mAlternateColor;
121 bool mShowOU =
false;
122 bool mAutoGroupExpand =
false;
123 KMailCompletion *
const mCompletion;
124 AddresseeLineEditAkonadi *
const mAddresseeLineEditAkonadi;
125 AddresseeLineEditLdap *
const mAddressessLineEditLdap;
126 AddresseeLineEditBaloo *
const mAddressessLineEditBaloo;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:39:22 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.