Messagelib

followupreminderselectdatedialog.h
1/*
2 SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org>
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
19
20namespace MessageComposer
21{
22class FollowUpReminderSelectDateDialogPrivate;
23/**
24 * @brief The FollowUpReminderSelectDateDialog class
25 * @author Laurent Montel <montel@kde.org>
26 */
27class MESSAGECOMPOSER_EXPORT FollowUpReminderSelectDateDialog : public QDialog
28{
29 Q_OBJECT
30public:
31 explicit FollowUpReminderSelectDateDialog(QWidget *parent = nullptr, QAbstractItemModel *model = nullptr);
33
34 [[nodiscard]] QDate selectedDate() const;
35
36 void accept() override;
37
38 [[nodiscard]] Akonadi::Collection collection() const;
39
40private:
41 MESSAGECOMPOSER_NO_EXPORT void slotDateChanged();
42 MESSAGECOMPOSER_NO_EXPORT void updateOkButton();
43
44private:
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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:12:43 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.