Messagelib

followupreminderselectdatedialog.h
1 /*
2  SPDX-FileCopyrightText: 2014-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "messagecomposer_export.h"
10 
11 #include <Akonadi/Collection>
12 
13 #include <QDialog>
14 #include <QPushButton>
15 
16 #include <memory>
17 
18 class QAbstractItemModel;
19 
20 namespace MessageComposer
21 {
22 class FollowUpReminderSelectDateDialogPrivate;
23 /**
24  * @brief The FollowUpReminderSelectDateDialog class
25  * @author Laurent Montel <[email protected]>
26  */
27 class MESSAGECOMPOSER_EXPORT FollowUpReminderSelectDateDialog : public QDialog
28 {
29  Q_OBJECT
30 public:
31  explicit FollowUpReminderSelectDateDialog(QWidget *parent = nullptr, QAbstractItemModel *model = nullptr);
33 
34  Q_REQUIRED_RESULT QDate selectedDate() const;
35 
36  void accept() override;
37 
38  Akonadi::Collection collection() const;
39 
40 private Q_SLOTS:
41  void slotDateChanged();
42  void updateOkButton();
43 
44 private:
45  std::unique_ptr<FollowUpReminderSelectDateDialogPrivate> const d;
46 };
47 }
48 
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
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.