Messagelib

followupreminderselectdatedialog.h
1 /*
2  SPDX-FileCopyrightText: 2014-2023 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  Q_REQUIRED_RESULT Akonadi::Collection collection() const;
39 
40 private Q_SLOTS:
41  MESSAGECOMPOSER_NO_EXPORT void slotDateChanged();
42  MESSAGECOMPOSER_NO_EXPORT void updateOkButton();
43 
44 private:
45  std::unique_ptr<FollowUpReminderSelectDateDialogPrivate> const d;
46 };
47 }
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-2023 The KDE developers.
Generated on Wed Sep 27 2023 03:53:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.