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

parley

  • sources
  • kde-4.12
  • 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  class DeclensionWidget;
27  class ConjugationWidget;
28 
29 class InflectionWidget : public QStackedWidget
30 {
31  Q_OBJECT
32 
33 public:
34  explicit InflectionWidget(QWidget *parent = 0);
35 
36 public slots:
37  void setDocument(KEduVocDocument* doc);
38  void setTranslation(KEduVocExpression* entry, int translation);
39 
40 private slots:
41  void setWordType();
42 
43 private:
44  QWidget *m_wordTypeWidget;
45  DeclensionWidget *m_declensionWidget;
46  ConjugationWidget *m_conjugationWidget;
47 
48  KEduVocDocument *m_doc;
49  KEduVocExpression *m_entry;
50  int m_translation;
51 };
52 
53 }
54 
55 #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:29
Editor::InflectionWidget::setTranslation
void setTranslation(KEduVocExpression *entry, int translation)
Definition: inflectionwidget.cpp:71
Editor::DeclensionWidget
Definition: declensionwidget.h:26
QStackedWidget
Editor::ConjugationWidget
Definition: conjugationwidget.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:05 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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