File indexing completed on 2024-04-14 05:46:48

0001 /*
0002     SPDX-FileCopyrightText: 2010 Tom Albers <toma@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef SETUPNOTIFICATIONS_H
0008 #define SETUPNOTIFICATIONS_H
0009 
0010 #include <qwidget.h>
0011 
0012 class KNotifyConfigWidget;
0013 
0014 /**
0015  * @class SetupTiming
0016  * These contain the timings settings of RSIBreak, currently
0017  * that means settings for tiny and big breaks
0018  * @author Tom Albers <toma.org>
0019  */
0020 
0021 class SetupNotifications : public QWidget
0022 {
0023     Q_OBJECT
0024 
0025 public:
0026     /**
0027      * Constructor
0028      * @param parent Parent Widget
0029      */
0030     explicit SetupNotifications(QWidget *parent = nullptr);
0031 
0032     /**
0033      * Destructor
0034      */
0035     ~SetupNotifications();
0036 
0037     void save();
0038 
0039 private:
0040     KNotifyConfigWidget *m_notify;
0041 };
0042 
0043 #endif /* SETUPNOTIFICATIONS_H */