• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

parley

  • sources
  • kde-4.14
  • kdeedu
  • parley
  • src
  • practice
  • configure
configurepracticedialog.h
Go to the documentation of this file.
1 /***************************************************************************
2 
3  copyright : (C) 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
4  (C) 2014 Inge Wallin <inge@lysator.liu.se>
5 
6  -----------------------------------------------------------------------
7 
8  ***************************************************************************
9 
10  ***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 
19 #ifndef CONFIGUREPRACTICEDIALOG_H
20 #define CONFIGUREPRACTICEDIALOG_H
21 
22 #include <keduvocdocument.h>
23 #include <KConfigDialog>
24 
25 class GeneralPracticeOptions;
26 class ConfigurePracticeWidget;
27 class SpecificPracticeOptions;
28 class ThresholdOptions;
29 class BlockOptions;
30 
34 class ConfigurePracticeDialog : public KConfigDialog
35 {
36  Q_OBJECT
37 
38 public:
39  ConfigurePracticeDialog(KEduVocDocument *doc, QWidget *parent, const QString &name, KConfigSkeleton *config);
40 
41  ~ConfigurePracticeDialog();
42 
43  void commitData();
44 
45 private slots:
49  void updateSettings();
54  void updateWidgets();
58  void updateWidgetsDefault();
59 
63  bool hasChanged();
64 
65 private:
66 
70  bool isDefault();
71 
72  GeneralPracticeOptions *m_generalPracticeOptions;
73  BlockOptions *m_blockOptions;
74  ThresholdOptions *m_thresholdOptions;
75  SpecificPracticeOptions *m_specificPracticeOptions;
76 
77  KConfigSkeleton *m_config;
78 };
79 
80 #endif // ConfigurePracticeDialog_included
81 
QWidget
ConfigurePracticeDialog
Definition: configurepracticedialog.h:34
KConfigSkeleton
SpecificPracticeOptions
Definition: specificpracticeoptions.h:30
GeneralPracticeOptions
Definition: generalpracticeoptions.h:31
KConfigDialog
ConfigurePracticeDialog::commitData
void commitData()
QString
ConfigurePracticeDialog::ConfigurePracticeDialog
ConfigurePracticeDialog(KEduVocDocument *doc, QWidget *parent, const QString &name, KConfigSkeleton *config)
Definition: configurepracticedialog.cpp:28
ThresholdOptions
Definition: thresholdoptions.h:34
BlockOptions
Definition: blockoptions.h:34
ConfigurePracticeDialog::~ConfigurePracticeDialog
~ConfigurePracticeDialog()
Definition: configurepracticedialog.cpp:59
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

parley

Skip menu "parley"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal