File indexing completed on 2024-04-28 15:31:52
0001 /* 0002 SPDX-FileCopyrightText: 2011 John Layt <john@layt.net> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef KDATETIMEEDITTEST_H 0008 #define KDATETIMEEDITTEST_H 0009 0010 #include <QWidget> 0011 0012 class KDateTimeEdit; 0013 0014 class KDateTimeEditTest : public QWidget 0015 { 0016 Q_OBJECT 0017 0018 private Q_SLOTS: 0019 void testDefaults(); 0020 void testValidNull(); 0021 void testDateTimeRange(); 0022 void testOptions(); 0023 void testDateDisplayFormat(); 0024 void testDateList(); 0025 void testTimeListInterval(); 0026 void testTimeList(); 0027 void testTimeDisplayFormat(); 0028 void testCalendarSystem(); 0029 void testTimeSpec(); 0030 void testDateMenu(); 0031 0032 private: 0033 KDateTimeEdit *m_edit; 0034 }; 0035 0036 #endif // KDATECOMBOBOXTEST_H