Messagelib

distributionlistdialog.h
1 /*
2  SPDX-FileCopyrightText: 2010 Volker Krause <[email protected]>
3  This file was part of KMail.
4  SPDX-FileCopyrightText: 2005 Cornelius Schumacher <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 #pragma once
9 
10 #include <MessageComposer/Recipient>
11 #include <QDialog>
12 
13 class KJob;
14 class QLineEdit;
15 class QTreeWidget;
16 class QPushButton;
17 
18 namespace MessageComposer
19 {
20 class DistributionListDialog : public QDialog
21 {
22  Q_OBJECT
23 public:
24  explicit DistributionListDialog(QWidget *parent);
25  ~DistributionListDialog() override;
26  void setRecipients(const Recipient::List &);
27 
28 public Q_SLOTS:
29  void slotUser1();
30  void slotTitleChanged(const QString &);
31 
32 private:
33  void slotDelayedSetRecipients(KJob *);
34  void slotDelayedUser1(KJob *);
35  void slotContactGroupCreateJobResult(KJob *);
36  void readConfig();
37  void writeConfig();
38 
39 private:
40  QLineEdit *mTitleEdit = nullptr;
41  QTreeWidget *mRecipientsList = nullptr;
42  QPushButton *mUser1Button = nullptr;
43 };
44 }
Q_OBJECTQ_OBJECT
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
Q_SLOTSQ_SLOTS
void readConfig()
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:08:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.