• 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
blockoptions.h
Go to the documentation of this file.
1 /***************************************************************************
2 
3  blocking options for parley
4 
5  -----------------------------------------------------------------------
6 
7  begin : Tue Apr 5 2005
8 
9  copyright :(C) 2005 Peter Hedlund <peter.hedlund@kdemail.net>
10 
11  -----------------------------------------------------------------------
12 
13  ***************************************************************************/
14 
15 /***************************************************************************
16  * *
17  * This program is free software; you can redistribute it and/or modify *
18  * it under the terms of the GNU General Public License as published by *
19  * the Free Software Foundation; either version 2 of the License, or *
20  * (at your option) any later version. *
21  * *
22  ***************************************************************************/
23 
24 #ifndef BLOCKOPTIONS_H
25 #define BLOCKOPTIONS_H
26 
27 #include <QList>
28 
29 #include "ui_blockoptions.h"
30 #include "practice/sessionmanagerbase.h"
31 
32 class KComboBox;
33 
34 class BlockOptions : public QWidget, public Ui::BlockOptionsBase
35 {
36  Q_OBJECT
37 public:
38  BlockOptions(QWidget* parent = 0);
39  void updateWidgets();
40  bool hasChanged();
41  bool isDefault();
42  void updateSettings();
43 
44 signals:
45  void widgetModified();
46 
47 protected slots:
48  void slotBlockToggled(bool);
49  void slotExpireToggled(bool);
50  void slotComboBoxActivated(int);
51 
52 private:
53  void fillWidgets();
54  void fillComboBox(KComboBox *);
55  void updateComboBox(int, KComboBox *);
56  void checkValidity();
57 
58  QList<KComboBox *> m_blockComboList;
59  QList<KComboBox *> m_expireComboList;
60 };
61 
62 #endif
63 
BlockOptions::updateWidgets
void updateWidgets()
Definition: blockoptions.cpp:137
QWidget
BlockOptions::widgetModified
void widgetModified()
BlockOptions::hasChanged
bool hasChanged()
Definition: blockoptions.cpp:360
BlockOptions::BlockOptions
BlockOptions(QWidget *parent=0)
Definition: blockoptions.cpp:77
BlockOptions::slotComboBoxActivated
void slotComboBoxActivated(int)
Definition: blockoptions.cpp:222
BlockOptions::slotBlockToggled
void slotBlockToggled(bool)
Definition: blockoptions.cpp:200
QList< KComboBox * >
BlockOptions
Definition: blockoptions.h:34
BlockOptions::slotExpireToggled
void slotExpireToggled(bool)
Definition: blockoptions.cpp:211
BlockOptions::isDefault
bool isDefault()
Definition: blockoptions.cpp:290
sessionmanagerbase.h
BlockOptions::updateSettings
void updateSettings()
Definition: blockoptions.cpp:325
QObject::parent
QObject * parent() const
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