10#include "pimcommonakonadi_private_export.h"
12#include <QDBusAbstractAdaptor>
22class LdapClientSearch;
30 Q_CLASSINFO(
"D-Bus Interface",
"org.kde.pim.CompletionOrder")
34 void completionOrderChanged();
37class CompletionOrderWidget;
43 virtual ~CompletionItem() =
default;
46 virtual QIcon icon()
const = 0;
47 virtual int completionWeight()
const = 0;
48 virtual void setCompletionWeight(
int weight) = 0;
49 virtual void save(CompletionOrderWidget *) = 0;
50 virtual bool hasEnableSupport()
const = 0;
51 virtual bool isEnabled()
const = 0;
52 virtual void setIsEnabled(
bool b) = 0;
55class PIMCOMMONAKONADI_TESTS_EXPORT CompletionOrderWidget :
public QWidget
59 explicit CompletionOrderWidget(
QWidget *parent =
nullptr);
60 ~CompletionOrderWidget()
override;
64 void loadCompletionItems();
68 void completionOrderChanged();
71 PIMCOMMONAKONADI_NO_EXPORT
void rowsInserted(
const QModelIndex &parent,
int start,
int end);
72 PIMCOMMONAKONADI_NO_EXPORT
void slotSelectionChanged();
73 PIMCOMMONAKONADI_NO_EXPORT
void slotMoveUp();
74 PIMCOMMONAKONADI_NO_EXPORT
void slotMoveDown();
75 PIMCOMMONAKONADI_NO_EXPORT
void addRecentAddressItem();
76 PIMCOMMONAKONADI_NO_EXPORT
void addCompletionItemForCollection(
const QModelIndex &);
77 PIMCOMMONAKONADI_NO_EXPORT
void slotItemChanged();
86 int mDefaultValue = 60;
Q_SCRIPTABLE Q_NOREPLY void start()
QString label(StandardShortcut id)
QObject * parent() const const
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.