File indexing completed on 2024-03-24 05:57:06
0001 /* 0002 SPDX-FileCopyrightText: 2005, 2007 Tom Albers <toma@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef SETUPMAXIMIZED_H 0008 #define SETUPMAXIMIZED_H 0009 0010 #include <qwidget.h> 0011 0012 class SetupMaximizedPriv; 0013 0014 /** 0015 * @class SetupMaximized 0016 * These contain the general settings of RSIBreak when maximized 0017 * that means settings for the Counter, Image Path and 0018 * minimize button 0019 * @author Tom Albers <toma.org> 0020 */ 0021 0022 class SetupMaximized : public QWidget 0023 { 0024 Q_OBJECT 0025 0026 public: 0027 /** 0028 * Constructor 0029 * @param parent Parent Widget 0030 */ 0031 explicit SetupMaximized(QWidget *parent = nullptr); 0032 0033 /** 0034 * Destructor 0035 */ 0036 ~SetupMaximized(); 0037 0038 /** 0039 * Call this if you want the settings saved from this page. 0040 */ 0041 void applySettings(); 0042 0043 public slots: 0044 void slotSetUseIdleTimer(bool useIdleTimer); 0045 0046 private slots: 0047 void slotEffectChanged(int current); 0048 void slotFolderPicker(); 0049 void slotFolderEdited(const QString &newPath); 0050 void slotHideFlash(); 0051 0052 private: 0053 void readSettings(); 0054 SetupMaximizedPriv *d; 0055 }; 0056 0057 #endif /* SETUPMAXIMIZED_H */