10#include "pimcommonakonadi_private_export.h"
12#include <QDBusAbstractAdaptor>
22class LdapClientSearch;
23class LdapActivitiesAbstract;
31 Q_CLASSINFO(
"D-Bus Interface",
"org.kde.pim.CompletionOrder")
35 void completionOrderChanged();
38class CompletionOrderWidget;
44 virtual ~CompletionItem() =
default;
47 virtual QIcon icon()
const = 0;
48 virtual int completionWeight()
const = 0;
49 virtual void setCompletionWeight(
int weight) = 0;
50 virtual void save(CompletionOrderWidget *) = 0;
51 virtual bool hasEnableSupport()
const = 0;
52 virtual bool isEnabled()
const = 0;
53 virtual void setIsEnabled(
bool b) = 0;
56class PIMCOMMONAKONADI_TESTS_EXPORT CompletionOrderWidget :
public QWidget
60 explicit CompletionOrderWidget(
QWidget *parent =
nullptr);
61 ~CompletionOrderWidget()
override;
65 void loadCompletionItems();
70 void completionOrderChanged();
73 PIMCOMMONAKONADI_NO_EXPORT
void rowsInserted(
const QModelIndex &parent,
int start,
int end);
74 PIMCOMMONAKONADI_NO_EXPORT
void slotSelectionChanged();
75 PIMCOMMONAKONADI_NO_EXPORT
void slotMoveUp();
76 PIMCOMMONAKONADI_NO_EXPORT
void slotMoveDown();
77 PIMCOMMONAKONADI_NO_EXPORT
void addRecentAddressItem();
78 PIMCOMMONAKONADI_NO_EXPORT
void addCompletionItemForCollection(
const QModelIndex &);
79 PIMCOMMONAKONADI_NO_EXPORT
void slotItemChanged();
89 int mDefaultValue = 60;
Q_SCRIPTABLE Q_NOREPLY void start()
QString label(StandardShortcut id)
const QList< QKeySequence > & save()
QObject * parent() const const
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.