9#include <Akonadi/Collection>
12#include <Akonadi/Item>
13#include <Akonadi/Session>
14#include <KLDAPCore/LdapClientSearch>
21class QNetworkConfigurationManager;
24class LdapActivitiesAbstract;
30class AddresseeLineEdit;
31class AddresseeLineEditAkonadi;
32class AddresseeLineEditLdap;
33class AddresseeLineEditAkonadiSearch;
34class AddresseeLineEditManager
39 AddresseeLineEditManager();
41 ~AddresseeLineEditManager();
43 static AddresseeLineEditManager *self();
45 void updateCollectionWeights();
47 void updateLDAPWeights();
48 void updateCompletionOrder();
50 [[nodiscard]]
int addCompletionSource(
const QString &source,
int weight);
51 void removeCompletionSource(
const QString &source);
53 CompletionItemsMap completionItemMap;
61 struct collectionInfo {
66 collectionInfo(
int idx,
bool _enabled)
82 void initializeLdap();
83 [[nodiscard]]
QString ldapText()
const;
84 void setLdapText(
const QString &ldapText);
87 [[nodiscard]]
bool isLdapClientToCompletionSourceMapContains(
int value)
const;
88 [[nodiscard]]
int ldapClientToCompletionSourceValue(
int value)
const;
89 void stopLDAPLookup();
90 void startLoadingLDAPEntries();
91 void restartLdap(
const QString &searchString, AddresseeLineEdit *addressLine);
94 [[nodiscard]]
int balooCompletionSource()
const;
95 void setBalooCompletionSource(
int value);
100 [[nodiscard]] KMailCompletion *completion()
const;
102 [[nodiscard]] AddresseeLineEdit *addressLineEdit()
const;
103 void setAddressLineEdit(AddresseeLineEdit *addressLineEdit);
104 [[nodiscard]]
bool isOnline()
const;
106 void loadBalooBlackList();
110 [[nodiscard]]
bool showOU()
const;
111 void setShowOU(
bool showOU);
113 [[nodiscard]]
bool autoGroupExpand()
const;
114 void setAutoGroupExpand(
bool checked);
116 [[nodiscard]]
QColor alternateColor()
const;
125 mutable QColor mAlternateColor;
126 bool mShowOU =
false;
127 bool mAutoGroupExpand =
false;
128 KMailCompletion *
const mCompletion;
129 AddresseeLineEditAkonadi *
const mAddresseeLineEditAkonadi;
130 AddresseeLineEditLdap *
const mAddressessLineEditLdap;
131 AddresseeLineEditAkonadiSearch *
const mAddressessLineEditBaloo;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:56 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.