Files
RedBear-OS/local/recipes/kde/kf6-kwidgetsaddons/source/src/kdaterangecontrol_p.h
T
2026-04-14 10:51:06 +01:00

24 lines
559 B
C++

/*
SPDX-FileCopyrightText: 2011 John Layt <john@layt.net>
SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KDATERANGECONTROL_P_H
#define KDATERANGECONTROL_P_H
#include <QDate>
/** Common code for widgets supporting input of dates within a specified min/max range. */
class KDateRangeControlPrivate
{
public:
bool setDateRange(const QDate &minDate, const QDate &maxDate);
bool isInDateRange(const QDate &date) const;
QDate m_minDate;
QDate m_maxDate;
};
#endif