File indexing completed on 2024-05-12 17:07:10

0001 /*
0002     SPDX-FileCopyrightText: 1998 Luca Montecchiani <m.luca@usa.net>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 
0005 */
0006 #pragma once
0007 
0008 #include <KCModule>
0009 
0010 class Dtime;
0011 class QTabWidget;
0012 
0013 class KclockModule : public KCModule
0014 {
0015     Q_OBJECT
0016 
0017 public:
0018     explicit KclockModule(QWidget *parent, const QVariantList &);
0019 
0020     void save() override;
0021     void load() override;
0022 
0023 private:
0024     bool kauthSave();
0025     bool timedatedSave();
0026 
0027     QTabWidget *tab;
0028     Dtime *dtime;
0029 
0030     bool m_haveTimedated = false;
0031 };