File indexing completed on 2025-01-05 04:49:35

0001 /*
0002   This file is part of KOrganizer.
0003 
0004   SPDX-FileCopyrightText: 2003 Jonathan Singer <jsinger@leeta.net>
0005   SPDX-FileCopyrightText: 2007 Loïc Corbasson <loic.corbasson@gmail.com>
0006 
0007   SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 
0010 #pragma once
0011 
0012 #include <EventViews/CalendarDecoration>
0013 
0014 using namespace EventViews::CalendarDecoration;
0015 
0016 class Hebrew : public Decoration
0017 {
0018 public:
0019     Hebrew(QObject *parent = nullptr, const QVariantList &args = {});
0020 
0021     void configure(QWidget *parent) override;
0022 
0023     [[nodiscard]] Element::List createDayElements(const QDate &) override;
0024 
0025     [[nodiscard]] QString info() const override;
0026 
0027 private:
0028     bool showParsha, showChol, showOmer;
0029     bool areWeInIsrael;
0030 };