File: followupreminderselectdatedialogtest.h

package info (click to toggle)
kf5-messagelib 4%3A20.08.3-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 68,480 kB
  • sloc: cpp: 98,287; xml: 353; sh: 25; makefile: 24
file content (28 lines) | stat: -rw-r--r-- 772 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
   SPDX-FileCopyrightText: 2014-2020 Laurent Montel <montel@kde.org>

   SPDX-License-Identifier: GPL-2.0-or-later
*/

#ifndef FOLLOWUPREMINDERSELECTDATEDIALOGTEST_H
#define FOLLOWUPREMINDERSELECTDATEDIALOGTEST_H

#include <QObject>

class QStandardItemModel;
class FollowupReminderSelectDateDialogTest : public QObject
{
    Q_OBJECT
public:
    explicit FollowupReminderSelectDateDialogTest(QObject *parent = nullptr);
    ~FollowupReminderSelectDateDialogTest();
private Q_SLOTS:
    void shouldHaveDefaultValue();
    void shouldDisableOkButtonIfDateIsEmpty();
    void shouldDisableOkButtonIfDateIsNotValid();
    void shouldDisableOkButtonIfModelIsEmpty();
private:
    QStandardItemModel *defaultItemModel();
};

#endif // FOLLOWUPREMINDERSELECTDATEDIALOGTEST_H