1 | /* |
2 | SPDX-FileCopyrightText: 2011 John Layt <john@layt.net> |
3 | SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org> |
4 | SPDX-License-Identifier: LGPL-2.0-or-later |
5 | */ |
6 | |
7 | #ifndef KDATERANGECONTROL_P_H |
8 | #define KDATERANGECONTROL_P_H |
9 | |
10 | #include <QDate> |
11 | |
12 | /** Common code for widgets supporting input of dates within a specified min/max range. */ |
13 | class KDateRangeControlPrivate |
14 | { |
15 | public: |
16 | bool setDateRange(const QDate &minDate, const QDate &maxDate); |
17 | bool isInDateRange(const QDate &date) const; |
18 | |
19 | QDate m_minDate; |
20 | QDate m_maxDate; |
21 | }; |
22 | |
23 | #endif |
24 | |