File indexing completed on 2024-04-28 03:59:03

0001 /*
0002     SPDX-FileCopyrightText: 2011 John Layt <john@layt.net>
0003     SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KDATERANGECONTROL_P_H
0008 #define KDATERANGECONTROL_P_H
0009 
0010 #include <QDate>
0011 
0012 /** Common code for widgets supporting input of dates within a specified min/max range. */
0013 class KDateRangeControlPrivate
0014 {
0015 public:
0016     bool setDateRange(const QDate &minDate, const QDate &maxDate);
0017     bool isInDateRange(const QDate &date) const;
0018 
0019     QDate m_minDate;
0020     QDate m_maxDate;
0021 };
0022 
0023 #endif