File indexing completed on 2024-04-21 03:51:03
0001 /* 0002 threshold options for Parley 0003 SPDX-FileCopyrightText: 2005-2007 Peter Hedlund <peter.hedlund@kdemail.net> 0004 SPDX-FileCopyrightText: 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net> 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef THRESHOLDOPTIONS_H 0009 #define THRESHOLDOPTIONS_H 0010 0011 #include "prefs.h" 0012 #include "ui_thresholdoptions.h" 0013 0014 class KEduVocDocument; 0015 0016 class ThresholdOptions : public QWidget, public Ui::ThresholdOptions 0017 { 0018 Q_OBJECT 0019 public: 0020 ThresholdOptions(KEduVocDocument *doc, QWidget *parent); 0021 0022 void updateWidgets(); 0023 bool hasChanged(); 0024 bool isDefault(); 0025 void updateSettings(); 0026 0027 private: 0028 KEduVocDocument *m_doc{nullptr}; 0029 KConfigSkeleton *m_config{nullptr}; 0030 }; 0031 0032 #endif