Messagelib
10 #include <QSharedPointer>
12 #include "MessageComposer/Recipient"
14 #include <Libkdepim/MultiplyingLine>
15 #include <MessageComposer/ComposerLineEdit>
21 class RecipientComboBox :
public QComboBox
25 explicit RecipientComboBox(
QWidget *parent);
31 void keyPressEvent(
QKeyEvent *ev)
override;
48 void keyPressEvent(
QKeyEvent *ev)
override;
61 void activate()
override;
62 Q_REQUIRED_RESULT
bool isActive()
const override;
64 Q_REQUIRED_RESULT
bool isEmpty()
const override;
65 void clear()
override;
66 Q_REQUIRED_RESULT
bool canDeleteLineEdit()
const override;
68 Q_REQUIRED_RESULT
bool isModified()
const override;
69 void clearModified()
override;
71 Q_REQUIRED_RESULT KPIM::MultiplyingLineData::Ptr data()
const override;
72 void setData(
const KPIM::MultiplyingLineData::Ptr &data)
override;
74 void fixTabOrder(
QWidget *previous)
override;
75 Q_REQUIRED_RESULT
QWidget *tabOut()
const override;
79 Q_REQUIRED_RESULT
int setColumnWidth(
int w)
override;
82 Q_REQUIRED_RESULT
int recipientsCount()
const;
84 void setRecipientType(Recipient::Type);
85 Q_REQUIRED_RESULT Recipient::Type recipientType()
const;
93 void setRecentAddressConfig(
KConfig *config);
95 void setEnableIndexSearch(
bool enableIndexSearch);
96 Q_REQUIRED_RESULT
bool enableIndexSearch()
const;
98 void setEnableAkonadiSearch(
bool enableAkonadiSearch);
99 Q_REQUIRED_RESULT
bool enableAkonadiSearch()
const;
101 Q_REQUIRED_RESULT
QString rawData()
const;
108 void activeChanged();
111 void slotEditingFinished();
112 void slotTypeModified();
113 void analyzeLine(
const QString &);
119 void dataFromFields();
120 void fieldsFromData();
121 void slotAddRecipient(
const QString &);
122 RecipientComboBox *mCombo =
nullptr;
124 int mRecipientsCount = 0;
125 bool mModified =
false;
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
The ComposerLineEdit class.
The RecipientLineNG class.
The RecipientLineEdit class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Jan 28 2023 04:09:56 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.