Messagelib

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

KDE's Doxygen guidelines are available online.