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

parley

blockoptions.h

Go to the documentation of this file.
00001 /***************************************************************************
00002 
00003                       blocking options for parley
00004 
00005     -----------------------------------------------------------------------
00006 
00007     begin                : Tue Apr 5 2005
00008 
00009     copyright            :(C) 2005 Peter Hedlund <peter.hedlund@kdemail.net>
00010 
00011     -----------------------------------------------------------------------
00012 
00013  ***************************************************************************/
00014 
00015 /***************************************************************************
00016  *                                                                         *
00017  *   This program is free software; you can redistribute it and/or modify  *
00018  *   it under the terms of the GNU General Public License as published by  *
00019  *   the Free Software Foundation; either version 2 of the License, or     *
00020  *   (at your option) any later version.                                   *
00021  *                                                                         *
00022  ***************************************************************************/
00023 
00024 #ifndef BLOCKOPTIONS_H
00025 #define BLOCKOPTIONS_H
00026 
00027 #include <QList>
00028 
00029 #include "ui_blockoptions.h"
00030 #include "practiceold/testentrymanager.h"
00031 
00032 class QComboBox;
00033 
00034 class BlockOptions : public QWidget, public Ui::BlockOptionsBase
00035 {
00036     Q_OBJECT
00037 public:
00038     BlockOptions(QWidget* parent = 0);
00039     void updateWidgets();
00040     bool hasChanged();
00041     bool isDefault();
00042     void updateSettings();
00043 
00044 signals:
00045     void widgetModified();
00046 
00047 protected slots:
00048     void slotBlockToggled(bool);
00049     void slotExpireToggled(bool);
00050     void slotComboBoxActivated(int);
00051 
00052 private:
00053     void fillWidgets();
00054     void fillComboBox(QComboBox *);
00055     void updateComboBox(int, QComboBox *);
00056     void checkValidity();
00057 
00058     QList<QComboBox *> m_blockComboList;
00059     QList<QComboBox *> m_expireComboList;
00060 };
00061 
00062 #endif
00063 

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
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
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