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 Q_SLOTS:
33  void slotDelayedSetRecipients(KJob *);
34  void slotDelayedUser1(KJob *);
35  void slotContactGroupCreateJobResult(KJob *);
36 
37 private:
38  void readConfig();
39  void writeConfig();
40 
41 private:
42  QLineEdit *mTitleEdit = nullptr;
43  QTreeWidget *mRecipientsList = nullptr;
44  QPushButton *mUser1Button = nullptr;
45 };
46 }
47 
Q_OBJECTQ_OBJECT
void readConfig()
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:04:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.