File indexing completed on 2024-04-28 04:44:18
0001 /* 0002 SnoreNotify is a Notification Framework based on Qt 0003 Copyright (C) 2015 Hannah von Reth <vonreth@kde.org> 0004 0005 SnoreNotify is free software: you can redistribute it and/or modify 0006 it under the terms of the GNU Lesser General Public License as published by 0007 the Free Software Foundation, either version 3 of the License, or 0008 (at your option) any later version. 0009 0010 SnoreNotify is distributed in the hope that it will be useful, 0011 but WITHOUT ANY WARRANTY; without even the implied warranty of 0012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0013 GNU Lesser General Public License for more details. 0014 0015 You should have received a copy of the GNU Lesser General Public License 0016 along with SnoreNotify. If not, see <http://www.gnu.org/licenses/>. 0017 */ 0018 #ifndef SETTINGSWINDOW_H 0019 #define SETTINGSWINDOW_H 0020 0021 #include <QMainWindow> 0022 #include <QSettings> 0023 0024 namespace Ui 0025 { 0026 class SettingsWindow; 0027 } 0028 0029 class QAbstractButton; 0030 0031 class SettingsWindow : public QMainWindow 0032 { 0033 Q_OBJECT 0034 0035 public: 0036 explicit SettingsWindow(const QString &appName, QWidget *parent = 0); 0037 ~SettingsWindow(); 0038 0039 private Q_SLOTS: 0040 void on_buttonBox_clicked(QAbstractButton *button); 0041 void on_comboBox_currentIndexChanged(const QString &arg1); 0042 0043 private: 0044 Ui::SettingsWindow *ui; 0045 }; 0046 0047 #endif // SETTINGSWINDOW_H