File indexing completed on 2025-03-09 04:53:54

0001 /*
0002    SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QObject>
0010 
0011 class QStandardItemModel;
0012 class FollowupReminderSelectDateDialogTest : public QObject
0013 {
0014     Q_OBJECT
0015 public:
0016     explicit FollowupReminderSelectDateDialogTest(QObject *parent = nullptr);
0017     ~FollowupReminderSelectDateDialogTest() override;
0018 private Q_SLOTS:
0019     void shouldHaveDefaultValue();
0020     void shouldDisableOkButtonIfDateIsEmpty();
0021     void shouldDisableOkButtonIfDateIsNotValid();
0022     void shouldDisableOkButtonIfModelIsEmpty();
0023 
0024 private:
0025     QStandardItemModel *defaultItemModel();
0026 };