• 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
  • editor
inflectionwidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  Copyright 2008 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
3  Copyright 2011 Jan Gerrit Marker <jangerrit@weiler-marker.com>
4  ***************************************************************************/
5 
6 /***************************************************************************
7  * *
8  * This program is free software; you can redistribute it and/or modify *
9  * it under the terms of the GNU General Public License as published by *
10  * the Free Software Foundation; either version 2 of the License, or *
11  * (at your option) any later version. *
12  * *
13  ***************************************************************************/
14 
15 #ifndef INFLECTIONWIDGET_H
16 #define INFLECTIONWIDGET_H
17 
18 #include <QStackedWidget>
19 
20 #include <keduvocdeclension.h>
21 
22 class KEduVocExpression;
23 class KEduVocDocument;
24 
25 namespace Editor
26 {
27 class DeclensionWidget;
28 class ConjugationWidget;
29 
30 class InflectionWidget : public QStackedWidget
31 {
32  Q_OBJECT
33 
34 public:
35  explicit InflectionWidget(QWidget *parent = 0);
36 
37 public slots:
38  void setDocument(KEduVocDocument* doc);
39  void setTranslation(KEduVocExpression* entry, int translation);
40 
41 private slots:
42  void setWordType();
43 
44 private:
45  QWidget *m_wordTypeWidget;
46  DeclensionWidget *m_declensionWidget;
47  ConjugationWidget *m_conjugationWidget;
48 
49  KEduVocDocument *m_doc;
50  KEduVocExpression *m_entry;
51  int m_translation;
52 };
53 
54 }
55 
56 #endif
QWidget
Editor::InflectionWidget::InflectionWidget
InflectionWidget(QWidget *parent=0)
Definition: inflectionwidget.cpp:28
Editor::InflectionWidget::setDocument
void setDocument(KEduVocDocument *doc)
Definition: inflectionwidget.cpp:64
Editor::InflectionWidget
Definition: inflectionwidget.h:30
QStackedWidget
Editor::InflectionWidget::setTranslation
void setTranslation(KEduVocExpression *entry, int translation)
Definition: inflectionwidget.cpp:71
Editor::DeclensionWidget
Definition: declensionwidget.h:27
QObject::parent
QObject * parent() const
Editor::ConjugationWidget
Definition: conjugationwidget.h:27
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