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

parley

configurepracticedialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002 
00003     copyright     : (C) 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
00004 
00005     -----------------------------------------------------------------------
00006 
00007  ***************************************************************************
00008 
00009  ***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef CONFIGUREPRACTICEDIALOG_H
00019 #define CONFIGUREPRACTICEDIALOG_H
00020 
00021 #include <keduvocdocument.h>
00022 #include <KConfigDialog>
00023 
00024 class ConfigurePracticeWidget;
00025 class AdvancedPracticeOptions;
00026 class ThresholdOptions;
00027 class BlockOptions;
00028 
00032 class ConfigurePracticeDialog : public KConfigDialog
00033 {
00034     Q_OBJECT
00035 public:
00036     enum Result {
00037         StartPractice = 10
00038     };
00039 
00040     ConfigurePracticeDialog(KEduVocDocument *doc, QWidget *parent, const QString &name, KConfigSkeleton *config);
00041 
00042     ~ConfigurePracticeDialog();
00043 
00044     void commitData();
00045 
00046 private slots:
00050     void updateSettings();
00055     void updateWidgets();
00059     void updateWidgetsDefault();
00060 
00064     bool hasChanged();
00065 
00066     void slotStartPractice();
00067 
00068 private:
00069 
00073     bool isDefault();
00074 
00075     ConfigurePracticeWidget* m_configurePracticeWidget;
00076     AdvancedPracticeOptions* m_advancedPracticeOptions;
00077     ThresholdOptions* m_thresholdOptions;
00078     BlockOptions* m_blockOptions;
00079 
00080     KConfigSkeleton* m_config;
00081 };
00082 
00083 #endif // ConfigurePracticeDialog_included
00084 

parley

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

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal