File indexing completed on 2024-12-22 05:00:50
0001 /* 0002 SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QComboBox> 0010 0011 class HourComboBox : public QComboBox 0012 { 0013 Q_OBJECT 0014 public: 0015 explicit HourComboBox(QWidget *parent = nullptr); 0016 ~HourComboBox() override; 0017 0018 void setHour(int hour); 0019 [[nodiscard]] int hour() const; 0020 0021 private: 0022 void initializeList(); 0023 };